CVE-2024-38554·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.9.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.9
Until: 6.9.3
Fixed in: 6.9.3
How to fix this CVE
Update your Linux kernel to version 6.9.3 or later to patch a reference count leak in the ax25 networking subsystem that occurs during device shutdown. This memory leak can accumulate over time as ax25 devices are brought down, potentially degrading system stability. Apply the kernel update and reboot your system to activate the fix.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version with `uname -r` — vulnerable versions are 6.9 through 6.9.2
- Step 2: Verify if ax25 (Amateur Radio AX.25) is loaded with `lsmod | grep ax25` — if not present, the attack surface is minimal but the leak still occurs during module operations
- Step 3: Monitor dmesg and syslog for repeated ax25 device down/up cycles with `grep -i ax25 /var/log/syslog` or `journalctl -g ax25` — excessive cycles may indicate the leak being triggered
- Step 4: After applying the update, confirm the new kernel version is running with `uname -r` and verify it reports 6.9.3 or newer
FAQ
What is CVE-2024-38554?
CVE-2024-38554 is a reference count leak in the Linux kernel's ax25 (Amateur Radio) network device driver. When an ax25 device shuts down, the kernel fails to properly release its reference to the underlying network device object, causing memory not to be freed and gradually consuming system memory.
Is CVE-2024-38554 being actively exploited?
No, CVE-2024-38554 is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploit code is available. However, this is a local privilege denial of service vector that requires ax25 module interaction.
What versions of Kernel are affected by CVE-2024-38554?
Linux kernel versions 6.9, 6.9.1, and 6.9.2 are vulnerable. Version 6.9.3 and all subsequent versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-38554?
Run `uname -r` to check your kernel version — if it shows 6.9.0, 6.9.1, or 6.9.2, your system is vulnerable. Additionally, check if ax25 modules are present with `lsmod | grep ax25`.
Does Defensia detect CVE-2024-38554?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-38554 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/36e56b1b002bb26440403053f19f9e1a8bc075b2
- https://git.kernel.org/stable/c/3ec437f9bbae68e9b38115c4c91de995f73f6bad
- https://git.kernel.org/stable/c/8bad3a20a27be8d935f2aae08d3c6e743754944a
- https://git.kernel.org/stable/c/965d940fb7414b310a22666503d2af69459c981b
- https://git.kernel.org/stable/c/eef95df9b752699bddecefa851f64858247246e9
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-38554. Free for 1 server.
Get started free