CVE-2026-99657

Source
https://cve.org/CVERecord?id=CVE-2026-99657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99657
Published
2026-11-20T05:50:09Z
Modified
2026-11-20T07:01:05Z
Summary
mm/mmu_notifier: set ->mm only after mmgrab()
Details

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 ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99657.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"