Vulnerability · Published Aug 22, 2025 · Assigned by Linux
CVE-2025-38666net: appletalk: Fix use-after-free in AARP proxy probe
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 atalk_ioctl+0x198/0x2f0 net/appletalk/ddp.c:1818 sock_do_ioctl+0xdc/0x260 net/socket.c:1190 sock_ioctl+0x239/0x6a0 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x194/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcb/0x250 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Allocated: aarp_alloc net/appletalk/aarp.c:382 [inline] aarp_proxy_probe_network+0xd8/0x630 net/appletalk/aarp.c:468 atif_proxy_probe_device net/appletalk/ddp.c:332 [inline] atif_ioctl+0xb58/0x16c0 net/appletalk/ddp.c:857 atalk_ioctl+0x198/0x2f0 net/appletalk/ddp.c:1818 Freed: kfree+0x148/0x4d0 mm/slub.c:4841 __aarp_expire net/appletalk/aarp.c:90 [inline] __aarp_expire_timer net/appletalk/aarp.c:261 [inline] aarp_expire_timeout+0x480/0x6e0 net/appletalk/aarp.c:317 The buggy address belongs to the object at ffff8880123aa300 which belongs to the cache kmalloc-192 of size 192 The buggy address is located 96 bytes inside of freed 192-byte region [ffff8880123aa300, ffff8880123aa3c0) Memory state around the buggy address: ffff8880123aa200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880123aa280: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880123aa300: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880123aa380: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff8880123aa400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.148-1 | DEBIAN-CVE-2025-38666 |
| Debian:13 | linux | 6.12.41-1 | DEBIAN-CVE-2025-38666 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux | 5.15.0-163.173 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux | 6.8.0-90.91 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-90.91 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1097.104 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1044.46 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1044.46 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1044.46~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1044.46~22.04.1 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1101.110 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1044.50 | USN-7935-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1044.50 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1044.50~22.04.1 | USN-7935-1 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1044.50~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1102.111.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-38666 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1029.32 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1097.106 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1045.48 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1045.48 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1020.21~24.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1045.48~22.04.1 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1045.48~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1093.99 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1041.46 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1041.46 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1080.88 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1028.31 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1028.31 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-90.91~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-90.91~22.04.1 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1091.94 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1042.42 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1042.42 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1042.42~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1042.42~22.04.1 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1092.98 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1089.94 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-163.173 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-90.91.1 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-90.91.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-90.91.1~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-90.91.1~22.04.1 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1092.93 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1044.47 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1044.47 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1044.47~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1044.47~22.04.1 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1044.47.1 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1044.47.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1049.49 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1020.20 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1038.38 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1016.16 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1094.100 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1041.42 | USN-7931-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1041.42 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1041.42~22.04.1 | USN-7931-1 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1041.42~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1091.94 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1044.48 | USN-7931-5 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1044.48 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-36.36.1~24.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-90.91~22.04.1 | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1021.22 | UBUNTU-CVE-2025-38666 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1021.22 | USN-7931-4 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1061.65 | UBUNTU-CVE-2025-38666 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before b35694ffabb2af308a1f725d70f60fd8a47d1f3e1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 82d19a70ced28b17a38ebf1b6978c6c7db8949791da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 186942d19c0222617ef61f50e1dba91e269a59631da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 2a6209e4649d45fd85d4193abc481911858ffc6f1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before e4f1564c5b699eb89b3040688fd6b4e57922f1f61da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 5f02ea0f63dd38c41539ea290fcc1693c73aa8e51da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before f90b6bb203f3f38bf2b3d976113d51571df9a4821da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 6c4a92d07b0850342d3becf2e608f805e972467c |
| Linux | Linux | 2.6.12 |
References
- https://git.kernel.org/stable/c/b35694ffabb2af308a1f725d70f60fd8a47d1f3e
- https://git.kernel.org/stable/c/82d19a70ced28b17a38ebf1b6978c6c7db894979
- https://git.kernel.org/stable/c/186942d19c0222617ef61f50e1dba91e269a5963
- https://git.kernel.org/stable/c/2a6209e4649d45fd85d4193abc481911858ffc6f
- https://git.kernel.org/stable/c/e4f1564c5b699eb89b3040688fd6b4e57922f1f6
- https://git.kernel.org/stable/c/5f02ea0f63dd38c41539ea290fcc1693c73aa8e5
- https://git.kernel.org/stable/c/f90b6bb203f3f38bf2b3d976113d51571df9a482
- https://git.kernel.org/stable/c/6c4a92d07b0850342d3becf2e608f805e972467c
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html