CVE-2024-38602
ax25: Fix reference count leak issues of ax25_dev
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < ae467750a3765dd1092eb29f58247950a2f9b60c; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 38eb01edfdaa1562fa00429be2e33f45383b1b3a; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 1ea02699c7557eeb35ccff2bd822de1b3e09d868; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < b505e0319852b08a3a716b64620168eab21f4ced; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; …
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < ae467750a3765dd1092eb29f58247950a2f9b60c; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 38eb01edfdaa1562fa00429be2e33f45383b1b3a; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 1ea02699c7557eeb35ccff2bd822de1b3e09d868; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < b505e0319852b08a3a716b64620168eab21f4ced; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; …; Linux 5.17
- Fixed in
- Linux 38eb01edfdaa1562fa00429be2e33f45383b1b3a, Linux 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3, Linux 1ea02699c7557eeb35ccff2bd822de1b3e09d868
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ax25: Fix reference count leak issues of ax25_dev The ax25_addr_ax25dev() and ax25_dev_device_down() exist a reference count leak issue of the object "ax25_dev". Memory leak issue in ax25_addr_ax25dev(): The reference count of the object "ax25_dev" can be increased multiple times in ax25_addr_ax25dev(). This will cause a memory leak. Memory leak issues in ax25_dev_device_down(): The reference count of ax25_dev is set to 1 in ax25_dev_device_up() and then increase the reference count when ax25_dev is added to ax25_dev_list. As a result, the reference count of ax25_dev is 2. But when the device is shutting down. The ax25_dev_device_down() drops the reference count once or twice depending on if we goto unlock_put or not, which will cause memory leak. As for the issue of ax25_addr_ax25dev(), it is impossible for one pointer to be on a list twice. So add a break in ax25_addr_ax25dev(). As for the issue of ax25_dev_device_down(), increase the reference count of ax25_dev once in ax25_dev_device_up() and decrease the reference count of ax25_dev after it is removed from the ax25_dev_list.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < ae467750a3765dd1092eb29f58247950a2f9b60c; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 38eb01edfdaa1562fa00429be2e33f45383b1b3a; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 1ea02699c7557eeb35ccff2bd822de1b3e09d868; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < b505e0319852b08a3a716b64620168eab21f4ced; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; … | — | cvelist |
| Linux | 5.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38602. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38602.md Affected: Linux >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < ae467750a3765dd1092eb29f58247950a2f9b60c; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 38eb01edfdaa1562fa00429be2e33f45383b1b3a; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3; >= d01ffb9eee4af165d83b08d… Fixed in: Linux 38eb01edfdaa1562fa00429be2e33f45383b1b3a, Linux 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3, Linux 1ea02699c7557eeb35ccff2bd822de1b3e09d868 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.
References
Patches
- https://git.kernel.org/stable/c/ae467750a3765dd1092eb29f58247950a2f9b60c
- https://git.kernel.org/stable/c/38eb01edfdaa1562fa00429be2e33f45383b1b3a
- https://git.kernel.org/stable/c/81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3
- https://git.kernel.org/stable/c/1ea02699c7557eeb35ccff2bd822de1b3e09d868
- https://git.kernel.org/stable/c/b505e0319852b08a3a716b64620168eab21f4ced
FAQ
Is CVE-2024-38602 being exploited?
There is no confirmed exploitation: CVE-2024-38602 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38602?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-38602?
Linux >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < ae467750a3765dd1092eb29f58247950a2f9b60c; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 38eb01edfdaa1562fa00429be2e33f45383b1b3a; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < 1ea02699c7557eeb35ccff2bd822de1b3e09d868; >= d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, < b505e0319852b08a3a716b64620168eab21f4ced; ef0a2a0565727a48f2e36a2c461f8b1e3a61922d; e2b558fe507a1ed4c43db2b0057fc6e41f20a14c; 418993bbaafb0cd48f904ba68eeda052d624c821; 5ea00fc60676c0eebfa8560ec461209d638bca9d; 9af0fd5c4453a44c692be0cbb3724859b75d739b; …; Linux 5.17.
Is there a fix for CVE-2024-38602?
Yes. Fixed in Linux 38eb01edfdaa1562fa00429be2e33f45383b1b3a, Linux 81d8240b0a243b3ddd8fa8aa172f1acc2f7cc8f3, Linux 1ea02699c7557eeb35ccff2bd822de1b3e09d868. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-38602?
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.