CVE-2026-99657 mm/mmu_notifier: set ->mm only after mmgrab()
설명
In the Linux kernel, the following vulnerability has been resolved: mm/mmu_notifier: set ->mm only after mmgrab() Radeon uses a non-NULL notifier->mm to decide whether to call mmu_interval_notifier_remove() when freeing a buffer object. __mmu_interval_notifier_insert() sets ->mm before validating the range, so a wrapping userptr range can leave ->mm set after insertion fails. Cleanup then tries to remove an unregistered notifier for which no mm reference was acquired. Set ->mm only after mmgrab(), once insertion can no longer fail. While we could fix radeon's code instead, setting ->mm on success only makes the code more robust. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description ]
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.5
해결 버전
- 5.5 미만
- 5.10.275 이상
- 5.15.226 이상
- 6.1.193 이상
- 6.6.163 이상
- 6.12.118 이상
- 6.18.64 이상
- 7.3.5 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/0d9450d006506d2af7016afd435b9c1a24985d02 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/1dab01f19b76a8e354c2c06800882027ffa6f7c3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/3df451b65b6bc342d9291b1132baf4a4dd3a7b63 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/61bc907ff3fb703484239e963198a66988351877 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/87e71f7808952b09f0b85e72d58f6dc7fac3efb7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b6b43bf9d25a459e3ec9993f05c7c9b1796622db (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fe3b7bf598ba708431d531cfbb1035b8a463eed9 (새 창)