CVE-2023-54189
pstore/ram: Add check for kstrdup
Check your servers for CVE-2023-54189
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-2023-54189 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:
pstore/ram: Add check for kstrdup
Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c617a3b777b92a0e80ceff2dffaae9350d4c3850, before 8430a8e8e85420d4cb51dcb08b0278ab194ea82f affected from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, before a14cb307267ba7a1715403e071bdc4deda77eef5 affected from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, before 38a9d7dac3ad25323145b4aaea3b5f434f50011d affected from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, before f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d affected from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, before 2a764a2facd9dd88a69777200f65dfd0182765dc affected from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, before 065c81ae5817b245bb9feb6d54e027702740b49a affected from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, before d97038d5ec2062733c1e016caf9baaf68cf64ea1 affected from 5.4.12, before 5.4.251
Other versions: unaffected
|
| Linux |
affected 5.5 unaffected before 5.5 unaffected from 5.4.251 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.39 up to and including 6.1.* unaffected from 6.3.13 up to and including 6.3.* unaffected from 6.4.4 up to and including 6.4.* unaffected 6.5 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-2023-54189 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54189
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-2023-54189
trivy image --scanners vuln IMAGE | grep CVE-2023-54189
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/8430a8e8e85420d4cb51dcb08b0278ab194ea82f git.kernel.org
- https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5 git.kernel.org
- https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d git.kernel.org
- https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d git.kernel.org
- https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc git.kernel.org
- https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a git.kernel.org
- https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1 git.kernel.org
Source: the record CVE-2023-54189 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