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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Ubuntu | — | Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-gke-64k-7.0Upgrade linux-image-generic-64kUpgrade linux-image-gcp-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-nvidia-7.0Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-azure-lts-26.04Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-gke-64kUpgrade linux-image-azureUpgrade linux-image-nvidia-64kUpgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-raspiUpgrade linux-image-oem-7.0Upgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-gke-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1012-awsUpgrade linux-image-oem-26.04Upgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-oracle-7.0Upgrade linux-image-oem-26.04aUpgrade linux-image-nvidia-bosUpgrade linux-image-nvidiaUpgrade linux-image-genericUpgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-ibmUpgrade linux-image-virtualUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-realtimeUpgrade linux-image-gcpUpgrade linux-image-7.0.0-1011-oracle-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-virtual-7.0Upgrade linux-image-generic-7.0Upgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-oem-26.04bUpgrade linux-image-generic-64k-7.0Upgrade linux-image-gkeUpgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-31-genericUpgrade linux-image-7.0.0-1013-oemUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-7.0.0-1011-oracleUpgrade linux-image-oracleUpgrade linux-image-aws-64kUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-realtime-64kUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-gcp-7.0Upgrade linux-image-aws | Sep 14, 2026 | Sep 7, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub