syzbot


INFO: rcu detected stall in compat_sys_socketcall (2)

Status: auto-obsoleted due to no activity on 2025/04/15 11:01
Subsystems: mm
[Documentation on labels]
First crash: 379d, last: 224d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in compat_sys_socketcall netfilter 1 2 539d 543d 0/29 auto-obsoleted due to no activity on 2024/06/04 10:46
upstream INFO: rcu detected stall in compat_sys_socketcall (3) mm 1 2 115d 119d 0/29 auto-obsoleted due to no activity on 2025/08/03 00:04

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P11508/1:b..l
rcu: 	(detected by 1, t=10503 jiffies, g=182665, q=253 ncpus=2)
task:syz-executor    state:R  running task     stack:20256 pid:11508 tgid:11508 ppid:1      flags:0x20004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5369 [inline]
 __schedule+0x1850/0x4c30 kernel/sched/core.c:6756
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:unwind_get_return_address+0x9/0x90 arch/x86/kernel/unwind_orc.c:365
Code: ff ff e8 7a 42 7d 0a 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 <48> 89 fb 49 be 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 42 0f
RSP: 0018:ffffc90003f96c00 EFLAGS: 00000202
RAX: 0000000080000001 RBX: ffffc90003f96c20 RCX: 0000000080000000
RDX: dffffc0000000000 RSI: ffffc90003f90000 RDI: ffffc90003f96c20
RBP: ffffc90003f96cb0 R08: ffffc90003f97a10 R09: 0000000000000000
R10: ffffc90003f96c70 R11: fffff520007f2d90 R12: ffff88802d56bc00
R13: ffffffff818b4af0 R14: ffffc90003f96d00 R15: 0000000000000000
 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 save_stack+0xfb/0x1f0 mm/page_owner.c:156
 __reset_page_owner+0x76/0x430 mm/page_owner.c:297
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1127 [inline]
 free_unref_page+0xd3f/0x1010 mm/page_alloc.c:2659
 discard_slab mm/slub.c:2688 [inline]
 __put_partials+0x160/0x1c0 mm/slub.c:3157
 put_cpu_partial+0x17c/0x250 mm/slub.c:3232
 __slab_free+0x290/0x380 mm/slub.c:4483
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
 __kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:385
 kasan_kmalloc include/linux/kasan.h:260 [inline]
 __do_kmalloc_node mm/slub.c:4298 [inline]
 __kmalloc_node_noprof+0x290/0x4d0 mm/slub.c:4304
 kmalloc_node_noprof include/linux/slab.h:928 [inline]
 __vmalloc_area_node mm/vmalloc.c:3647 [inline]
 __vmalloc_node_range_noprof+0x561/0x1380 mm/vmalloc.c:3846
 __vmalloc_node_noprof mm/vmalloc.c:3911 [inline]
 vmalloc_noprof+0x79/0x90 mm/vmalloc.c:3944
 xt_compat_init_offsets+0xe2/0x1c0 net/netfilter/x_tables.c:733
 ebt_compat_init_offsets net/bridge/netfilter/ebtables.c:1832 [inline]
 compat_table_info+0xbe/0xd40 net/bridge/netfilter/ebtables.c:1843
 compat_do_ebt_get_ctl net/bridge/netfilter/ebtables.c:2432 [inline]
 do_ebt_get_ctl+0x1232/0x29f0 net/bridge/netfilter/ebtables.c:2460
 nf_getsockopt+0x299/0x2c0 net/netfilter/nf_sockopt.c:116
 ip_getsockopt+0x222/0x2e0 net/ipv4/ip_sockglue.c:1777
 tcp_getsockopt+0x163/0x1c0 net/ipv4/tcp.c:4671
 do_sock_getsockopt+0x3c4/0x7e0 net/socket.c:2374
 __sys_getsockopt+0x232/0x300 net/socket.c:2403
 __do_compat_sys_socketcall net/compat.c:494 [inline]
 __se_compat_sys_socketcall+0x349/0x1430 net/compat.c:423
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7fc2579
RSP: 002b:00000000f75af690 EFLAGS: 00000206 ORIG_RAX: 0000000000000066
RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00000000f75af6c8
RDX: 00000000f75af74c RSI: 00000000f75af750 RDI: 00000000f7453ff4
RBP: 00000000f75af750 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
rcu: rcu_preempt kthread starved for 407 jiffies! g182665 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:25784 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5369 [inline]
 __schedule+0x1850/0x4c30 kernel/sched/core.c:6756
 __schedule_loop kernel/sched/core.c:6833 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6848
 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:is_multicast_ether_addr include/linux/etherdevice.h:132 [inline]
RIP: 0010:is_valid_ether_addr include/linux/etherdevice.h:208 [inline]
RIP: 0010:br_handle_frame+0x1c2/0x1530 net/bridge/br_input.c:334
Code: 49 8b 1c 24 48 8b 44 24 28 42 0f b6 04 38 84 c0 0f 85 e1 0e 00 00 48 8b 44 24 10 0f b7 00 4c 8d 74 03 06 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 e1 0e 00 00 41 8b 1e 89 de 83 e6 01 31
RSP: 0018:ffffc90000157300 EFLAGS: 00000a02
RAX: 1ffff1100947bb01 RBX: ffff88804a3dd800 RCX: ffff88801d2bda00
RDX: 0000000000000100 RSI: 0000000000000002 RDI: 000000000000ffff
RBP: ffffc90000157430 R08: ffffffff8a91ef4e R09: ffffffff89975148
R10: 0000000000000002 R11: ffffffff8a91ede0 R12: ffff888049d95210
R13: 1ffff110093b2a42 R14: ffff88804a3dd808 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f3f20218 CR3: 000000007c71c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 __netif_receive_skb_core+0x14eb/0x4690 net/core/dev.c:5598
 __netif_receive_skb_one_core net/core/dev.c:5702 [inline]
 __netif_receive_skb+0x12f/0x650 net/core/dev.c:5817
 process_backlog+0x662/0x15b0 net/core/dev.c:6149
 __napi_poll+0xcb/0x490 net/core/dev.c:6902
 napi_poll net/core/dev.c:6971 [inline]
 net_rx_action+0x89b/0x1240 net/core/dev.c:7093
 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
 run_ksoftirqd+0xca/0x130 kernel/softirq.c:950
 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
vkms_vblank_simulate: vblank timer overrun
vkms_vblank_simulate: vblank timer overrun
hrtimer: interrupt took 1290968207 ns
vkms_vblank_simulate: vblank timer overrun
net_ratelimit: 26574 callbacks suppressed
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
net_ratelimit: 30931 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:9a:38:fd:c0:be:f8, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/15 10:55 upstream 619f0b6fad52 7315a7cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/11/07 18:21 upstream ff7afaeca1a1 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/10/12 06:28 upstream 9e4c6c1ad9a1 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/10/10 07:36 upstream b983b271662b 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/09/24 00:00 upstream de5cb0dcb74c 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/08/21 14:29 upstream b311c1b497e5 db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/08/13 11:08 upstream d74da846046a 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
* Struck through repros no longer work on HEAD.