CVE-2026-99657

mm/mmu_notifier: set ->mm only after mmgrab()

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3506ff69c3ec725b9c3e7f074fd2d265922f139a to before fe3b7bf598ba708431d531cfbb1035b8a463eed9Affected
  • 3506ff69c3ec725b9c3e7f074fd2d265922f139a to before 3df451b65b6bc342d9291b1132baf4a4dd3a7b63Affected
  • 3506ff69c3ec725b9c3e7f074fd2d265922f139a to before 0d9450d006506d2af7016afd435b9c1a24985d02Affected
  • 3506ff69c3ec725b9c3e7f074fd2d265922f139a to before 5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.