# CVE-2026-99657: mm/mmu_notifier: set ->mm only after mmgrab()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2026-11-20T05:50:09.250Z
- Modified: 2026-11-23T08:18:06.713Z
- Assigned by: Linux

## Description

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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before 61bc907ff3fb703484239e963198a66988351877; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before 1dab01f19b76a8e354c2c06800882027ffa6f7c3; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before b6b43bf9d25a459e3ec9993f05c7c9b1796622db; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before 87e71f7808952b09f0b85e72d58f6dc7fac3efb7; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before fe3b7bf598ba708431d531cfbb1035b8a463eed9; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before 3df451b65b6bc342d9291b1132baf4a4dd3a7b63; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before 0d9450d006506d2af7016afd435b9c1a24985d02; from 3506ff69c3ec725b9c3e7f074fd2d265922f139a before 5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94; 5.5 (not affected: before 5.5; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/61bc907ff3fb703484239e963198a66988351877>
- <https://git.kernel.org/stable/c/1dab01f19b76a8e354c2c06800882027ffa6f7c3>
- <https://git.kernel.org/stable/c/b6b43bf9d25a459e3ec9993f05c7c9b1796622db>
- <https://git.kernel.org/stable/c/87e71f7808952b09f0b85e72d58f6dc7fac3efb7>
- <https://git.kernel.org/stable/c/fe3b7bf598ba708431d531cfbb1035b8a463eed9>
- <https://git.kernel.org/stable/c/3df451b65b6bc342d9291b1132baf4a4dd3a7b63>
- <https://git.kernel.org/stable/c/0d9450d006506d2af7016afd435b9c1a24985d02>
- <https://git.kernel.org/stable/c/5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94>

## Sources

- CVE List: [CVE-2026-99657](https://www.cve.org/CVERecord?id=CVE-2026-99657), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99657](https://nvd.nist.gov/vuln/detail/CVE-2026-99657), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99657 · Whole record: https://cve.day/CVE-2026-99657.json · Rebuilt by cve.day 2026-11-25T22:59:52.297Z
