CVE-2022-50519
nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
Check your servers for CVE-2022-50519
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-50519 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:
nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
If creation or finalization of a checkpoint fails due to anomalies in the checkpoint metadata on disk, a kernel warning is generated.
This patch replaces the WARN_ONs by nilfs_error, so that a kernel, booted with panic_on_warn, does not panic. A nilfs_error is appropriate here to handle the abnormal filesystem condition.
This also replaces the detected error codes with an I/O error so that neither of the internal error codes is returned to callers.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.75% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before b63026b5e13040cd5afa11769dd0d9e1504b031a affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before ae16440c44ae2acda6d72aff9d74eccf8967dae5 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before bf98be80cbe3b4e6c86c36ed00457389aca3eb15 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 259c0f68168ac6a598db3486597b10e74d625db0 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before c0c3d3d3ea41cb5228ee90568bb953f9a56c3227 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 090fcfb6edeb9367a915b2749e2bd1f8b48d8898 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 5c0776b5bc31de7cd28afb558fae37a20f33602e affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 723ac751208f6d6540191689cfbf6c77135a7a1b
Other versions: unaffected
|
| Linux |
affected 2.6.30 unaffected before 2.6.30 unaffected from 4.9.331 up to and including 4.9.* unaffected from 4.14.296 up to and including 4.14.* unaffected from 4.19.262 up to and including 4.19.* unaffected from 5.4.218 up to and including 5.4.* unaffected from 5.10.148 up to and including 5.10.* unaffected from 5.15.74 up to and including 5.15.* unaffected from 5.19.16 up to and including 5.19.* unaffected from 6.0.2 up to and including 6.0.* unaffected 6.1 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-50519 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50519
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-50519
trivy image --scanners vuln IMAGE | grep CVE-2022-50519
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/b63026b5e13040cd5afa11769dd0d9e1504b031a git.kernel.org
- https://git.kernel.org/stable/c/ae16440c44ae2acda6d72aff9d74eccf8967dae5 git.kernel.org
- https://git.kernel.org/stable/c/bf98be80cbe3b4e6c86c36ed00457389aca3eb15 git.kernel.org
- https://git.kernel.org/stable/c/259c0f68168ac6a598db3486597b10e74d625db0 git.kernel.org
- https://git.kernel.org/stable/c/8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412 git.kernel.org
- https://git.kernel.org/stable/c/c0c3d3d3ea41cb5228ee90568bb953f9a56c3227 git.kernel.org
- https://git.kernel.org/stable/c/090fcfb6edeb9367a915b2749e2bd1f8b48d8898 git.kernel.org
- https://git.kernel.org/stable/c/5c0776b5bc31de7cd28afb558fae37a20f33602e git.kernel.org
- https://git.kernel.org/stable/c/723ac751208f6d6540191689cfbf6c77135a7a1b git.kernel.org
Source: the record CVE-2022-50519 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