CVE-2024-40910
published high CVSS 3.1 · 8.8ax25: Fix refcount imbalance on inbound connections
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9fd75b66b8f68498454d685dc4ba13192ae069b0 to < f4df9d6c8d4e4c818252b0419c2165d66eabd4eb · 9fd75b66b8f68498454d685dc4ba13192ae069b0 to < 52100fd74ad07b53a4666feafff1cd11436362d3 · 9fd75b66b8f68498454d685dc4ba13192ae069b0 to < a723a6c8d4831cc8e2c7b0c9f3f0c010d4671964 · 9fd75b66b8f68498454d685dc4ba13192ae069b0 to < 3c34fb0bd4a4237592c5ecb5b2e2531900c55774 · c44a453ffe16eb08acdc6129ac4fa0192dbc0456 · de55a1338e6a48ff1e41ea8db1432496fbe2a62b · 9e1e088a57c23251f1cfe9601bbd90ade2ea73b9 · b20a5ab0f5fb175750c6bafd4cf12daccf00c738 · 452ae92b99062d2f6a34324eaf705a3b7eac9f8b · 534156dd4ed768e30a43de0036f45dca7c54818f · 4.14.277 to < 4.15 · 4.19.240 to < 4.20 · 5.4.190 to < 5.5 · 5.10.112 to < 5.11 · 5.15.35 to < 5.16 · 5.17.2 to < 5.18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.95 through 6.1.* (unaffected · semver) · 6.6.35 through 6.6.* (unaffected · semver) · 6.9.6 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.99-1 | DSA-5731-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kbaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kb-develaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaults390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150300.59.174.1.150300.18.103.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseppc64le | Advisory build | 5.3.18-150300.59.174.1.150300.18.103.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-bases390x | Advisory build | 5.3.18-150300.59.174.1.150300.18.103.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-basex86_64 | Advisory build | 5.3.18-150300.59.174.1.150300.18.103.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-devels390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-develnoarch | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-docsnoarch | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_174-defaultppc64le | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_174-defaults390x | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_174-defaultx86_64 | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-macrosnoarch | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-builds390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preempt-develaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preempt-develx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-sourcenoarch | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symss390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-zfcpdumps390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaults390x | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.174.1 | SUSE-SU-2024:3249-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.133.2.150400.24.64.5 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.133.2.150400.24.64.5 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.133.2.150400.24.64.5 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.133.1 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_133-defaultppc64le | Advisory build | 1-150400.9.3.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_133-defaults390x | Advisory build | 1-150400.9.3.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_133-defaultx86_64 | Advisory build | 1-150400.9.3.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.133.2 | SUSE-SU-2024:3408-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ax25: Fix refcount imbalance on inbound connections When releasing a socket in ax25_release(), we call netdev_put() to decrease the refcount on the associated ax.25 device. However, the execution path for accepting an incoming connection never calls netdev_hold(). This imbalance leads to refcount errors, and ultimately to kernel crashes. A typical call trace for the above situation will start with one of the following errors: refcount_t: decrement hit 0; leaking memory. refcount_t: underflow; use-after-free. And will then have a trace like: Call Trace: <TASK> ? show_regs+0x64/0x70 ? __warn+0x83/0x120 ? refcount_warn_saturate+0xb2/0x100 ? report_bug+0x158/0x190 ? prb_read_valid+0x20/0x30 ? handle_bug+0x3e/0x70 ? exc_invalid_op+0x1c/0x70 ? asm_exc_invalid_op+0x1f/0x30 ? refcount_warn_saturate+0xb2/0x100 ? refcount_warn_saturate+0xb2/0x100 ax25_release+0x2ad/0x360 __sock_release+0x35/0xa0 sock_close+0x19/0x20 [...] On reboot (or any attempt to remove the interface), the kernel gets stuck in an infinite loop: unregister_netdevice: waiting for ax0 to become free. Usage count = 0 This patch corrects these issues by ensuring that we call netdev_hold() and ax25_dev_hold() for new connections in ax25_accept(). This makes the logic leading to ax25_accept() match the logic for ax25_bind(): in both cases we increment the refcount, which is ultimately decremented in ax25_release().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The imbalance is created by an inbound SABM processed in `ax25_rcv()`, reached from the link-layer handlers `ax25_kiss_rcv()` (RF/KISS TNC, 6pack, scc) and `bpq_rcv()` (AX.25 encapsulated in Ethernet, ethertype 0x08FF), so any station on the shared radio channel or the local Ethernet segment can trigger it. AX.25 frames are not IP-routable by the kernel itself, so this is adjacent rather than full network reach. AC:L - The attacker simply connects and disconnects repeatedly; each accepted-then-closed session deterministically drops one unheld netdev reference and one unheld ax25_dev reference, and only a couple of iterations are needed to drive `ax25_dev->refcount` to zero. No race, no memory-layout precondition, and the attacker controls the repetition count. PR:N - AX.25 has no authentication whatsoever — an unauthenticated remote station only needs to send a SABM to a listening callsign on a node/BBS/ax25d service. No credentials or local account on the victim are required. UI:N - A listening AX.25 service accepts inbound connections automatically and closes the session socket when the peer disconnects, which is exactly the release path that performs the unbalanced `netdev_put()`/`ax25_dev_put()`. No operator action is needed. S:U - The corruption is confined to kernel memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `ax25_dev_put()` frees the `ax25_dev` while `dev->ax25_ptr` and `ax25_dev_list` still reference it, so subsequent received frames read attacker-refillable freed slab memory (`values[]`, `forward`, `sysheader`), and the netdev refcount underflow can free `struct net_device` while sockets still point at it — a use-after-free that is leverageable for kernel memory disclosure. I:H - The freed `ax25_dev` embeds a `timer_list` (DAMA slave timer with a function pointer) and a `list_head` that are still armed/linked, plus a `net_device *forward` used on the transmit path; reclaiming the slab yields write and control-flow-hijack primitives typical of a use-after-free. A:H - The commit documents kernel crashes from the refcount underflow, and on interface teardown or reboot the kernel spins forever in `unregister_netdevice: waiting for ax0 to become free. Usage count = 0` with RTNL held — a permanent, remotely inducible hang in addition to the UAF oops.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9fd75b66b8f68498454d685dc4ba13192ae069b0 to < f4df9d6c8d4e4c818252b0419c2165d66eabd4eb (affected · git)9fd75b66b8f68498454d685dc4ba13192ae069b0 to < 52100fd74ad07b53a4666feafff1cd11436362d3 (affected · git)9fd75b66b8f68498454d685dc4ba13192ae069b0 to < a723a6c8d4831cc8e2c7b0c9f3f0c010d4671964 (affected · git)9fd75b66b8f68498454d685dc4ba13192ae069b0 to < 3c34fb0bd4a4237592c5ecb5b2e2531900c55774 (affected · git)c44a453ffe16eb08acdc6129ac4fa0192dbc0456 (affected · git)de55a1338e6a48ff1e41ea8db1432496fbe2a62b (affected · git)9e1e088a57c23251f1cfe9601bbd90ade2ea73b9 (affected · git)b20a5ab0f5fb175750c6bafd4cf12daccf00c738 (affected · git)452ae92b99062d2f6a34324eaf705a3b7eac9f8b (affected · git)534156dd4ed768e30a43de0036f45dca7c54818f (affected · git)4.14.277 to < 4.15 (affected · semver)4.19.240 to < 4.20 (affected · semver)5.4.190 to < 5.5 (affected · semver)5.10.112 to < 5.11 (affected · semver)5.15.35 to < 5.16 (affected · semver)5.17.2 to < 5.18 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.95 through 6.1.* (unaffected · semver)6.6.35 through 6.6.* (unaffected · semver)6.9.6 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/3c34fb0bd4a4237592c5ecb5b2e2531900c55774
- https://git.kernel.org/stable/c/52100fd74ad07b53a4666feafff1cd11436362d3
- https://git.kernel.org/stable/c/a723a6c8d4831cc8e2c7b0c9f3f0c010d4671964
- https://git.kernel.org/stable/c/f4df9d6c8d4e4c818252b0419c2165d66eabd4eb
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
ax25: Fix refcount imbalance on inbound connections
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7fd0d04a65643f508fedfd4e437089393710429dda30cf7101e7ef5b98bbca6f
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record