drm/amdgpu: fix AMDGPU_INFO_READ_MMR_REG
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a31c3feb54b15a90232e497ad0e27e8a82052d8d, Kernel 6.12.91, Kernel 6.18.33 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix AMDGPU_INFO_READ_MMR_REG There were multiple issues in that code. First of all the order between the reset semaphore and the mm_lock was wrong (e.g. copy_to_user) was called while holding the lock. Then we allocated memory while holding the reset semaphore which is also a pretty big bug and can deadlock. Then we used down_read_trylock() instead of waiting for the reset to finish. (cherry picked from commit 361b6e6b303d4b691f6c5974d3eaab67ca6dd90e)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9e823f307074c0f82b5f6044943b0086e3079bed <a31c3feb54b15a90232e497ad0e27e8a82052d8d, >=6.11.3 <6.12.91, >=6.13 <6.18.33, >=6.19 <7.0.10, >=6.6.55 <6.6.141, =7.1, >=9e823f307074c0f82b5f6044943b0086e3079bed <0ef196a208385b7d7da79f411c161b04e97283e2, >=9e823f307074c0f82b5f6044943b0086e3079bed <5c29d20470d4566d1b68df57097d642d01f8b427, >=9e823f307074c0f82b5f6044943b0086e3079bed <61957c2e467b39b528a290016367d32a433fa846, >=6.10.14 <6.11, =17a98c942cb106ec08564e8f43b5470a4dd5d3f6, =6.12, =9a98563345697bdb1d3410ff428473b2e781f4db, >=6.11.3 <6.12, >=8361e3f7882876d98ba98cae0d3149450dd80912 <8c4254c8f5836e77ae83e7fc037f02b69f7a0977 | a31c3feb54b15a90232e497ad0e27e8a82052d8d, 6.12.91, 6.18.33, 7.0.10, 6.6.141, 0ef196a208385b7d7da79f411c161b04e97283e2, 5c29d20470d4566d1b68df57097d642d01f8b427, 61957c2e467b39b528a290016367d32a433fa846, 6.11, 6.12, 8c4254c8f5836e77ae83e7fc037f02b69f7a0977 |
| linux-kernel: Kernel | <6.6.141, >=6.12.0 <6.18.33, >=6.13.0 <7.0.10, >=6.7.0 <6.12.91 | 6.6.141, 6.18.33, 7.0.10, 6.12.91 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket