Home / Linux / Linux / CVE-2025-39860
CVE-2025-39860: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-39860 is an use after free vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Linux from 5.4.253 before 5.4.299, Linux from 5.10.190 before 5.10.243, Linux from 5.15.126 before 5.15.192 and 5 more (CVE record by Linux). Fixed in 5.4.299, 5.10.243, 5.15.192, 6.1.151 and 2 more (CVE record by Linux). Severity: High (8.0, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 17:39 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-39860?
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen() syzbot reported the splat below without a repro. In the splat, a single thread calling bt_accept_dequeue() freed sk and touched it after that. The root cause would be the racy l2cap_sock_cleanup_listen() call added by the cited commit. bt_accept_dequeue() is called under lock_sock() except for l2cap_sock_release(). Two threads could see the same socket during the list iteration in bt_accept_dequeue(): CPU1 CPU2 (close()) ---- ---- sock_hold(sk) sock_hold(sk); lock_sock(sk) <-- block close() sock_put(sk) bt_accept_unlink(sk) sock_put(sk) <-- refcnt by bt_accept_enqueue() release_sock(sk) lock_sock(sk) sock_put(sk) bt_accept_unlink(sk) sock_put(sk) <-- last refcnt bt_accept_unlink(sk) <-- UAF Depending on the timing, the other thread could show up in the "Freed by task" part. Let's call l2cap_sock_cleanup_listen() under lock_sock() in l2cap_sock_release(). [0]: BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x26f/0x2b0 kernel/locking/spinlock_debug.c:115 Read of size 4 at addr ffff88803b7eb1c4 by task syz.5.3276/16995 CPU: 3 UID: 0 PID: 16995 Comm: syz.5.3276 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] do_raw_spin_lock+0x26f/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock_bh include/linux/spinlock.h:356 [inline] release_sock+0x21/0x220 net/core/sock.c:3746 bt_accept_dequeue+0x505/0x600 net/bluetooth/af_bluetooth.c:312 l2cap_sock_cleanup_listen+0x5c/0x2a0 net/bluetooth/l2cap_sock.c:1451 l2cap_sock_release+0x5c/0x210 net/bluetooth/l2cap_sock.c:1425 __sock_release+0xb3/0x270 net/socket.c:649 sock_close+0x1c/0x30 net/socket.c:1439 __fput+0x3ff/0xb70 fs/file_table.c:468 task_work_run+0x14d/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2accf8ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdb6cb1378 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00000000000426fb RCX: 00007f2accf8ebe9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f2acd1b7da0 R08: 0000000000000001 R09: 00000012b6cb166f R10: 0000001b30e20000 R11: 0000000000000246 R12: 00007f2acd1b609c R13: 00007f2acd1b6090 R14: ffffffffffffffff R15: 00007ffdb6cb1490 </TASK> Allocated by task 5326: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:388 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:405 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4365 [inline] __kmalloc_nopro ---truncated---
From the CVE record by Linux, last updated October 15, 2026, 22:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 5.4.253 before 5.4.299 from 5.10.190 before 5.10.243 from 5.15.126 before 5.15.192 from 6.1.45 before 6.1.151 from 4.14.322 before 4.15 from 4.19.291 before 4.20 from 6.4.10 before 6.5 | 5.4.299, 5.10.243, 5.15.192, 6.1.151, 4.15, 4.20, 6.5 |
| Linux | Linux | from 6.5 until the fixed versions | 5.4.299, 5.10.243, 5.15.192, 6.1.151, 6.6.105, 6.12.46, 6.16.6, 6.17 |
As the CVE record by Linux states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 4.14.322 before 4.15 | operating system |
| linux | linux kernel | from 4.19.291 before 4.20 | operating system |
| linux | linux kernel | from 5.4.253 before 5.4.299 | operating system |
| linux | linux kernel | from 5.10.190 before 5.10.243 | operating system |
| linux | linux kernel | from 5.15.126 before 5.15.192 | operating system |
| linux | linux kernel | from 6.1.45 before 6.1.151 | operating system |
| linux | linux kernel | from 6.4.10 before 6.6.105 | operating system |
| linux | linux kernel | from 6.7 before 6.12.46 | operating system |
| linux | linux kernel | from 6.13 before 6.16.6 | operating system |
| linux | linux kernel | 6.17 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified October 19, 2026, 21:10 UTC.
How severe is CVE-2025-39860?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-39860 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 15, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/964cbb198f9c46c2b2358cd1faffc04c1e8248cf
- https://git.kernel.org/stable/c/83e1d9892ef51785cf0760b7681436760dda435a
- https://git.kernel.org/stable/c/47f6090bcf75c369695d21c3f179db8a56bbbd49
- https://git.kernel.org/stable/c/2ca99fc3512a8074de20ee52a87b492dfcc41a4d
- https://git.kernel.org/stable/c/6077d16b5c0f65d571eee709de2f0541fb5ef0ca
- https://git.kernel.org/stable/c/306b0991413b482dbf5585b423022123bb505966
- https://git.kernel.org/stable/c/3dff390f55ccd9ce12e91233849769b5312180c2
- https://git.kernel.org/stable/c/862c628108562d8c7a516a900034823b381d3cba
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- September 19, 2025, 15:26 UTC
- CVE record updated
- October 15, 2026, 22:02 UTC by Linux
- NVD
- Modified, last modified October 19, 2026, 21:10 UTC
- Last checked
- CVE list November 28, 2026, 17:39 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-39860
Is CVE-2025-39860 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2025-39860?
Linux from 5.4.253 before 5.4.299, Linux from 5.10.190 before 5.10.243, Linux from 5.15.126 before 5.15.192, Linux from 6.1.45 before 6.1.151, Linux from 4.14.322 before 4.15, Linux from 4.19.291 before 4.20 and 2 more, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-39860?
5.4.299, 5.10.243, 5.15.192, 6.1.151, 4.15 and 4.20, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-39860?
High (8.0, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2025-39860?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.