Advisories · Linux & SSH
CVE-2022-0185
High
CVSS 7.8
Linux fsconfig heap overflow
Disclosed 2022 · Last reviewed 2 Dec 2026
A local user could overflow a kernel buffer through the filesystem context API.
What happened
fsconfig accepted a size that wrote past the end of a heap buffer.
Affected and patched versions
- Affected
- Linux kernels from 5.1 before the January 2022 fsconfig fix.
- Patched
- The distro kernel that lists CVE-2022-0185.
How to check your server
Check
uname -r
How to fix and harden
- Install the distribution kernel update and reboot.
- Unprivileged user namespaces are the usual way this bug was reached. Do not disable them until you know containers on the host still start.
Fix
uname -r
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON