CVE-2026-23225
published high CVSS 3.1 · 7.8sched/mmcid: Don't assume CID is CPU owned on mode switch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux007d84287c7466ca68a5809b616338214dc5b77b to < 81f29975631db8a78651b3140ecd0f88ffafc476 · 007d84287c7466ca68a5809b616338214dc5b77b to < 1e83ccd5921a610ef409a7d4e56db27822b4ea39 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.1 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.19.8-1.1 | OPENSUSE-SU-2026:10387-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't assume CID is CPU owned on mode switch Shinichiro reported a KASAN UAF, which is actually an out of bounds access in the MMCID management code. CPU0 CPU1 T1 runs in userspace T0: fork(T4) -> Switch to per CPU CID mode fixup() set MM_CID_TRANSIT on T1/CPU1 T4 exit() T3 exit() T2 exit() T1 exit() switch to per task mode ---> Out of bounds access. As T1 has not scheduled after T0 set the TRANSIT bit, it exits with the TRANSIT bit set. sched_mm_cid_remove_user() clears the TRANSIT bit in the task and drops the CID, but it does not touch the per CPU storage. That's functionally correct because a CID is only owned by the CPU when the ONCPU bit is set, which is mutually exclusive with the TRANSIT flag. Now sched_mm_cid_exit() assumes that the CID is CPU owned because the prior mode was per CPU. It invokes mm_drop_cid_on_cpu() which clears the not set ONCPU bit and then invokes clear_bit() with an insanely large bit number because TRANSIT is set (bit 29). Prevent that by actually validating that the CID is CPU owned in mm_drop_cid_on_cpu().
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 vulnerability is triggered through fork() and exit() syscalls, requiring local access to the system. There is no network or adjacent vector to reach this code path. AC:L - The attacker controls both sides of the race - they create and exit threads in their own process. By spawning multiple threads and controlling fork/exit timing, the race condition between mode transition and exit with the TRANSIT bit set is reliably triggerable. PR:L - Any unprivileged local user can trigger this by creating a multi-threaded process and having threads fork and exit in specific patterns. No special privileges or capabilities are required. UI:N - No user interaction is needed. The attacker can trigger the vulnerability entirely through their own process's fork/exit operations. S:U - The vulnerability causes kernel memory corruption within the same security scope. There is no evidence of crossing a security boundary such as VM escape or sandbox escape. C:H - The out-of-bounds write (clear_bit at ~64MB offset past the cidmask bitmap) corrupts kernel heap memory. Such kernel memory corruption can be leveraged to create read primitives through corrupted kernel data structures. I:H - The bug performs an out-of-bounds clear_bit() at a massive offset (~64MB) into kernel memory, directly corrupting kernel data structures. This arbitrary kernel memory write can be leveraged for control flow hijacking. A:H - The out-of-bounds memory access was detected by KASAN as a UAF/OOB, causing a kernel crash. Even without KASAN, writing to arbitrary kernel memory at such a large offset will likely cause a kernel panic or oops.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 007d84287c7466ca68a5809b616338214dc5b77b to < 81f29975631db8a78651b3140ecd0f88ffafc476 (affected · git)007d84287c7466ca68a5809b616338214dc5b77b to < 1e83ccd5921a610ef409a7d4e56db27822b4ea39 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.1 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
sched/mmcid: Don't assume CID is CPU owned on mode switch
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 72151155e0a44b9162ab301741b899d3ae66543e41611e0c3bc89553db54fa1c
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record