CVE-2022-49180
LSM: general protection fault in legacy_parse_param
Check your servers for CVE-2022-49180
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49180 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
LSM: general protection fault in legacy_parse_param
The usual LSM hook "bail on fail" scheme doesn't work for cases where a security module may return an error code indicating that it does not recognize an input. In this particular case Smack sees a mount option that it recognizes, and returns 0. A call to a BPF hook follows, which returns -ENOPARAM, which confuses the caller because Smack has processed its data.
The SELinux hook incorrectly returns 1 on success. There was a time when this was correct, however the current expectation is that it return 0 on success. This is repaired.
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from da2441fdffbf7602da702aea5bd95ca4dc3d63fc, before ddcdda888e14ca451b3ee83d11b65b2a9c8e783b affected from da2441fdffbf7602da702aea5bd95ca4dc3d63fc, before 2784604c8c6fc523248f8f80a421c313a9d790b7 affected from da2441fdffbf7602da702aea5bd95ca4dc3d63fc, before f3f93a1aaafc3032e0a9655fb43deccfb3e953a3 affected from da2441fdffbf7602da702aea5bd95ca4dc3d63fc, before 00fc07fa0b4a004711b6e1a944f0d2e46f7093b7 affected from da2441fdffbf7602da702aea5bd95ca4dc3d63fc, before cadae7c5e477aaafcba819b8e4a3d1c1a1503b62 affected from da2441fdffbf7602da702aea5bd95ca4dc3d63fc, before ecff30575b5ad0eda149aadad247b7f75411fd47
Other versions: unaffected
|
| Linux |
affected 5.1 unaffected before 5.1 unaffected from 5.4.189 up to and including 5.4.* unaffected from 5.10.110 up to and including 5.10.* unaffected from 5.15.33 up to and including 5.15.* unaffected from 5.16.19 up to and including 5.16.* unaffected from 5.17.2 up to and including 5.17.* unaffected 5.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49180 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49180
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49180
trivy image --scanners vuln IMAGE | grep CVE-2022-49180
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ddcdda888e14ca451b3ee83d11b65b2a9c8e783b git.kernel.org
- https://git.kernel.org/stable/c/2784604c8c6fc523248f8f80a421c313a9d790b7 git.kernel.org
- https://git.kernel.org/stable/c/f3f93a1aaafc3032e0a9655fb43deccfb3e953a3 git.kernel.org
- https://git.kernel.org/stable/c/00fc07fa0b4a004711b6e1a944f0d2e46f7093b7 git.kernel.org
- https://git.kernel.org/stable/c/cadae7c5e477aaafcba819b8e4a3d1c1a1503b62 git.kernel.org
- https://git.kernel.org/stable/c/ecff30575b5ad0eda149aadad247b7f75411fd47 git.kernel.org
Source: the record CVE-2022-49180 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse