CVE-2025-22109
published high CVSS 3.1 · 7.8ax25: Remove broken autobind
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7bffc5aad1e89354151150af2d4ded20b3c702a0 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f364eb60987a55712bcfb9a69235bf3f31bfab5a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 064bc39c23f72efbfbf189786da711d253451033 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 61203fdd3e35519db9a98b6ff8983c620ffc4696 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2f6efbabceb6b2914ee9bafb86d9a51feae9cce8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.14.2 through 6.14.* (unaffected · semver) · 6.15 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; No Fix Planned | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.50.1.150600.12.22.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.50.1.150600.12.22.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.50.1.150600.12.22.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-coconoarch | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_39-rtx86_64 | Advisory build | 1-150600.1.3.2 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_50-defaultppc64le | Advisory build | 1-150600.13.3.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_50-defaults390x | Advisory build | 1-150600.13.3.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_50-defaultx86_64 | Advisory build | 1-150600.13.3.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-coconoarch | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.37.1 | SUSE-SU-2025:01707-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-cocox86_64 | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.39.1 | SUSE-SU-2025:01964-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-cocox86_64 | Advisory build | 6.4.0-15061.21.coco15sp6.1 | SUSE-SU-2025:01919-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.50.1 | SUSE-SU-2025:01614-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.3.1 | SUSE-SU-2025:01972-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.3.1 | SUSE-SU-2025:01972-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.3.1 | SUSE-SU-2025:01951-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: Remove broken autobind Binding AX25 socket by using the autobind feature leads to memory leaks in ax25_connect() and also refcount leaks in ax25_release(). Memory leak was detected with kmemleak: ================================================================ unreferenced object 0xffff8880253cd680 (size 96): backtrace: __kmalloc_node_track_caller_noprof (./include/linux/kmemleak.h:43) kmemdup_noprof (mm/util.c:136) ax25_rt_autobind (net/ax25/ax25_route.c:428) ax25_connect (net/ax25/af_ax25.c:1282) __sys_connect_file (net/socket.c:2045) __sys_connect (net/socket.c:2064) __x64_sys_connect (net/socket.c:2067) do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) ================================================================ When socket is bound, refcounts must be incremented the way it is done in ax25_bind() and ax25_setsockopt() (SO_BINDTODEVICE). In case of autobind, the refcounts are not incremented. This bug leads to the following issue reported by Syzkaller: ================================================================ ax25_connect(): syz-executor318 uses autobind, please contact [email protected] ------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 5317 at lib/refcount.c:31 refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:31 Modules linked in: CPU: 0 UID: 0 PID: 5317 Comm: syz-executor318 Not tainted 6.14.0-rc4-syzkaller-00278-gece144f151ac #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:31 ... Call Trace: <TASK> __refcount_dec include/linux/refcount.h:336 [inline] refcount_dec include/linux/refcount.h:351 [inline] ref_tracker_free+0x6af/0x7e0 lib/ref_tracker.c:236 netdev_tracker_free include/linux/netdevice.h:4302 [inline] netdev_put include/linux/netdevice.h:4319 [inline] ax25_release+0x368/0x960 net/ax25/af_ax25.c:1080 __sock_release net/socket.c:647 [inline] sock_close+0xbc/0x240 net/socket.c:1398 __fput+0x3e9/0x9f0 fs/file_table.c:464 __do_sys_close fs/open.c:1580 [inline] __se_sys_close fs/open.c:1565 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1565 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f ... </TASK> ================================================================ Considering the issues above and the comments left in the code that say: "check if we can remove this feature. It is broken."; "autobinding in this may or may not work"; - it is better to completely remove this feature than to fix it because it is broken and leads to various kinds of memory bugs. Now calling connect() without first binding socket will result in an error (-EINVAL). Userspace software that relies on the autobind feature might get broken. However, this feature does not seem widely used with this specific driver as it was not reliable at any point of time, and it is already broken anyway. E.g. ax25-tools and ax25-apps packages for popular distributions do not use the autobind feature for AF_AX25. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is triggered by a local `connect(2)` syscall on an AF_AX25 socket followed by `close(2)`; a remote packet-radio peer cannot drive the socket API. The freed object is subsequently consumed by the frame-receive path, but the trigger itself is local. AC:L - A single deterministic connect()+close() sequence on an unbound AF_AX25 socket unbalances both refcounts — no race, no memory-layout dependency, and it can be repeated at will. On the realistic deployment for this subsystem (a configured AX.25 node with a port and route), the attacker triggers it reliably every time. PR:L - `ax25_create()` requires no capability for SOCK_SEQPACKET/SOCK_DGRAM (only SOCK_RAW checks CAP_NET_RAW), and the autobind CAP_NET_BIND_SERVICE check is disabled by the default `ax25_uid_policy=0`, so any unprivileged local account suffices. The socket family also autoloads the module via MODULE_ALIAS_NETPROTO(PF_AX25). UI:N - The entire sequence is performed by the attacker's own process with no victim action required. S:U - The refcount underflow and resulting memory corruption stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The premature `kfree_rcu()` of `ax25_dev` leaves a freed object still reachable for reads via `dev->ax25_ptr` in `ax25_rcv()`, via the `ax25_dev_list` walk, and — critically — via the world-readable `/proc/sys/net/ax25/<dev>/*` entries whose `.data` points into the freed slab, giving a direct read window onto whatever object is reallocated there. I:H - The same UAF is a write primitive: the registered sysctl table writes ints directly into the freed `ax25_dev->values[]`, and the RX path mutates the freed object, so heap spraying yields controlled corruption of an attacker-chosen replacement object; the additional `netdev_put()` underflow can free a still-registered `net_device`. A:H - The unbalanced puts produce an immediate `refcount_warn_saturate()` WARN and a use-after-free that panics on the next received AX.25 frame, `bind()`, sysctl access, or DAMA timer fire; it is repeatable and also permanently corrupts the netdev refcount.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7bffc5aad1e89354151150af2d4ded20b3c702a0 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f364eb60987a55712bcfb9a69235bf3f31bfab5a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 064bc39c23f72efbfbf189786da711d253451033 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 61203fdd3e35519db9a98b6ff8983c620ffc4696 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2f6efbabceb6b2914ee9bafb86d9a51feae9cce8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.14.2 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/064bc39c23f72efbfbf189786da711d253451033
- https://git.kernel.org/stable/c/2f6efbabceb6b2914ee9bafb86d9a51feae9cce8
- https://git.kernel.org/stable/c/61203fdd3e35519db9a98b6ff8983c620ffc4696
- https://git.kernel.org/stable/c/7bffc5aad1e89354151150af2d4ded20b3c702a0
- https://git.kernel.org/stable/c/f364eb60987a55712bcfb9a69235bf3f31bfab5a
Provider assertions
1Linux · cna
ax25: Remove broken autobind
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 90c7588defe71a866b21453575a43f402015df76010748120a5c948817371427
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record