Skip to content

Known exploited

Is your fleet exposed to CVE-2022-0185?

Linux Kernel Heap-Based Buffer Overflow Vulnerability. CVE-2022-0185 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 12 Linux releases that SysWard tracks. A host is exposed while it has a build older than the fixed version for its release.

Added to CISA's catalog
August 21, 2024
Due date for US federal agencies
September 11, 2024
Used in ransomware
Not known
Affected software
Linux Kernel

What it is

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.

The kernel-rt packages provide the Real Time Linux Kernel, which enables fine-tuning for systems with extremely high determinism requirements. Security Fix(es): * kernel: xfs: raw block device data leak in XFS_IOC_ALLOCSP IOCTL (CVE-2021-4155) * kernel: fs_context: heap overflow in legacy parameter handling (CVE-2022-0185) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the...

From a distribution's security advisory

CISA's required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

Affected Linux releases

Pick your release for the full list of affected packages and the commands to check and update a host.

ReleaseAffected packagesFixed in
Ubuntu 20.04 LTS Linux kernel (linux), Linux kernel (linux-aws), Linux kernel (linux-aws-5.11) and 22 more Depends on the package
Debian 11 linux 5.10.92-1
Debian 12 linux 5.15.15-1
Debian 13 linux 5.15.15-1
RHEL 8 bpftool, kernel, kernel-abi-stablelists and 35 more Depends on the package
Rocky Linux 8 bpftool, kernel, kernel-abi-stablelists and 37 more Depends on the package
AlmaLinux 8 bpftool, kernel, kernel-abi-stablelists and 20 more 4.18.0-348.12.2.el8_5
Oracle Linux 8 bpftool, kernel, kernel-abi-stablelists and 27 more Depends on the package
Amazon Linux 2 bpftool, kernel, kernel-devel and 6 more Depends on the package
Amazon Linux 2023 bpftool, kernel, kernel-devel and 9 more Depends on the package
SLES 15 SP6 kernel-64kb, kernel-64kb-devel, kernel-azure and 14 more Depends on the package
SLES 15 SP7 kernel-64kb, kernel-default, kernel-obs-build and 3 more Depends on the package

Releases not listed either are not affected, are past their vendor's support, or are not ones SysWard has security data for.

Why the version number alone can mislead

Long-lived distributions fix a vulnerability in the version they already ship and raise only their own build number. Comparing your package's upstream version with the release where the project fixed the bug gives the wrong answer in both directions. Compare against the fixed build for your release, which is what the release pages list.

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup