CVE Catalog

Actively exploited in the wild

Linux Kernel Heap-Based Buffer Overflow Vulnerability

Linux - Kernel · Listed in the CISA KEV since 2024-08-21. This indicates confirmed attacks in production environments.

Required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

CVE-2022-0185

HighCVSS 8.4KEV
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

Risk of local privilege escalation to root, potentially leading to full system compromise.

Recommendation

Update the Linux kernel to a patched version and consider disabling unprivileged user namespaces if not needed.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS