CVE
CVE-2022-0185
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 5.16, < 5.16.2Fixed in 5.16.2
- ≥ 5.11, < 5.15.16Fixed in 5.15.16
- ≥ 5.5, < 5.10.93Fixed in 5.10.93
- ≥ 5.1, < 5.4.173Fixed in 5.4.173
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.