{"id":"CVE-2026-99657","summary":"mm/mmu_notifier: set -\u003emm only after mmgrab()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mmu_notifier: set -\u003emm only after mmgrab()\n\nRadeon uses a non-NULL notifier-\u003emm to decide whether to call\nmmu_interval_notifier_remove() when freeing a buffer object.\n__mmu_interval_notifier_insert() sets -\u003emm before validating the range,\nso a wrapping userptr range can leave -\u003emm set after insertion fails.\nCleanup then tries to remove an unregistered notifier for which no mm\nreference was acquired.\n\nSet -\u003emm only after mmgrab(), once insertion can no longer fail. While\nwe could fix radeon's code instead, setting -\u003emm on success only makes\nthe code more robust.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify description ]","modified":"2026-11-20T07:01:05.388245447Z","published":"2026-11-20T05:50:09.250Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99657.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d9450d006506d2af7016afd435b9c1a24985d02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3df451b65b6bc342d9291b1132baf4a4dd3a7b63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe3b7bf598ba708431d531cfbb1035b8a463eed9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99657.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99657"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3506ff69c3ec725b9c3e7f074fd2d265922f139a"},{"fixed":"fe3b7bf598ba708431d531cfbb1035b8a463eed9"},{"fixed":"3df451b65b6bc342d9291b1132baf4a4dd3a7b63"},{"fixed":"0d9450d006506d2af7016afd435b9c1a24985d02"},{"fixed":"5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99657.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99657.json"}}],"schema_version":"1.9.2"}