# CVE-2024-38554: ax25: Fix reference count leak issue of net\_device

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **Published:** 2024-06-19T13:35:25.406Z
- **Modified:** 2026-06-17T07:40:32.213Z

## Who should check

- Anyone running Linux \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 3ec437f9bbae68e9b38115c4c91de995f73f6bad; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 965d940fb7414b310a22666503d2af69459c981b; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 8bad3a20a27be8d935f2aae08d3c6e743754944a; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< eef95df9b752699bddecefa851f64858247246e9; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 36e56b1b002bb26440403053f19f9e1a8bc075b2; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; …
- Anyone running Linux 5.17

## 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.

## Affected and fixed versions

- Linux: \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 3ec437f9bbae68e9b38115c4c91de995f73f6bad; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 965d940fb7414b310a22666503d2af69459c981b; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 8bad3a20a27be8d935f2aae08d3c6e743754944a; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< eef95df9b752699bddecefa851f64858247246e9; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 36e56b1b002bb26440403053f19f9e1a8bc075b2; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; … (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-38554. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38554.md
Affected: Linux >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 3ec437f9bbae68e9b38115c4c91de995f73f6bad; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 965d940fb7414b310a22666503d2af69459c981b; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 8bad3a20a27be8d935f2aae08d3c6e743754944a; >= d01ffb9eee4af165d83b08d…
Fixed in: Linux 3ec437f9bbae68e9b38115c4c91de995f73f6bad, Linux 965d940fb7414b310a22666503d2af69459c981b, Linux 8bad3a20a27be8d935f2aae08d3c6e743754944a, Linux 36e56b1b002bb26440403053f19f9e1a8bc075b2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-38554 being exploited?

There is no confirmed exploitation: CVE-2024-38554 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-38554?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-38554?

Linux \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 3ec437f9bbae68e9b38115c4c91de995f73f6bad; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 965d940fb7414b310a22666503d2af69459c981b; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 8bad3a20a27be8d935f2aae08d3c6e743754944a; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< eef95df9b752699bddecefa851f64858247246e9; \>= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, \< 36e56b1b002bb26440403053f19f9e1a8bc075b2; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; …; Linux 5.17.

### Is there a fix for CVE-2024-38554?

Yes. Fixed in Linux 3ec437f9bbae68e9b38115c4c91de995f73f6bad, Linux 965d940fb7414b310a22666503d2af69459c981b, Linux 8bad3a20a27be8d935f2aae08d3c6e743754944a, Linux 36e56b1b002bb26440403053f19f9e1a8bc075b2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-38554?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3ec437f9bbae68e9b38115c4c91de995f73f6bad>
- patch: <https://git.kernel.org/stable/c/965d940fb7414b310a22666503d2af69459c981b>
- patch: <https://git.kernel.org/stable/c/8bad3a20a27be8d935f2aae08d3c6e743754944a>
- patch: <https://git.kernel.org/stable/c/eef95df9b752699bddecefa851f64858247246e9>
- patch: <https://git.kernel.org/stable/c/36e56b1b002bb26440403053f19f9e1a8bc075b2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-38554>

HTML: <https://flawdb.com/CVE-2024-38554> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-38554>
