Revert "drm/amdgpu: fix aperture mapping leak"
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 496846a9411136eb9e86ad4f4e62d751bd1e1db5, Kernel a2e326c52c4bcecc033cd3ca2733fdbe30fbf55d, Kernel 7380f1bfe9d7ed3a4ca9d99a5c4df840fff9af2a and 7 more.
In the Linux kernel, the following vulnerability has been resolved: Revert "drm/amdgpu: fix aperture mapping leak" devres teardown is LIFO. The aperture devres node was registered after the DRM device node, so devres_release_all() unmaps the aperture before the DRM device release callback fires amdgpu_device_fini_sw(). IP sw_fini callbacks (e.g. vcn_v4_0_sw_fini) write to fw_shared through a pointer derived from aper_base_kaddr, causing a kernel page fault on probe failure / rollback: BUG: unable to handle page fault ... PMD 0 RIP: vcn_v4_0_sw_fini+0x7b/0x170 [amdgpu] Call Trace: amdgpu_device_fini_sw amdgpu_driver_release_kms devm_drm_dev_init_release devres_release_all This reverts commit d871e99879cb5fd1fa798b006b4888887e63a17a. (cherry picked from commit 336e0cd576817ac64a4b394ca2b3680029f3e37f)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f5988b5c300a32ff751724ffd33d5a8d5873e4a7 <496846a9411136eb9e86ad4f4e62d751bd1e1db5, >=6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa <a2e326c52c4bcecc033cd3ca2733fdbe30fbf55d, >=67bc3647e418e23dc0d17604bdba634a73de809f <7380f1bfe9d7ed3a4ca9d99a5c4df840fff9af2a, >=7.1.6 <7.1.9, >=a343d028ad6c174da8dc6af560c51e6d140a6727 <96d26143882f9cb47dcc1f3dd4e26d047e53ab9b, >=ea772a440d56b285f4d491affac50ecd41f6b402 <b96c529cd2551b78316a4afa3237b2ed96ba03c8, =8cf4724ea4f23c438af87a6cd0582a3372d30da9, >=6.1.191 <6.2, >=6.12.101 <6.12.104, >=6.18.42 <6.18.45, >=6.6.148 <6.6.152 | 496846a9411136eb9e86ad4f4e62d751bd1e1db5, a2e326c52c4bcecc033cd3ca2733fdbe30fbf55d, 7380f1bfe9d7ed3a4ca9d99a5c4df840fff9af2a, 7.1.9, 96d26143882f9cb47dcc1f3dd4e26d047e53ab9b, b96c529cd2551b78316a4afa3237b2ed96ba03c8, 6.2, 6.12.104, 6.18.45, 6.6.152 |
| linux-kernel: Kernel | >=6.12.101 <6.12.104, >=6.18.42 <6.18.45, >=6.6.148 <6.6.152, >=7.1.6 <7.1.9, >=6.1.191 <6.2 | 6.12.104, 6.18.45, 6.6.152, 7.1.9, 6.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket