BUG: soft lockup in sys_getsockopt (2)

Status: premoderation: reported on 2026/11/08 07:28
Reported-by: syzbot+d741644a14a538f7ea20@syzkaller.appspotmail.com
First crash: 10d, last: 10d
▶ ▼ Similar bugs (21)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (12) mm 1 syz, C error error 157 45d 745d 0/29 closed as invalid on 2026/10/06 01:52
upstream BUG: soft lockup in sys_getsockopt trace 1 1 2479d 2479d 0/29 auto-closed as invalid on 2020/05/04 01:54
android-5-10 BUG: soft lockup in sys_getsockopt 1 1 131d 131d 0/2 auto-obsoleted due to no activity on 2026/10/08 13:26
linux-5.15 BUG: soft lockup in sys_getsockopt 1 2 510d 532d 0/3 auto-obsoleted due to no activity on 2025/10/03 23:07
android-54 BUG: soft lockup in sys_getsockopt 1 1 945d 945d 0/2 auto-obsoleted due to no activity on 2024/07/15 21:19
android-5-15 BUG: soft lockup in sys_getsockopt 1 6 840d 939d 0/2 auto-obsoleted due to no activity on 2024/10/28 21:41
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 1 1519d 1519d 0/1 auto-obsoleted due to no activity on 2023/01/19 05:52
upstream INFO: rcu detected stall in sys_getsockopt (11) netfilter 1 4 1053d 1065d 0/29 auto-obsoleted due to no activity on 2024/03/30 17:47
linux-5.15 INFO: rcu detected stall in sys_getsockopt 1 1 1072d 1072d 0/3 auto-obsoleted due to no activity on 2024/03/21 16:23
linux-5.15 INFO: rcu detected stall in sys_getsockopt (2) 1 2 723d 758d 0/3 auto-obsoleted due to no activity on 2025/03/05 03:25
linux-6.6 INFO: rcu detected stall in sys_getsockopt (2) 1 1 361d 361d 0/2 auto-obsoleted due to no activity on 2026/03/02 01:54
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 1 3 1924d 1992d 0/29 auto-closed as invalid on 2021/11/10 12:58
linux-6.6 INFO: rcu detected stall in sys_getsockopt 1 1 490d 490d 0/2 auto-obsoleted due to no activity on 2025/10/24 08:59
upstream INFO: rcu detected stall in sys_getsockopt (7) netfilter 1 2 1781d 1830d 0/29 closed as invalid on 2022/02/08 10:10
linux-6.1 INFO: rcu detected stall in sys_getsockopt 1 4 989d 1146d 0/3 auto-obsoleted due to no activity on 2024/06/12 17:46
upstream INFO: rcu detected stall in sys_getsockopt (10) mm 1 9 1184d 1266d 0/29 auto-obsoleted due to no activity on 2023/11/20 15:28
linux-5.15 INFO: rcu detected stall in sys_getsockopt (3) 1 3 23d 96d 0/3 upstream: reported on 2026/08/14 04:57
linux-6.1 INFO: rcu detected stall in sys_getsockopt (2) origin:lts-only 1 syz, C error 6 91d 607d 0/3 upstream: reported C repro on 2025/03/21 07:27
upstream INFO: rcu detected stall in sys_getsockopt (9) kernel 1 6 1387d 1543d 0/29 auto-obsoleted due to no activity on 2023/05/01 05:21
upstream INFO: rcu detected stall in sys_getsockopt (8) net 1 2 1671d 1687d 0/29 auto-closed as invalid on 2022/07/21 00:25
linux-6.6 INFO: rcu detected stall in sys_getsockopt (3) 1 syz 2 53d 53d 0/2 upstream: reported syz repro on 2026/09/26 01:51

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 122s! [syz-executor:19181]
Modules linked in:
CPU: 0 PID: 19181 Comm: syz-executor Tainted: G        W         syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline]
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline]
RIP: 0010:kvm_wait+0xce/0x130 arch/x86/kernel/kvm.c:926
Code: 38 f0 75 26 41 f7 c4 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d 43 1c b8 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d 34 1c b8 03 fb f4 <4c> 89 64 24 18 ff 74 24 18 9d 48 c7 44 24 20 0e 36 e0 45 4b c7 04
RSP: 0018:ffffc90001146f80 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffffffff86eb4520 RCX: 0000000086eb4500
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffffff86eb4520
RBP: ffffc90001147030 R08: 0000000000000000 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff0dd68a4 R12: 0000000000000246
R13: eea36f431df7d460 R14: dffffc0000000000 R15: 1ffff92000228df4
FS:  00005555912a9500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555912c4918 CR3: 000000015c32c000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 pv_wait arch/x86/include/asm/paravirt.h:564 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x72d/0xb80 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline]
 queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:184 [inline]
 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_lock+0xe4/0xf0 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:355 [inline]
 alloc_vmap_area+0x218/0x19d0 mm/vmalloc.c:1216
 __get_vm_area_node+0x147/0x450 mm/vmalloc.c:2099
 __vmalloc_node_range+0xe7/0x7a0 mm/vmalloc.c:2598
 __vmalloc_node mm/vmalloc.c:2689 [inline]
 vzalloc+0x78/0x90 mm/vmalloc.c:2742
 alloc_counters+0x65/0x540 net/ipv4/netfilter/arp_tables.c:671
 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:692 [inline]
 get_entries net/ipv4/netfilter/arp_tables.c:876 [inline]
 do_arpt_get_ctl+0x9ec/0xff0 net/ipv4/netfilter/arp_tables.c:1469
 nf_getsockopt+0x26d/0x290 net/netfilter/nf_sockopt.c:116
 ip_getsockopt+0x134c/0x17a0 net/ipv4/ip_sockglue.c:1797
 tcp_getsockopt+0x1e2/0x1ff0 net/ipv4/tcp.c:4049
 sock_common_getsockopt+0x98/0xb0 net/core/sock.c:3305
 __sys_getsockopt+0x201/0x370 net/socket.c:2188
 __do_sys_getsockopt net/socket.c:2203 [inline]
 __se_sys_getsockopt net/socket.c:2200 [inline]
 __x64_sys_getsockopt+0xbf/0xd0 net/socket.c:2200
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f56737bd2ea
Code: 48 83 ec 10 89 d2 48 63 ff 45 31 c9 6a 2a 45 31 c0 31 c9 e8 d8 99 fb ff 48 83 c4 18 c3 0f 1f 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 e8 ff ff ff f7
RSP: 002b:00007ffe3ce8d598 EFLAGS: 00000212 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f56737bd2ea
RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffe3ce8d600 R08: 00007ffe3ce8d5ac R09: 0000000000000000
R10: 00007ffe3ce8d600 R11: 0000000000000212 R12: 00007ffe3ce8d5ac
R13: 00007f56738545fb R14: 000000000029bdbb R15: 00007ffe3ce8dcf0
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26404 Comm: syz.9.29336 Tainted: G        W         syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:filter_irq_stacks lib/stackdepot.c:402 [inline]
RIP: 0010:__stack_depot_save+0x5f/0x4c0 lib/stackdepot.c:292
Code: f8 90 01 a0 84 41 0f 93 c1 49 81 f8 f0 0d a0 84 41 0f 92 c2 49 81 f8 00 00 c0 84 40 0f 92 c6 49 81 f8 63 05 c0 84 41 0f 93 c0 <45> 84 d1 75 19 44 08 c6 74 14 49 ff c5 4c 39 e8 75 be 41 89 c5 eb
RSP: 0018:ffffc90000170768 EFLAGS: 00000293
RAX: 000000000000002b RBX: 0000000000000800 RCX: 0000000000000001
RDX: 0000000000000800 RSI: 0000000000000001 RDI: ffffc900001707d0
RBP: ffffc900001707c0 R08: ffffffff83a13900 R09: ffffc90000170700
R10: 0000000000000001 R11: fffff5200002e0dd R12: 0000000000000001
R13: 000000000000000c R14: ffff888168072508 R15: ffffc900001707d0
FS:  00007f5c817d86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c81795ff8 CR3: 0000000121825000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 kasan_save_stack mm/kasan/common.c:39 [inline]
 kasan_set_track+0x5b/0x70 mm/kasan/common.c:45
 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362
 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370
 kasan_slab_free include/linux/kasan.h:220 [inline]
 slab_free_hook mm/slub.c:1600 [inline]
 slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1626
 slab_free mm/slub.c:3208 [inline]
 kmem_cache_free+0x100/0x2d0 mm/slub.c:3224
 kfree_skbmem+0x10c/0x180 net/core/skbuff.c:-1
 __kfree_skb net/core/skbuff.c:695 [inline]
 kfree_skb+0xc1/0x2f0 net/core/skbuff.c:713
 ip6_mc_input+0x22b/0x290 net/ipv6/ip6_input.c:574
 dst_input include/net/dst.h:461 [inline]
 ip6_rcv_finish+0x18c/0x360 net/ipv6/ip6_input.c:80
 NF_HOOK include/linux/netfilter.h:299 [inline]
 ipv6_rcv+0xf0/0x230 net/ipv6/ip6_input.c:301
 __netif_receive_skb_one_core net/core/dev.c:5414 [inline]
 __netif_receive_skb+0xc8/0x280 net/core/dev.c:5528
 process_backlog+0x351/0x600 net/core/dev.c:6435
 napi_poll net/core/dev.c:6886 [inline]
 net_rx_action+0x48d/0xed0 net/core/dev.c:6956
 __do_softirq+0x255/0x563 kernel/softirq.c:309
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:405 [inline]
 __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:__sanitizer_cov_trace_pc+0x59/0x60 kernel/kcov.c:196
