CVE-2026-99657
published high CVSS 3.1 · 7.8mm/mmu_notifier: set ->mm only after mmgrab()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 61bc907ff3fb703484239e963198a66988351877 · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 1dab01f19b76a8e354c2c06800882027ffa6f7c3 · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < b6b43bf9d25a459e3ec9993f05c7c9b1796622db · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 87e71f7808952b09f0b85e72d58f6dc7fac3efb7 · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < fe3b7bf598ba708431d531cfbb1035b8a463eed9 · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 3df451b65b6bc342d9291b1132baf4a4dd3a7b63 · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 0d9450d006506d2af7016afd435b9c1a24985d02 · 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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 ]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The wrapping range is the addr and size of DRM_IOCTL_RADEON_GEM_USERPTR, passed by radeon_gem_userptr_ioctl into radeon_mn_register then mmu_interval_notifier_insert/__mmu_interval_notifier_insert. Those bytes come from the local ioctl argument, not from a remote protocol or from disk. AC:L - radeon_gem_userptr_ioctl only rejects a non-page-aligned addr|size, so the caller can choose a range whose start+length-1 overflows check_add_overflow. The -EOVERFLOW path always drops the GEM object, and radeon_gem_object_free calls radeon_mn_unregister. The attacker issues that ioctl; no external state is required. PR:L - radeon_ioctls_kms marks RADEON_GEM_USERPTR DRM_AUTH|DRM_RENDER_ALLOW, and drm_ioctl_permit() skips DRM_AUTH for a render client. An unprivileged process that can open the radeon render node reaches radeon_gem_userptr_ioctl without CAP_SYS_ADMIN. UI:N - The attacker opens the radeon render node and calls radeon_gem_userptr_ioctl with the wrapping userptr. No other user has to mount media or act on the range. S:U - The unpaired mmdrop frees the caller's own mm_struct in the host kernel. That is kernel memory corruption in the same security authority as the radeon ioctl, the usual kernel privilege-escalation scope. C:H - On overflow __mmu_interval_notifier_insert set interval_sub->mm and returned before mmgrab, but radeon_mn_unregister still calls mmu_interval_notifier_remove, which mmdrops that mm. __mmdrop then pgd_free's and free_mm's a live mm (mm_init sets mm_count to 1), a page-table use-after-free that can disclose memory. I:H - The same unpaired mmdrop in mmu_interval_notifier_remove frees the active mm and its PGD while other threads of that process still run with CR3 aimed at it. Reclaiming the freed PGD gives a write primitive. A:H - __mmdrop of current->mm, reached from radeon_gem_object_free on the failed userptr ioctl, runs mm_free_pgd and free_mm on the live address space. The ioctl then keeps using that mm and returns to user mode, which oopses the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 61bc907ff3fb703484239e963198a66988351877 (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 1dab01f19b76a8e354c2c06800882027ffa6f7c3 (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < b6b43bf9d25a459e3ec9993f05c7c9b1796622db (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 87e71f7808952b09f0b85e72d58f6dc7fac3efb7 (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < fe3b7bf598ba708431d531cfbb1035b8a463eed9 (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 3df451b65b6bc342d9291b1132baf4a4dd3a7b63 (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 0d9450d006506d2af7016afd435b9c1a24985d02 (affected · git)3506ff69c3ec725b9c3e7f074fd2d265922f139a to < 5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.5 (affected)0 to < 5.5 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0d9450d006506d2af7016afd435b9c1a24985d02
- https://git.kernel.org/stable/c/1dab01f19b76a8e354c2c06800882027ffa6f7c3
- https://git.kernel.org/stable/c/3df451b65b6bc342d9291b1132baf4a4dd3a7b63
- https://git.kernel.org/stable/c/5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94
- https://git.kernel.org/stable/c/61bc907ff3fb703484239e963198a66988351877
- https://git.kernel.org/stable/c/87e71f7808952b09f0b85e72d58f6dc7fac3efb7
- https://git.kernel.org/stable/c/b6b43bf9d25a459e3ec9993f05c7c9b1796622db
- https://git.kernel.org/stable/c/fe3b7bf598ba708431d531cfbb1035b8a463eed9
Provider assertions
1Linux · cna
mm/mmu_notifier: set ->mm only after mmgrab()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed8269d0897eb9c98eafe90768bdf8fe6442ea5771707df29e3cad021aaca04c
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record