Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 6 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
Revert "drm/amdgpu: fix aperture mapping leak"

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 products

Linux
  • =<*
  • <a2e326c52c4bcecc033cd3ca2733fdbe30fbf55d
  • <6.18.45
  • <6.6.152
  • =<6.18.*
  • <7380f1bfe9d7ed3a4ca9d99a5c4df840fff9af2a
  • <6.12.104
  • =<6.6.*
  • =<6.12.*
  • =<7.1.*
  • <b96c529cd2551b78316a4afa3237b2ed96ba03c8
  • <96d26143882f9cb47dcc1f3dd4e26d047e53ab9b
  • <7.1.9
  • <496846a9411136eb9e86ad4f4e62d751bd1e1db5