7.8
HIGH CVSS 3.1
CVE-2026-72181
mips: sched: Fix CPUMASK_OFFSTACK memory corruption
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.

INFO

Published Date :

Aug. 15, 2026, 6:21 a.m.

Last Modified :

Aug. 17, 2026, 6:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-72181 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Fix memory corruption by allocating mask first and using cpumask_size for correct data copying.
  • Allocate new_mask before copying data.
  • Use cpumask_size() to manage user mask size.
  • Copy data directly into the allocated buffer.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-72181 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-72181 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-72181 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-72181 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'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.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-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['arch/mips/kernel/mips-mt-fpaff.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'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.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'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 15, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'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.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-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['arch/mips/kernel/mips-mt-fpaff.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/15ba8053fe4162c933855f1676fb321cdb6251c7
    Added Reference https://git.kernel.org/stable/c/1caee6e084a96ada94658f261ced377d85af3f03
    Added Reference https://git.kernel.org/stable/c/3446ffb5d03c36f9ce88ede7ca5be319a2968d96
    Added Reference https://git.kernel.org/stable/c/87a56c1e8e36d06ebe8640432f911538ded7827d
    Added Reference https://git.kernel.org/stable/c/98e37db4a34d3af3fb2f4648295c25b5e40b20e3
    Added Reference https://git.kernel.org/stable/c/a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c
    Added Reference https://git.kernel.org/stable/c/d20ee42f8226607b5693b2bc2f115ca2d270221a
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.