Integer overflowin Linux Kernel.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 21 Aug 2024.
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.
CISA: Linux kernel contains a heap-based buffer overflow vulnerability in the legacy_parse_param function in the Filesystem Context functionality. This allows an attacker to open a filesystem that does not support the Filesystem Context API and ultimately escalate privileges.
- CISA requires US federal agencies to fix it by 11 Sep 2024.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 11 Jan 2022CVE ID reserved by redhat.
- 19 Jan 2022First public proof of concept on GitHub.
- 11 Feb 2022Published in the CVE List.
- 21 Aug 2024Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
10 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Kernel vulnerabilities
Same weakness: Integer overflow
- git.kernel.org x_refsource_MISC
- github.com x_refsource_MISC
- www.openwall.com x_refsource_MISC
- www.willsroot.io x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
- www.cisa.gov government-resource
Patchminder. CVE-2022-0185: Integer overflow in Linux Kernel. https://patchminder.com/cve/cve-2022-0185/ (accessed 5 December 2026).