# CVE-2026-72181: mips: sched: Fix CPUMASK\_OFFSTACK memory corruption

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T05:53:44.453Z
- **Modified:** 2026-08-19T17:21:00.547Z

## Who should check

- Anyone running Linux \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 2f7730c03a9deea3ba7a1c980070d363b4ea2046; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< d20ee42f8226607b5693b2bc2f115ca2d270221a; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 15ba8053fe4162c933855f1676fb321cdb6251c7; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 3446ffb5d03c36f9ce88ede7ca5be319a2968d96; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 87a56c1e8e36d06ebe8640432f911538ded7827d; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 1caee6e084a96ada94658f261ced377d85af3f03; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 98e37db4a34d3af3fb2f4648295c25b5e40b20e3
- Anyone running Linux 2.6.23

## Description

In the Linux kernel, the following vulnerability has been resolved:

mips: sched: Fix CPUMASK\_OFFSTACK memory corruption

This patch addresses a critical memory management flaw. When
CONFIG\_CPUMASK\_OFFSTACK is enabled, cpumask\_var\_t is a pointer.
Consequently, sizeof(new\_mask) evaluates to the pointer size, causing
copy\_from\_user() to clobber the mask pointer. Furthermore, the old
logic performed copy\_from\_user() before allocating the mask.

Fix this by allocating new\_mask first. To handle variable-sized user
masks correctly, use cpumask\_size() to truncate overly large user masks
or pad undersized masks with zeros before copying the data directly into
the allocated buffer.

## Affected and fixed versions

- Linux: \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 2f7730c03a9deea3ba7a1c980070d363b4ea2046; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< d20ee42f8226607b5693b2bc2f115ca2d270221a; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 15ba8053fe4162c933855f1676fb321cdb6251c7; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 3446ffb5d03c36f9ce88ede7ca5be319a2968d96; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 87a56c1e8e36d06ebe8640432f911538ded7827d; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 1caee6e084a96ada94658f261ced377d85af3f03; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 98e37db4a34d3af3fb2f4648295c25b5e40b20e3 (cvelist)
- Linux: 2.6.23 (cvelist)

## Mitigation

- Upgrade Linux to 98e37db4a34d3af3fb2f4648295c25b5e40b20e3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-72181.md
Affected: Linux >= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, < 2f7730c03a9deea3ba7a1c980070d363b4ea2046; >= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, < d20ee42f8226607b5693b2bc2f115ca2d270221a; >= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, < 15ba8053fe4162c933855f1676fb321cdb6251c7; >= 295cbf6d63165fe4253cf1d…
Fixed in: Linux 2f7730c03a9deea3ba7a1c980070d363b4ea2046, Linux 15ba8053fe4162c933855f1676fb321cdb6251c7, Linux 3446ffb5d03c36f9ce88ede7ca5be319a2968d96, Linux 87a56c1e8e36d06ebe8640432f911538ded7827d, Linux 1caee6e084a96ada94658f261ced377d85af3f03, Linux 98e37db4a34d3af3fb2f4648295c25b5e40b20e3

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.
```

## FAQ

### Is CVE-2026-72181 being exploited?

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

### How serious is CVE-2026-72181?

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

### Which versions are affected by CVE-2026-72181?

Linux \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 2f7730c03a9deea3ba7a1c980070d363b4ea2046; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< d20ee42f8226607b5693b2bc2f115ca2d270221a; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 15ba8053fe4162c933855f1676fb321cdb6251c7; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 3446ffb5d03c36f9ce88ede7ca5be319a2968d96; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 87a56c1e8e36d06ebe8640432f911538ded7827d; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 1caee6e084a96ada94658f261ced377d85af3f03; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c; \>= 295cbf6d63165fe4253cf1d9ceadcda47a318b48, \< 98e37db4a34d3af3fb2f4648295c25b5e40b20e3; Linux 2.6.23.

### Is there a fix for CVE-2026-72181?

Yes. Fixed in Linux 2f7730c03a9deea3ba7a1c980070d363b4ea2046, Linux 15ba8053fe4162c933855f1676fb321cdb6251c7, Linux 3446ffb5d03c36f9ce88ede7ca5be319a2968d96, Linux 87a56c1e8e36d06ebe8640432f911538ded7827d, Linux 1caee6e084a96ada94658f261ced377d85af3f03, Linux 98e37db4a34d3af3fb2f4648295c25b5e40b20e3. Upgrade Linux to 98e37db4a34d3af3fb2f4648295c25b5e40b20e3 or later.

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

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.

## References

- other: <https://git.kernel.org/stable/c/2f7730c03a9deea3ba7a1c980070d363b4ea2046>
- other: <https://git.kernel.org/stable/c/d20ee42f8226607b5693b2bc2f115ca2d270221a>
- other: <https://git.kernel.org/stable/c/15ba8053fe4162c933855f1676fb321cdb6251c7>
- other: <https://git.kernel.org/stable/c/3446ffb5d03c36f9ce88ede7ca5be319a2968d96>
- other: <https://git.kernel.org/stable/c/87a56c1e8e36d06ebe8640432f911538ded7827d>
- other: <https://git.kernel.org/stable/c/1caee6e084a96ada94658f261ced377d85af3f03>
- other: <https://git.kernel.org/stable/c/a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c>
- other: <https://git.kernel.org/stable/c/98e37db4a34d3af3fb2f4648295c25b5e40b20e3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72181>

HTML: <https://flawdb.com/CVE-2026-72181> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72181>
