CVE-2022-0185: Linux Kernel Heap-Based Buffer Overflow Vulnerability
Vulnerability summary
CVE-2022-0185 is a high (CVSS 8.4) Integer Overflow or Wraparound vulnerability in Linux Kernel. It is known to be exploited: CISA lists it, first on 21-08-2024. EPSS estimates a 25.15% chance of exploitation in the next 30 days, higher than 97.9% of scored vulnerabilities. 2 public exploits are recorded.
Listed as exploited by CISA (21-08-2024)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 26 · Related 18Timeline
- 11-02-2022PublishedVulnerability first disclosed.
- 21-08-2024Added to CISA KEVExploitedLinux Kernel Heap-Based Buffer Overflow Vulnerability
- 11-09-2024CISA remediation dueDeadline passedApply updates per vendor instructions or discontinue use of the product if updates are unavailable.
- 21-10-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
25.15%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
No change 0.00 pp
From 25.15% on 04-10-2026
Known exploited
Compare KEV catalogs- Added
- 21-08-2024
- Federal due date
- 11-09-2024
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA required action
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable. nvd.nist.gov/vuln/detail/CVE-2022-0185
Public exploits
2 foundCve 2022 0185
Maturity: poc
Exploit Reference (willsroot.io)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-191Integer Underflow (Wrap or Wraparound)The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu62 products
- linux< 5.4.0-96.109
- linux-aws< 5.4.0-1063.66
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11< 5.11.0-1027.30~20.04.1
- linux-aws-5.13< 5.13.0-1011.12~20.04.1
Suse5 products
- kernel-livepatch-SLE15-SP2_Update_21&distro=SUSE Linux Enterprise Live Patching 15 SP2< 3-2.2
- kernel-livepatch-SLE15-SP2_Update_22&distro=SUSE Linux Enterprise Live Patching 15 SP2< 2-2.2
- kernel-livepatch-SLE15-SP3_Update_10&distro=SUSE Linux Enterprise Live Patching 15 SP3< 2-150300.2.2
- kernel-livepatch-SLE15-SP3_Update_11&distro=SUSE Linux Enterprise Live Patching 15 SP3< 2-150300.2.2
- kernel-livepatch-SLE15-SP3_Update_9&distro=SUSE Linux Enterprise Live Patching 15 SP3< 3-150300.2.2
Mageia4 products
- kernel< 5.15.16-1.mga8
- kernel-linus< 5.15.16-1.mga8
- kmod-virtualbox< 6.1.30-1.14.mga8
- kmod-xtables-addons< 3.18-1.48.mga8
Debian1 product
- linux< 5.15.15-1
Linux1 product
- linux_kernel≥ 5.1, < 5.4.173 | ≥ 5.5, < 5.10.93 | ≥ 5.11, < 5.15.16 | ≥ 5.16, < 5.16.2
Opensuse1 product
- kernel-source&distro=openSUSE Tumbleweed< 5.16.2-1.1
7 vendors · 82 products
References
24 links- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2X Refsource MISCMailing ListPatch
- www.openwall.com/lists/oss-security/2022/01/18/7X Refsource MISCREPORTMailing ListPatchThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185Government ResourceUS Government Resource
Show all 24 references
- git.kernel.org/pub/…REPORT