CVE-2026-72181
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.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Base score: 7.8
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.18%
- Percentile among all scored CVEs: 6
- Score date: 10/5/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
🎯 ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1068Exploitation for Privilege Escalationprivilege escalation85 % - Primary impact
T1565.001Stored Data Manipulationimpact75 % - Secondary impact
T1499.004Application or System Exploitationimpact60 %
Vulnerabilidad local (AV:L, PR:L) sin interacción del usuario que corrompe memoria en el kernel Linux mediante copy_from_user(), permitiendo escalada de privilegios y manipulación de datos del sistema.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
🛡️ ATT&CK mitigations that cover these techniques
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
References
- https://git.kernel.org/stable/c/15ba8053fe4162c933855f1676fb321cdb6251c7
- https://git.kernel.org/stable/c/1caee6e084a96ada94658f261ced377d85af3f03
- https://git.kernel.org/stable/c/2f7730c03a9deea3ba7a1c980070d363b4ea2046
- https://git.kernel.org/stable/c/3446ffb5d03c36f9ce88ede7ca5be319a2968d96
- https://git.kernel.org/stable/c/87a56c1e8e36d06ebe8640432f911538ded7827d
- https://git.kernel.org/stable/c/98e37db4a34d3af3fb2f4648295c25b5e40b20e3
- https://git.kernel.org/stable/c/a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c
- https://git.kernel.org/stable/c/d20ee42f8226607b5693b2bc2f115ca2d270221a
Raw JSON (NVD)
Show
{
"id": "CVE-2026-72181",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Secondary",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "2f7730c03a9deea3ba7a1c980070d363b4ea2046",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "d20ee42f8226607b5693b2bc2f115ca2d270221a",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "15ba8053fe4162c933855f1676fb321cdb6251c7",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "3446ffb5d03c36f9ce88ede7ca5be319a2968d96",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "87a56c1e8e36d06ebe8640432f911538ded7827d",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "1caee6e084a96ada94658f261ced377d85af3f03",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c",
"versionType": "git"
},
{
"status": "affected",
"version": "295cbf6d63165fe4253cf1d9ceadcda47a318b48",
"lessThan": "98e37db4a34d3af3fb2f4648295c25b5e40b20e3",
"versionType": "git"
}
],
"programFiles": [
"arch/mips/kernel/mips-mt-fpaff.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.23"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.23",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.265",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"arch/mips/kernel/mips-mt-fpaff.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-08-15T06:21:36.393",
"references": [
{
"url": "https://git.kernel.org/stable/c/15ba8053fe4162c933855f1676fb321cdb6251c7",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/1caee6e084a96ada94658f261ced377d85af3f03",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2f7730c03a9deea3ba7a1c980070d363b4ea2046",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3446ffb5d03c36f9ce88ede7ca5be319a2968d96",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/87a56c1e8e36d06ebe8640432f911538ded7827d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/98e37db4a34d3af3fb2f4648295c25b5e40b20e3",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d20ee42f8226607b5693b2bc2f115ca2d270221a",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Received",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmips: sched: Fix CPUMASK_OFFSTACK memory corruption\n\nThis patch addresses a critical memory management flaw. When\nCONFIG_CPUMASK_OFFSTACK is enabled, cpumask_var_t is a pointer.\nConsequently, sizeof(new_mask) evaluates to the pointer size, causing\ncopy_from_user() to clobber the mask pointer. Furthermore, the old\nlogic performed copy_from_user() before allocating the mask.\n\nFix this by allocating new_mask first. To handle variable-sized user\nmasks correctly, use cpumask_size() to truncate overly large user masks\nor pad undersized masks with zeros before copying the data directly into\nthe allocated buffer."
}
],
"lastModified": "2026-08-19T17:21:00.547",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}