7.8

CVE-2025-22109: ax25: Remove broken autobind

Modified
AliasesUBUNTU-CVE-2025-22109DEBIAN-CVE-2025-22109CGA-22gx-xc5w-wc9w
Published 16-04-2025Last modified 30-10-2026

Vulnerability summary

CVE-2025-22109 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

CIRCL last checked 06-12-2026

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 27 · Related 25

Timeline

  1. 16-04-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu141 products
  • linuxAll versions (No fix recorded) | < 6.8.0-151.151
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
  • linux-aws-6.12< 6.12.70-r0 | < 6.12.74-r0 | < 6.12.71-r0 | < 6.12.72-r0 | < 6.12.77-r1 | < 6.12.62-r2 | < 6.12.65-r0 | < 6.12.74-r1 | < 6.12.72-r1 | < 6.12.68-r1 | < 6.12.65-r2 | < 6.12.77-r2 | < 6.12.66-r0 | < 6.12.78-r0 | < 6.12.67-r0 | < 6.12.65-r1 | < 6.12.80-r0 | < 6.12.60-r4 | < 6.12.69-r0 | < 6.12.62-r1 | < 6.12.68-r0 | < 6.12.77-r0 | < 6.12.57-r2 | < 6.12.63-r0 | < 6.12.76-r0 | < 6.12.62-r0
  • linux-azure-6.12< 6.12.57-r2 | < 6.12.67-r0 | < 6.12.65-r2 | < 6.12.72-r0 | < 6.12.60-r3 | < 6.12.68-r0 | < 6.12.63-r0 | < 6.12.77-r1 | < 6.12.76-r0 | < 6.12.65-r1 | < 6.12.70-r0 | < 6.12.62-r1 | < 6.12.74-r1 | < 6.12.66-r0 | < 6.12.77-r0 | < 6.12.65-r4 | < 6.12.80-r0 | < 6.12.62-r0 | < 6.12.71-r0 | < 6.12.62-r2 | < 6.12.65-r3 | < 6.12.78-r0 | < 6.12.60-r4 | < 6.12.69-r0 | < 6.12.77-r2 | < 6.12.74-r0
  • linux-gcp-6.12< 6.12.62-r1 | < 6.12.63-r0 | < 6.12.77-r1 | < 6.12.78-r0 | < 6.12.68-r1 | < 6.12.57-r2 | < 6.12.77-r2 | < 6.12.69-r0 | < 6.12.76-r0 | < 6.12.67-r0 | < 6.12.70-r0 | < 6.12.60-r3 | < 6.12.77-r0 | < 6.12.71-r0 | < 6.12.65-r2 | < 6.12.66-r0 | < 6.12.62-r2 | < 6.12.60-r4 | < 6.12.65-r1 | < 6.12.62-r0 | < 6.12.74-r1 | < 6.12.72-r0 | < 6.12.65-r0 | < 6.12.80-r0 | < 6.12.68-r0 | < 6.12.74-r0
  • linux-qemu-6.12< 6.12.76-r0 | < 6.12.72-r0 | < 6.12.66-r0 | < 6.12.68-r0 | < 6.12.71-r0 | < 6.12.77-r1 | < 6.12.67-r0 | < 6.12.65-r2 | < 6.12.74-r0 | < 6.12.65-r1 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.70-r0 | < 6.12.77-r2 | < 6.12.74-r1 | < 6.12.77-r0 | < 6.12.78-r0
  • linux-vmware-6.12< 6.12.74-r0 | < 6.12.77-r2 | < 6.12.76-r0 | < 6.12.74-r1 | < 6.12.77-r0 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.72-r0 | < 6.12.77-r1 | < 6.12.68-r0 | < 6.12.71-r0 | < 6.12.65-r2 | < 6.12.65-r1 | < 6.12.68-r1 | < 6.12.78-r0 | < 6.12.67-r0 | < 6.12.66-r0 | < 6.12.70-r0
Debian2 products
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.115-2 | < 6.16.3-1
  • linux-6.12< 6.12.115-2~deb12u1
Linux2 products
  • linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7bffc5aad1e89354151150af2d4ded20b3c702a0 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f364eb60987a55712bcfb9a69235bf3f31bfab5a | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 064bc39c23f72efbfbf189786da711d253451033 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 61203fdd3e35519db9a98b6ff8983c620ffc4696 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f6efbabceb6b2914ee9bafb86d9a51feae9cce8 | 2.6.12
  • linux_kernel≥ 2.6.13, < 6.14.2 | 2.6.12 | 2.6.12:rc2 | 2.6.12:rc3 | 2.6.12:rc4 | 2.6.12:rc5

4 vendors · 150 products

References

25 links
Show all 25 references