syzbot


INFO: rcu detected stall in ip_set_create

Status: auto-obsoleted due to no activity on 2024/09/20 03:19
Subsystems: mm
[Documentation on labels]
First crash: 272d, last: 272d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in ip_set_create (2) cgroups mm 1 169d 169d 0/28 auto-obsoleted due to no activity on 2025/01/01 12:19

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P12420/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=82773, q=445 ncpus=2)
task:syz-executor.1  state:R  running task     stack:21392 pid:12420 tgid:12418 ppid:10291  flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067
 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:read_word_at_a_time+0xe/0x20 include/asm-generic/rwonce.h:85
Code: 7c ce e8 f5 29 7d f6 eb c7 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 53 48 89 fb be 01 00 00 00 e8 e2 2b 7d f6 <48> 8b 03 5b e9 b4 97 31 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90
RSP: 0018:ffffc9001446e130 EFLAGS: 00000256
RAX: 1ffff11003036c01 RBX: ffff88802920c4b8 RCX: ffffffff8b7ea94e
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88802920c4b8
RBP: 0000000000000008 R08: ffff88802920c4b8 R09: 1ffff11005241897
R10: dffffc0000000000 R11: ffffed1005241898 R12: ffff8880181b64f8
R13: ffff88802920c4b0 R14: 0000000000000008 R15: 0000000000000000
 sized_strscpy+0x8d/0x220 lib/string.c:143
 __update_page_owner_handle mm/page_owner.c:251 [inline]
 __set_page_owner+0x285/0x800 mm/page_owner.c:325
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1468
 prep_new_page mm/page_alloc.c:1476 [inline]
 get_page_from_freelist+0x2e43/0x2f00 mm/page_alloc.c:3420
 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4678
 alloc_pages_preferred_many mm/mempolicy.c:2204 [inline]
 alloc_pages_mpol_noprof+0x12d/0x680 mm/mempolicy.c:2230
 get_free_pages_noprof+0xc/0x30 mm/page_alloc.c:4725
 kasan_populate_vmalloc_pte+0x38/0xe0 mm/kasan/shadow.c:304
 apply_to_pte_range mm/memory.c:2746 [inline]
 apply_to_pmd_range mm/memory.c:2790 [inline]
 apply_to_pud_range mm/memory.c:2826 [inline]
 apply_to_p4d_range mm/memory.c:2862 [inline]
 __apply_to_page_range+0x8aa/0xe50 mm/memory.c:2896
 alloc_vmap_area+0x1d41/0x23e0 mm/vmalloc.c:2034
 __get_vm_area_node+0x1a9/0x270 mm/vmalloc.c:3101
 __vmalloc_node_range_noprof+0x3bc/0x1460 mm/vmalloc.c:3783
 kvmalloc_node_noprof+0x142/0x190 mm/util.c:659
 hash_netiface_create+0x356/0x1040 net/netfilter/ipset/ip_set_hash_gen.h:1568
 ip_set_create+0xa5e/0x1900 net/netfilter/ipset/ip_set_core.c:1104
 nfnetlink_rcv_msg+0xbee/0x1180 net/netfilter/nfnetlink.c:302
 netlink_rcv_skb+0x1e5/0x430 net/netlink/af_netlink.c:2564
 nfnetlink_rcv+0x297/0x2a80 net/netfilter/nfnetlink.c:664
 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
 netlink_unicast+0x7ec/0x980 net/netlink/af_netlink.c:1361
 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x223/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2585
 ___sys_sendmsg net/socket.c:2639 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2668
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f66b8c7d0a9
RSP: 002b:00007f66b9aba0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f66b8db3f80 RCX: 00007f66b8c7d0a9
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005
RBP: 00007f66b8cec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f66b8db3f80 R15: 00007ffd8014b2d8
 </TASK>
rcu: rcu_preempt kthread starved for 10530 jiffies! g82773 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
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:24912 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6837
 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/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 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/22 03:08 upstream 4545981f33be edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in ip_set_create
* Struck through repros no longer work on HEAD.