What’s Vulnerable › Vulnerabilities

CVE-2022-0185: Linux Kernel Heap-Based Buffer Overflow Vulnerability

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.93, 5.15.16, 5.16.2, 5.4.173. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-0185 or the next vulnerability affects your stack