CVE
CVE-2025-38666
CNA description
In the Linux kernel, the following vulnerability has been resolved: net: appletalk: Fix use-after-free in AARP proxy probe The AARP proxy‐probe routine (aarp_proxy_probe_network) sends a probe, releases the aarp_lock, sleeps, then re-acquires the lock. During that window an expire timer thread (__aarp_expire_timer) can remove and kfree() the same entry, leading to a use-after-free. race condition: cpu 0 | cpu 1 atalk_sendmsg() | atif_proxy_probe_device() aarp_send_ddp() | aarp_proxy_probe_network() mod_timer() | lock(aarp_lock) // LOCK!! timeout around 200ms | alloc(aarp_entry) and then call | proxies[hash] = aarp_entry aarp_expire_timeout() | aarp_send_probe() | unlock(aarp_lock) // UNLOCK!! lock(aarp_lock) // LOCK!! | msleep(100); __aarp_expire_timer(&proxies[ct]) | free(aarp_entry) | unlock(aarp_lock) // UNLOCK!! | | lock(aarp_lock) // LOCK!! | UAF aarp_entry !! ================================================================== BUG: KASAN: slab-use-after-free in aarp_proxy_probe_network+0x560/0x630 net/appletalk/aarp.c:493 Read of size 4 at addr ffff8880123aa360 by task repro/13278 CPU: 3 UID: 0 PID: 13278 Comm: repro Not tainted 6.15.2 #3 PREEMPT(full) Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1b0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xc1/0x630 mm/kasan/report.c:521 kasan_report+0xca/0x100 mm/kasan/report.c:634 aarp_proxy_probe_network+0x560/0x630 net/appletalk/aarp.c:493 atif_proxy_probe_device net/appletalk/ddp.c:332 [inline] atif_ioctl+0xb58/0x16c0 net/appletalk/ddp.c:857…
Affected versions
All Linux kernel vulnerabilities →
- 6.16-rc7This version only
- 6.16-rc6This version only
- 6.16-rc5This version only
- 6.16-rc4This version only
- 6.16-rc3This version only
- 6.16-rc2This version only
- 6.16-rc1This version only
- ≥ 6.13, < 6.15.9Fixed in 6.15.9
- ≥ 6.7, < 6.12.41Fixed in 6.12.41
- ≥ 6.2, < 6.6.101Fixed in 6.6.101
- ≥ 5.16, < 6.1.148Fixed in 6.1.148
- ≥ 5.11, < 5.15.190Fixed in 5.15.190
- ≥ 5.5, < 5.10.241Fixed in 5.10.241
- ≥ 2.6.13, < 5.4.297Fixed in 5.4.297
- 2.6.12This version only
- 2.6.12-rc5This version only
- 2.6.12-rc4This version only
- 2.6.12-rc3This version only
- 2.6.12-rc2This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/186942d19c0222617ef61f50e1dba91e269a5963 · Patch
- git.kernel.org/stable/c/2a6209e4649d45fd85d4193abc481911858ffc6f · Patch
- git.kernel.org/stable/c/5f02ea0f63dd38c41539ea290fcc1693c73aa8e5 · Patch
- git.kernel.org/stable/c/6c4a92d07b0850342d3becf2e608f805e972467c · Patch
- git.kernel.org/stable/c/82d19a70ced28b17a38ebf1b6978c6c7db894979 · Patch
- git.kernel.org/stable/c/b35694ffabb2af308a1f725d70f60fd8a47d1f3e · Patch
- git.kernel.org/stable/c/e4f1564c5b699eb89b3040688fd6b4e57922f1f6 · Patch
- git.kernel.org/stable/c/f90b6bb203f3f38bf2b3d976113d51571df9a482 · Patch
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.