mm/mmu_notifier: set ->mm only after mmgrab() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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 ]
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-130950
- GCVE · GCVE-0-2026-99657
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < 61bc907ff3fb703484239e963198a66988351877 affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < 1dab01f19b76a8e354c2c06800882027ffa6f7c3 affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < b6b43bf9d25a459e3ec9993f05c7c9b1796622db affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < 87e71f7808952b09f0b85e72d58f6dc7fac3efb7 affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < fe3b7bf598ba708431d531cfbb1035b8a463eed9 affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < 3df451b65b6bc342d9291b1132baf4a4dd3a7b63 affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < 0d9450d006506d2af7016afd435b9c1a24985d02 affected : ≥ 3506ff69c3ec725b9c3e7f074fd2d265922f139a < 5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94 Other versions : unaffected |
| Linux · Linux | affected : 5.5 unaffected : ≥ 0 < 5.5 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.5 ≤ 7.3.* unaffected : ≥ 7.4-rc2 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |