Exploited vulnerabilities · Linux
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
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.
Description in the NVD
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.
Required action according to CISA
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2
- github.com/Crusaders-of-Rust/CVE-2022-0185
- security.netapp.com/advisory/ntap-20220225-0003/
- www.openwall.com/lists/oss-security/2022/01/18/7
- www.willsroot.io/2022/01/cve-2022-0185.html
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185
- nvd.nist.gov/vuln/detail/CVE-2022-0185
More exploited vulnerabilities in Linux products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.