Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38666— net: appletalk: Fix use-after-free in AARP proxy probe

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于竞争条件,可能导致释放后重用。

AI Predicted 7.8 Difficulty: Hard EPSS 0.17% · P7

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< b35694ffabb2af308a1f725d70f60fd8a47d1f3e affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 82d19a70ced28b17a38ebf1b6978c6c7db894979 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 186942d19c0222617ef61f50e1dba91e269a5963 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 2a6209e4649d45fd85d4193abc481911858ffc6f affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< e4f1564c5b699eb89b3040688fd6b4e57922f1f6 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 5f02ea0f63dd38c41539ea290fcc1693c73aa8e5 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< f90b6bb203f3f38bf2b3d976113d51571df9a482 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 6c4a92d07b0850342d3becf2e608f805e972467c affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38666

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net: appletalk: Fix use-after-free in AARP proxy probe
Source: CVE Program / CVE List V5
Vulnerability 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 ==================================================================
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于竞争条件,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ~ b35694ffabb2af308a1f725d70f60fd8a47d1f3e -
Linux Linux 2.6.12 -

II. Public POCs for CVE-2025-38666

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38666

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-38666 (1)

Same Patch Batch · Linux · 2025-08-22 · 60 CVEs total

CVE-2025-38660 9.8 CRITICAL [ceph] parse_longname(): strrchr() expects NUL-terminated string
CVE-2025-38658 8.8 HIGH nvmet: pci-epf: Do not complete commands twice if nvmet_req_init() fails
CVE-2025-38643 8.8 HIGH wifi: cfg80211: Add missing lock in cfg80211_check_and_end_cac()
CVE-2024-58239 8.2 HIGH tls: stop recv() if initial process_rx_list gave us non-DATA
CVE-2025-38675 7.8 HIGH xfrm: state: initialize state_ptrs earlier in xfrm_state_find
CVE-2025-38627 7.8 HIGH f2fs: compress: fix UAF of f2fs_inode_info in f2fs_free_dic
CVE-2025-38653 7.8 HIGH proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al
CVE-2025-38659 7.8 HIGH gfs2: No more self recovery
CVE-2025-38640 7.8 HIGH bpf: Disable migration in nf_hook_run_bpf().
CVE-2025-38656 7.8 HIGH wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()
CVE-2025-38617 7.8 HIGH net/packet: fix a race in packet_set_ring() and packet_notifier()
CVE-2025-38670 7.8 HIGH arm64/entry: Mask DAIF in cpu_switch_to(), call_on_irq_stack()
CVE-2025-38618 7.8 HIGH vsock: Do not allow binding to VMADDR_PORT_ANY
CVE-2025-38616 7.8 HIGH tls: handle data disappearing from under the TLS ULP
CVE-2025-38667 7.8 HIGH iio: fix potential out-of-bound write
CVE-2025-38619 7.8 HIGH media: ti: j721e-csi2rx: fix list_del corruption
CVE-2025-38652 7.3 HIGH f2fs: fix to avoid out-of-boundary access in devs.path
CVE-2025-38657 7.3 HIGH wifi: rtw89: mcc: prevent shift wrapping in rtw89_core_mlsr_switch()
CVE-2025-38639 7.1 HIGH netfilter: xt_nfacct: don't assume acct name is null-terminated
CVE-2025-38662 7.1 HIGH ASoC: mediatek: mt8365-dai-i2s: pass correct size to mt8365_dai_set_priv

Showing top 20 of 60 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38666

No comments yet


Leave a comment