Code: 2c 8b 91 b8 0a 00 00 83 fa 02 75 21 48 8b 91 c0 0a 00 00 48 8b 32 48 8d 7e 01 8b 89 bc 0a 00 00 48 39 cf 73 08 48 89 44 f2 08 <48> 89 3a 5d c3 66 90 55 48 89 e5 48 8b 45 08 65 48 8b 15 50 b6 9d
RSP: 0018:ffffc900010b70b0 EFLAGS: 00000287
RAX: ffffffff81a3de09 RBX: 0000000000000078 RCX: 0000000000080000
RDX: ffffc90018a00000 RSI: 0000000000005711 RDI: 0000000000005712
RBP: ffffc900010b70b0 R08: ffffc900010b7050 R09: ffffc900010b7048
R10: 000000000000000f R11: fffff52000216dfd R12: ffffffff81a3dbd6
R13: ffffffff81303967 R14: 1ffff92000216e1c R15: 0000000000000050
 check_recursive_alloc mm/page_owner.c:133 [inline]
 save_stack+0x129/0x230 mm/page_owner.c:156
 __reset_page_owner+0x36/0x140 mm/page_owner.c:174
 reset_page_owner include/linux/page_owner.h:28 [inline]
 free_pages_prepare mm/page_alloc.c:1349 [inline]
 free_pcp_prepare mm/page_alloc.c:1421 [inline]
 free_unref_page_prepare+0x2b7/0x2d0 mm/page_alloc.c:3336
 free_unref_page mm/page_alloc.c:3391 [inline]
 free_the_page mm/page_alloc.c:5443 [inline]
 __free_pages+0x146/0x390 mm/page_alloc.c:5454
 free_pages+0x82/0x90 mm/page_alloc.c:5465
 kasan_depopulate_vmalloc_pte+0x6b/0x90 mm/kasan/shadow.c:354
 apply_to_pte_range mm/memory.c:2504 [inline]
 apply_to_pmd_range mm/memory.c:2540 [inline]
 apply_to_pud_range mm/memory.c:2568 [inline]
 apply_to_p4d_range mm/memory.c:2596 [inline]
 __apply_to_page_range+0x790/0xa20 mm/memory.c:2623
 apply_to_existing_page_range+0x38/0x50 mm/memory.c:2874
 kasan_release_vmalloc+0x97/0xb0 mm/kasan/shadow.c:464
 __purge_vmap_area_lazy+0x1326/0x1440 mm/vmalloc.c:1382
 _vm_unmap_aliases+0x2ec/0x370 mm/vmalloc.c:1779
 vm_unmap_aliases+0x19/0x20 mm/vmalloc.c:1802
 change_page_attr_set_clr+0x317/0xc10 arch/x86/mm/pat/set_memory.c:1732
 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1789 [inline]
 set_memory_ro+0x89/0xd0 arch/x86/mm/pat/set_memory.c:1935
 bpf_jit_binary_lock_ro include/linux/filter.h:846 [inline]
 bpf_int_jit_compile+0x8473/0x8930 arch/x86/net/bpf_jit_comp.c:2134
 bpf_prog_select_runtime+0x840/0xae0 kernel/bpf/core.c:1880
 bpf_prog_load+0x1031/0x14e0 kernel/bpf/syscall.c:2238
 __do_sys_bpf kernel/bpf/syscall.c:4435 [inline]
 __se_sys_bpf+0x49a/0x740 kernel/bpf/syscall.c:4391
 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f5c82d80b19
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5c817d8028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f5c83006fa0 RCX: 00007f5c82d80b19
RDX: 0000000000000094 RSI: 0000200000001140 RDI: 0000000000000005
RBP: 00007f5c82e18b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5c83007038 R14: 00007f5c83006fa0 R15: 00007ffd4154a678

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/08 07:27 android13-5.10-lts f61a392235e0 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_getsockopt
* Struck through repros no longer work on HEAD.