Revert "drm/amdgpu: fix aperture mapping leak"
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.152, 6.12.104, 6.18.45, 7.1.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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)
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 67bc3647e418e23dc0d17604bdba634a73de809f · fixed in 7380f1bfe9d7ed3a4ca9d99a5c4df840fff9af2a; From a343d028ad6c174da8dc6af560c51e6d140a6727 · fixed in 96d26143882f9cb47dcc1f3dd4e26d047e53ab9b; From 6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa · fixed in a2e326c52c4bcecc033cd3ca2733fdbe30fbf55d; From f5988b5c300a32ff751724ffd33d5a8d5873e4a7 · fixed in 496846a9411136eb9e86ad4f4e62d751bd1e1db5; From ea772a440d56b285f4d491affac50ecd41f6b402 · fixed in b96c529cd2551b78316a4afa3237b2ed96ba03c8
- Linux Linux
From 6.6.148 · fixed in 6.6.152; From 6.12.101 · fixed in 6.12.104; From 6.18.42 · fixed in 6.18.45; From 7.1.6 · fixed in 7.1.9
- KernelLinux
From 6.6.148 · fixed in 6.6.152; From 6.12.101 · fixed in 6.12.104; From 6.18.42 · fixed in 6.18.45; From 7.1.6 · fixed in 7.1.9