Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-63799

HIGH 7.8EPSS 3%

sched/mmcid: Fix OOB clear_bit when CID is MM_CID_UNSET in fixup path

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < 8d32856fb72ba976d9c87ba405fd17e80419934c; >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < de3ab9bd3133899efb92e4cd05ba4203e58fc0a3
  • Anyone running Linux 6.19

Vulnerability facts

Affected
Linux >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < 8d32856fb72ba976d9c87ba405fd17e80419934c; >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < de3ab9bd3133899efb92e4cd05ba4203e58fc0a3; Linux 6.19
Fixed in
Linux 8d32856fb72ba976d9c87ba405fd17e80419934c
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
CWE
CWE-125
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Fix OOB clear_bit when CID is MM_CID_UNSET in fixup path In mm_cid_fixup_cpus_to_tasks(), when rq->curr has the target mm and mm_cid.active is set, the CID is checked with cid_in_transit() before setting the transition bit. In per-CPU mode a newly forked or exec'd task can be running with mm_cid.cid == MM_CID_UNSET because CIDs are assigned lazily on schedule-in. With cid_in_transit() the guard passes for MM_CID_UNSET (no transit bit), converts it to MM_CID_UNSET | MM_CID_TRANSIT and stores it back; later mm_cid_schedout() feeds this to clear_bit() with MM_CID_UNSET as the bit number, triggering an out-of-bounds write. Symptoms: this is genuine memory corruption, but a bounded out-of-bounds write, not an arbitrary one. MM_CID_UNSET is the fixed sentinel BIT(31), so once the bad value reaches mm_cid_schedout() the cid_from_transit_cid() strip leaves MM_CID_UNSET, which fails the "cid < max_cids" convergence test and falls into mm_drop_cid() -> clear_bit(MM_CID_UNSET, mm_cidmask(mm)). The cid bitmap is embedded in the mm_struct slab object (after cpu_bitmap and mm_cpus_allowed) and is only num_possible_cpus() bits wide, so clearing bit 31 is a deterministic OOB bit-clear at a fixed offset of 2^31 / 8 == 256 MiB past the bitmap base. The address is not attacker-influenced (fixed sentinel -> fixed offset) and the op only clears a single bit; what sits 256 MiB further along the direct map is whatever kernel object happens to live there, so this corrupts one bit of unpredictable kernel memory -- it is not an arbitrary-address or arbitrary-value write. It triggers only in per-CPU CID mode, when a CPU is running an active task of the target mm whose cid is still MM_CID_UNSET -- the fork()/execve() window before that task's next schedule-in assigns it a real CID -- and a per-CPU -> per-task fixup walks over it (the mode fallback driven by a thread exit, sched_mm_cid_exit(), or by the deferred max_cids recompute in mm_cid_work_fn()). In practice syzkaller surfaced it as a KASAN use-after-free reported in __schedule -> mm_cid_switch_to, where the offending clear_bit() is inlined via mm_cid_schedout() -> mm_drop_cid(). Guard the transition-bit assignment against MM_CID_UNSET, in addition to the existing cid_in_transit() check, so the bit is only set on a genuine task-owned CID. A CPU-owned (MM_CID_ONCPU) CID of a running active task is handled by the cid_on_cpu(pcp->cid) branch above and never reaches this path, so excluding MM_CID_UNSET (and the already-transitioning case) is sufficient.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= fbd0e71dc370af73f6b316e4de9eed273dd90340, < 8d32856fb72ba976d9c87ba405fd17e80419934c; >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < de3ab9bd3133899efb92e4cd05ba4203e58fc0a3—cvelist
Linux6.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-63799. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63799.md
Affected: Linux >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < 8d32856fb72ba976d9c87ba405fd17e80419934c; >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < de3ab9bd3133899efb92e4cd05ba4203e58fc0a3; Linux 6.19
Fixed in: Linux 8d32856fb72ba976d9c87ba405fd17e80419934c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-63799 being exploited?

There is no confirmed exploitation: CVE-2026-63799 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-63799?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-63799?

Linux >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < 8d32856fb72ba976d9c87ba405fd17e80419934c; >= fbd0e71dc370af73f6b316e4de9eed273dd90340, < de3ab9bd3133899efb92e4cd05ba4203e58fc0a3; Linux 6.19.

Is there a fix for CVE-2026-63799?

Yes. Fixed in Linux 8d32856fb72ba976d9c87ba405fd17e80419934c. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-63799?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors