CVE-2024-38554
ax25: Fix reference count leak issue of net_device
Check your servers for CVE-2024-38554
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-2024-38554 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:
ax25: Fix reference count leak issue of net_device
There is a reference count leak issue of the object "net_device" in ax25_dev_device_down(). When the ax25 device is shutting down, the ax25_dev_device_down() drops the reference count of net_device one or zero times depending on if we goto unlock_put or not, which will cause memory leak.
In order to solve the above issue, decrease the reference count of net_device after dev->ax25_ptr is set to null.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, before 3ec437f9bbae68e9b38115c4c91de995f73f6bad affected from d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, before 965d940fb7414b310a22666503d2af69459c981b affected from d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, before 8bad3a20a27be8d935f2aae08d3c6e743754944a affected from d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, before eef95df9b752699bddecefa851f64858247246e9 affected from d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, before 36e56b1b002bb26440403053f19f9e1a8bc075b2 affected ef0a2a0565727a48f2e36a2c461f8b1e3a61922d affected e2b558fe507a1ed4c43db2b0057fc6e41f20a14c affected 418993bbaafb0cd48f904ba68eeda052d624c821 affected 5ea00fc60676c0eebfa8560ec461209d638bca9d affected 9af0fd5c4453a44c692be0cbb3724859b75d739b affected from 4.14.277, before 4.15 affected from 4.19.240, before 4.20 affected from 5.4.190, before 5.5 affected from 5.10.112, before 5.11 affected from 5.15.35, before 5.16
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.8.12 up to and including 6.8.* unaffected from 6.9.3 up to and including 6.9.* unaffected 6.10 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-2024-38554 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38554
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-2024-38554
trivy image --scanners vuln IMAGE | grep CVE-2024-38554
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/3ec437f9bbae68e9b38115c4c91de995f73f6bad git.kernel.org
- https://git.kernel.org/stable/c/965d940fb7414b310a22666503d2af69459c981b git.kernel.org
- https://git.kernel.org/stable/c/8bad3a20a27be8d935f2aae08d3c6e743754944a git.kernel.org
- https://git.kernel.org/stable/c/eef95df9b752699bddecefa851f64858247246e9 git.kernel.org
- https://git.kernel.org/stable/c/36e56b1b002bb26440403053f19f9e1a8bc075b2 git.kernel.org
Source: the record CVE-2024-38554 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse