Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: stop restore retries on device unplug amdgpu_amdkfd_restore_userptr_worker() and svm_range_restore_work() reschedule themselves when validation fails with evicted objects pending. After a surprise removal the restore paths fail with -ENODEV permanently, so rescheduling just spins the worker uselessly until cancel_delayed_work_sync() in fini finally stops it - which can take a while, since process teardown itself is delayed by the dead device. Treat -ENODEV as terminal in both workers. (cherry picked from commit 266fab83139600e58db7e900e930c722e619b78c)
Affected products and versions
References
- git.kernel.org/stable/c/4a726bd416ab72095cba8d5fe62d00a61bb7ca51
- git.kernel.org/stable/c/157f4742d4f4d82bc52d70fdd4178bab89c42ff3
- git.kernel.org/stable/c/00f523c1c24e4fcfcfb737d7f403b5abc7b0b668
- git.kernel.org/stable/c/556a0138d66d8fba7e9f3fcec46efd73867bac92
- git.kernel.org/stable/c/af074bdcbb54807612a07b497d99008d2e4745fb
- git.kernel.org/stable/c/03bb7b94d6e408bb52c5c25d4fd7bca2c794be3c
- git.kernel.org/stable/c/3ffe956b39231b3ee079bef4c9984edf9c536ffb
- git.kernel.org/stable/c/3254ed0b15f2fe656c9cb36ccb59b92422440bf8
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.