freenode

← CVE tracker

CVE-2026-99657

mm/mmu_notifier: set ->mm only after mmgrab()

Severity
high CVSS 7.8 (v3.1)
Affects
Linux
Published
20 November 2026 by Linux
First seen on our lists
20 November 2026
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 ]

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists