PatchaPalooza

CVE-2022-0185: A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.

CVE-2022-0185 is a vulnerability in A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system., rated Important by Microsoft, with a CVSS 3.1 base score of 8.4 (High). An attacker can exploit it by an attacker with local access, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 3.22% probability of exploitation activity in the next 30 days, higher than 89% of all scored vulnerabilities. Microsoft released the fix on 22 February 2022, outside Patch Tuesday. It affects 2 products in 1 product family (Mariner).

Key facts

CVE ID
CVE-2022-0185
Severity
High CVSS 8.4
Microsoft severity
Important
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-190; CWE-191
EPSS
3.22% (percentile 89%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
February 2022 Patch Tuesday
Product families
Mariner

CVSS score and vector

Microsoft scores CVE-2022-0185 at 8.4 (temporal 8.4) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh

Frequently asked questions (Microsoft)

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected products (2)

Mariner

ProductSecurity updateTypeFixed buildRestart
cm1 kernel 5.10.93.1-4 on CBL Mariner 1.0CBL-Mariner ReleasesSecurity Update-No
cbl2 kernel 5.15.26.1-1 on CBL Mariner 2.0CBL-Mariner ReleasesSecurity Update5.15.26.1-1No

Exploitation and detection

Detection and weaponization

Weaponization maturity: Exploit.

Proof-of-concept repositories (11)

NIST NVD data

NVD status
Analyzed
NVD CVSS
8.4 (HIGH)
NVD weakness
CWE-190; CWE-191
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
linux kernelfrom 5.1, before 5.4.173
linux kernelfrom 5.5, before 5.10.93
linux kernelfrom 5.11, before 5.15.16
linux kernelfrom 5.16, before 5.16.2
h410c firmwareall listed versions
h300s firmwareall listed versions
h500s firmwareall listed versions
h700s firmwareall listed versions
h300e firmwareall listed versions
h500e firmwareall listed versions
h700e firmwareall listed versions
h410s firmwareall listed versions

References

Revision history

VersionDateDescription
1.0Information published.

Sources