Description
In the Linux kernel, the following vulnerability has been resolved:
tcp: Add preempt_{disable,enable}_nested() in reqsk_queue_hash_req().
syzbot reported a weird reqsk->rsk_refcnt underflow in
__inet_csk_reqsk_queue_drop().
The captured reqsk_put() in __inet_csk_reqsk_queue_drop()
is called only when it successfully removes reqsk from ehash.
Moreover, reqsk_timer_handler() calls another reqsk_put()
after that.
This indicates that the reqsk was missing both refcnts for
ehash and the timer itself.
Since all the syzbot reports had PREEMPT_RT enabled, the only
possible scenario is that reqsk_queue_hash_req() is preempted
after mod_timer() and before refcount_set(), and then the timer
triggered after 1s aborts the reqsk due to its listener's close().
Let's wrap mod_timer() and refcount_set() with
preempt_disable_nested() and preempt_enable_nested().
Note that inet_ehash_insert() holds the normal spin_lock()
(mutex in PREEMPT_RT), so it must be called outside of
preempt_disable_nested(), but this is fine.
The lookup path just ignores 0 sk_refcnt entries in ehash
and tries to create another reqsk, but this will fail at
inet_ehash_insert().
[0]:
refcount_t: underflow; use-after-free.
WARNING: lib/refcount.c:28 at refcount_warn_saturate+0xb2/0x110 lib/refcount.c:28, CPU#0: ktimers/0/16
Modules linked in:
CPU: 0 UID: 0 PID: 16 Comm: ktimers/0 Tainted: G L syzkaller #0 PREEMPT_{RT,(full)}
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:refcount_warn_saturate+0xb2/0x110 lib/refcount.c:28
Code: e4 7d d1 0a 67 48 0f b9 3a eb 4a e8 38 3d 23 fd 48 8d 3d e1 7d d1 0a 67 48 0f b9 3a eb 37 e8 25 3d 23 fd 48 8d 3d de 7d d1 0a <67> 48 0f b9 3a eb 24 e8 12 3d 23 fd 48 8d 3d db 7d d1 0a 67 48 0f
RSP: 0000:ffffc90000157948 EFLAGS: 00010246
RAX: ffffffff84a1301b RBX: 0000000000000003 RCX: ffff88801ca98000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffffffff8f72ae00
RBP: ffffffff99ae3b01 R08: ffff88801ca98000 R09: 0000000000000005
R10: 0000000000000100 R11: 0000000000000004 R12: ffff8880425ef568
R13: ffff8880425ef4f8 R14: ffff8880425ef578 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888126386000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7b46710e9c CR3: 000000000dbb6000 CR4: 00000000003526f0
Call Trace:
<TASK>
__refcount_sub_and_test include/linux/refcount.h:400 [inline]
__refcount_dec_and_test include/linux/refcount.h:432 [inline]
refcount_dec_and_test include/linux/refcount.h:450 [inline]
reqsk_put include/net/request_sock.h:136 [inline]
__inet_csk_reqsk_queue_drop+0x3ce/0x440 net/ipv4/inet_connection_sock.c:1007
reqsk_timer_handler+0x651/0xdf0 net/ipv4/inet_connection_sock.c:1137
call_timer_fn+0x192/0x5e0 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers kernel/time/timer.c:2374 [inline]
__run_timer_base+0x6a3/0x9f0 kernel/time/timer.c:2386
run_timer_base kernel/time/timer.c:2395 [inline]
run_timer_softirq+0x67/0x170 kernel/time/timer.c:2403
handle_softirqs+0x1de/0x6d0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
run_ktimerd+0x69/0x100 kernel/softirq.c:1151
smpboot_thread_fn+0x541/0xa50 kernel/smpboot.c:160
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.12 | 6.12.97 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.0.13-1 | — |
| Debian 13 | linux | 6.12.100-1 | — |
| Debian 12 | linux-6.12 | 6.12.100-1~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | linux | 7.0.0-29.29 | USN-8629-1 |
| Ubuntu 26.04 LTS | linux-aws +3 | 7.0.0-1010.10 | USN-8660-1, USN-8637-1, USN-8629-1 |
| Ubuntu 26.04 LTS | linux-gke | 7.0.0-1005.6 | USN-8660-1 |
| Ubuntu 26.04 LTS | linux-ibm +1 | 7.0.0-1011.11 | USN-8629-1 |
| Ubuntu 26.04 LTS | linux-nvidia-bos | 7.0.0-2016.16 | USN-8664-1 |
| Ubuntu 26.04 LTS | linux-oracle | 7.0.0-1009.9 | USN-8629-1 |
| Ubuntu 26.04 LTS | linux-raspi +1 | 7.0.0-1016.16 | USN-8663-1, USN-8629-1 |
| Ubuntu 26.04 LTS | linux-riscv +1 | 7.0.0-29.29.1 | USN-8629-1 |
| Ubuntu 25.10 | linux +8 | No fix yet | — |
| Ubuntu 24.04 LTS | linux-aws-7.0 | 7.0.0-1010.10~24.04.1 | USN-8629-2 |
| Ubuntu 24.04 LTS | linux-azure-7.0 | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu 24.04 LTS | linux-azure-fde-7.0 | 7.0.0-1013.13~24.04.1 | — |
| Ubuntu 24.04 LTS | linux-gcp-7.0 +1 | 7.0.0-1011.11~24.04.1 | USN-8728-3, USN-8728-1 |
| Ubuntu 24.04 LTS | linux-hwe-7.0 | 7.0.0-29.29~24.04.2 | USN-8629-3 |
| Ubuntu 24.04 LTS | linux-nvidia-6.17 | 6.17.0-1032.32 | USN-8748-1 |
| Ubuntu 24.04 LTS | linux-nvidia-7.0 | 7.0.0-1016.16~24.04.1 | USN-8663-1 |
| Ubuntu 24.04 LTS | linux-oem-6.17 | 6.17.0-1033.33 | USN-8911-1 |
| Ubuntu 24.04 LTS | linux-riscv +24 | No fix yet | — |
| Ubuntu 24.04 LTS | linux-riscv-7.0 | 7.0.0-30.30.1~24.04.1 | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime-6.14 +1 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | kernel-64kb +7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SLES 15 SP7 | kernel-default-base | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 |
| SLES 15 SP6 | kernel-64kb +6 | 6.4.0-150600.23.135.1 | SUSE-SU-2026:4369-1 |
| SLES 15 SP6 | kernel-default-base | 6.4.0-150600.23.135.1.150600.12.62.4 | SUSE-SU-2026:4369-1 |
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.182.1 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.182.1.150500.6.85.2 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.235.1 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.235.1.150400.24.118.3 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | kernel-64kb +8 | 6.12.0-160000.37.1 | SUSE-SU-2026:23231-1, SUSE-SU-2026:23221-1 |
| SLES for SAP 16.0 | kernel-default-base | 6.12.0-160000.37.1.160000.2.19 | SUSE-SU-2026:23231-1, SUSE-SU-2026:23221-1 |
| SLES for SAP 15 SP6 | kernel-default-base | 6.4.0-150600.23.135.1.150600.12.62.4 | SUSE-SU-2026:4369-1 |
| SLES for SAP 15 SP6 | kernel-docs +4 | 6.4.0-150600.23.135.1 | SUSE-SU-2026:4369-1 |
| SLES for SAP 15 SP5 | kernel-default-base | 5.14.21-150500.55.182.1.150500.6.85.2 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLES for SAP 15 SP5 | kernel-docs +4 | 5.14.21-150500.55.182.1 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.235.1.150400.24.118.3 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.235.1 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLES 16.0 | kernel-64kb +8 | 6.12.0-160000.37.1 | SUSE-SU-2026:23237-1, SUSE-SU-2026:23231-1, SUSE-SU-2026:23221-1 |
| SLES 16.0 | kernel-default-base | 6.12.0-160000.37.1.160000.2.19 | SUSE-SU-2026:23231-1, SUSE-SU-2026:23221-1 |
| SLE Micro 6.2 | kernel-default-base | 6.12.0-160000.37.1.160000.2.19 | SUSE-SU-2026:23068-1 |
| SLE Micro 6.2 | kernel-rt +5 | 6.12.0-160000.37.1 | SUSE-SU-2026:23068-1, SUSE-SU-2026:23066-1 |
| SLE Micro 6.1 | kernel-default-base | 6.4.0-52.1.21.34 | SUSE-SU-2026:23529-1 |
| SLE Micro 6.1 | kernel-rt +4 | 6.4.0-52.1 | SUSE-SU-2026:23529-1, SUSE-SU-2026:23528-1 |
| SLE Micro 6.0 | kernel-default-base | 6.4.0-52.1.21.36 | SUSE-SU-2026:23481-1 |
| SLE Micro 6.0 | kernel-rt +4 | 6.4.0-52.1 | SUSE-SU-2026:23481-1, SUSE-SU-2026:23477-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.182.1.150500.6.85.2 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.156.1 | SUSE-SU-2026:4347-1, SUSE-SU-2026:3617-1 |
| SLE Micro 5.5 | kernel-source +1 | 5.14.21-150500.55.182.1 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.235.1.150400.24.118.3 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.181.1 | SUSE-SU-2026:4279-1, SUSE-SU-2026:3616-1 |
| SLE Micro 5.4 | kernel-source +1 | 5.14.21-150400.24.235.1 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.235.1.150400.24.118.3 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.181.1 | SUSE-SU-2026:4279-1, SUSE-SU-2026:3616-1 |
| SLE Micro 5.3 | kernel-source +1 | 5.14.21-150400.24.235.1 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLE Live Patching 15 SP7 | kernel-default | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SLE Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_20 | 1-150700.1.3.1 | SUSE-SU-2026:4120-1 |
| SLE Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_21 | 1-150700.15.3.1 | SUSE-SU-2026:4254-1 |
| SLE Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.135.1 | SUSE-SU-2026:4369-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_31 | 1-150600.13.3.4 | SUSE-SU-2026:4369-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.182.1 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_44 | 1-150500.11.5.1 | SUSE-SU-2026:3595-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_45 | 1-150500.11.5.3 | SUSE-SU-2026:4595-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.235.1 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_58 | 1-150400.9.7.1 | SUSE-SU-2026:3593-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_59 | 1-150400.9.5.1 | SUSE-SU-2026:4284-1 |
| SLE HPC 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.182.1 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLE HPC 15 SP5 | kernel-default-base | 5.14.21-150500.55.182.1.150500.6.85.2 | SUSE-SU-2026:4595-1, SUSE-SU-2026:3595-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.235.1 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.235.1.150400.24.118.3 | SUSE-SU-2026:4284-1, SUSE-SU-2026:3593-1 |
| SUSE Real Time Module 15 SP7 | kernel-rt +2 | 6.4.0-150700.7.75.1 | SUSE-SU-2026:4120-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | kernel-default-base | 6.12.0-160000.37.1.160000.2.19 | openSUSE-SU-2026:21555-1 |
| openSUSE Leap 16.0 | kernel-rt +11 | 6.12.0-160000.37.1 | openSUSE-SU-2026:21555-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | kernel-uek +34 | 6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
Advisories 35
- USN-8663-1 linux-nvidia, linux-nvidia-7.0 vulnerabilities Ubuntu Security Notices (USN) · Nov 13, 2026
- USN-8728-1 linux-gcp-7.0 vulnerabilities Ubuntu Security Notices (USN) · Nov 13, 2026
- WID-SEC-2026-2077 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- USN-8728-2 linux-azure-7.0 vulnerabilities Ubuntu Security Notices (USN) · Nov 12, 2026
- USN-8728-3 linux-oracle-7.0 vulnerabilities Ubuntu Security Notices (USN) · Nov 12, 2026
- USN-8911-1 linux-oem-6.17 vulnerabilities Ubuntu Security Notices (USN) · Nov 9, 2026
- USN-8664-1 linux-nvidia-bos vulnerabilities Ubuntu Security Notices (USN) · Nov 9, 2026
- SUSE-SU-2026:4595-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Oct 9, 2026
- SUSE-SU-2026:4254-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Oct 8, 2026
- SUSE-SU-2026:4369-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Oct 2, 2026
- SUSE-SU-2026:4347-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4279-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 23, 2026
- SUSE-SU-2026:4284-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 23, 2026
- SUSE-SU-2026:23528-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 15, 2026
- SUSE-SU-2026:23529-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 15, 2026
- SUSE-SU-2026:23477-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 14, 2026
- SUSE-SU-2026:4120-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 14, 2026
- SUSE-SU-2026:23481-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 14, 2026
- USN-8637-1 linux-oem-7.0 vulnerabilities Ubuntu Security Notices (USN) · Sep 11, 2026
- USN-8660-1 linux-gcp, linux-gke vulnerabilities Ubuntu Security Notices (USN) · Sep 11, 2026
- USN-8629-1 linux, linux-aws, linux-azure, linux-azure-fde, linux-ibm, linux-oracle, linux-raspi, linux-realtime vulnerabilities Ubuntu Security Notices (USN) · Sep 11, 2026
- USN-8629-2 linux-aws-7.0 vulnerabilities Ubuntu Security Notices (USN) · Sep 11, 2026
- USN-8629-3 linux-hwe-7.0 vulnerabilities Ubuntu Security Notices (USN) · Sep 11, 2026
- USN-8748-1 linux-nvidia-6.17 vulnerabilities Ubuntu Security Notices (USN) · Sep 10, 2026
- SUSE-SU-2026:3595-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Sep 9, 2026
- ELSA-2026-500248 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 4, 2026
- SUSE-SU-2026:23231-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23237-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23221-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23066-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 15, 2026
- SUSE-SU-2026:23068-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 15, 2026
- SUSE-SU-2026:3616-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 14, 2026
- SUSE-SU-2026:3617-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 14, 2026
- SUSE-SU-2026:3593-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 13, 2026
- openSUSE-SU-2026:21555-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Aug 12, 2026