syzbot


INFO: rcu detected stall in sendmsg (3)

Status: upstream: reported on 2024/07/26 13:03
Reported-by: syzbot+c860512db72d55d7ab2b@syzkaller.appspotmail.com
First crash: 117d, last: 50d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sendmsg net 1 1142d 1142d 0/28 auto-closed as invalid on 2022/01/03 17:11
linux-6.1 INFO: rcu detected stall in sendmsg (2) 1 240d 240d 0/3 auto-obsoleted due to no activity on 2024/07/04 03:49
upstream INFO: rcu detected stall in sendmsg (2) batman 1 1012d 1012d 0/28 auto-closed as invalid on 2022/05/13 12:25
upstream INFO: rcu detected stall in sendmsg (4) net C error 28 4d05h 181d 0/28 upstream: reported C repro on 2024/05/24 06:18
upstream INFO: rcu detected stall in sendmsg (3) net 4 289d 373d 0/28 auto-obsoleted due to no activity on 2024/05/05 18:15
linux-6.1 INFO: rcu detected stall in sendmsg 1 474d 474d 0/3 auto-obsoleted due to no activity on 2023/11/12 19:28

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (10500 ticks this GP) idle=7074/1/0x4000000000000000 softirq=63988/63988 fqs=0
	(t=10501 jiffies g=90017 q=193 ncpus=2)
rcu: rcu_preempt kthread starved for 10502 jiffies! g90017 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:26472 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5241 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 17642 Comm: syz.1.4589 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:deref_stack_reg+0x13/0x210 arch/x86/kernel/unwind_orc.c:356
Code: e1 07 38 c1 0f 8c f1 f7 ff ff 48 89 df e8 b5 5a a5 00 e9 e4 f7 ff ff 55 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 89 54 24 18 <49> 89 f0 49 89 fe 48 ba 00 00 00 00 00 fc ff df 48 8d 6f 08 49 89
RSP: 0018:ffffc900001e0388 EFLAGS: 00000286
RAX: fffffffffffffff0 RBX: ffffffff8f19221c RCX: 0000000000000000
RDX: ffffc900001e0500 RSI: ffffc900001e0df0 RDI: ffffc900001e04c0
RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffc900001e0510
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900001e04c0
R13: ffffffff8f19221e R14: ffffffff8f19221d R15: ffffc900001e0510
FS:  00007f33d5c606c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c214ff8 CR3: 0000000086649000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 unwind_next_frame+0x18db/0x2220
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
 kasan_slab_free include/linux/kasan.h:177 [inline]
 slab_free_hook mm/slub.c:1724 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674
 skb_free_head net/core/skbuff.c:762 [inline]
 skb_release_data+0x5de/0x7a0 net/core/skbuff.c:791
 skb_release_all net/core/skbuff.c:856 [inline]
 __kfree_skb+0x4c/0x60 net/core/skbuff.c:870
 tcp_write_queue_purge+0x132/0x2f0 net/ipv4/tcp.c:3099
 tcp_done_with_error+0x3d/0xc0 net/ipv4/tcp_input.c:4366
 tcp_write_err net/ipv4/tcp_timer.c:70 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:273 [inline]
 tcp_retransmit_timer+0x12ca/0x2800 net/ipv4/tcp_timer.c:547
 tcp_write_timer+0x12e/0x280 net/ipv4/tcp_timer.c:676
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__up_read+0x25e/0x690 kernel/locking/rwsem.c:1350
Code: 00 74 96 4c 89 ff e8 c1 66 78 00 eb 8c 48 8b 1c 24 48 89 df be 08 00 00 00 e8 ce 67 78 00 49 c7 c4 00 ff ff ff f0 4c 0f c1 23 <48> c7 c0 28 2e 9a 8e 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df 0f
RSP: 0018:ffffc9000b417500 EFLAGS: 00000247
RAX: 0000000000000001 RBX: ffff88801b3c1ee8 RCX: ffffffff8169cb52
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88801b3c1ee8
RBP: ffffc9000b4175b8 R08: dffffc0000000000 R09: ffffed10036783de
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000100
R13: ffff88801b3c1ef0 R14: 1ffff110036783de R15: ffffc9000b417540
 mmap_read_unlock include/linux/mmap_lock.h:144 [inline]
 do_user_addr_fault arch/x86/mm/fault.c:1368 [inline]
 handle_page_fault arch/x86/mm/fault.c:1431 [inline]
 exc_page_fault+0x357/0x620 arch/x86/mm/fault.c:1487
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 arch/x86/lib/copy_user_64.S:166
Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 <f3> a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc9000b4176d0 EFLAGS: 00050206
RAX: ffffffff8437bc01 RBX: 00007fffffffb809 RCX: 00000000000022ff
RDX: 00000000000037f7 RSI: 00000000200ee000 RDI: ffff8880831edd01
RBP: ffffc9000b417850 R08: dffffc0000000000 R09: ffffed101063e000
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000037f7
R13: 0000000000000000 R14: ffff8880831ec809 R15: 00000000200ecb08
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline]
 copyin+0xd8/0x120 lib/iov_iter.c:183
 _copy_from_iter+0x493/0xff0 lib/iov_iter.c:631
 copy_from_iter include/linux/uio.h:187 [inline]
 copy_from_iter_full include/linux/uio.h:194 [inline]
 skb_do_copy_data_nocache include/net/sock.h:2311 [inline]
 skb_copy_to_page_nocache include/net/sock.h:2337 [inline]
 tcp_sendmsg_locked+0x173b/0x4100 net/ipv4/tcp.c:1383
 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1490
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
 ___sys_sendmsg net/socket.c:2568 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2597
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f33d4d7dff9
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:00007f33d5c60038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f33d4f35f80 RCX: 00007f33d4d7dff9
RDX: 00000000000052cc RSI: 0000000020000040 RDI: 000000000000000c
RBP: 00007f33d4df0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f33d4f35f80 R15: 00007fffbd0aa268
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 17658 Comm: syz.3.4596 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x7b/0x290 mm/kasan/generic.c:189
Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf
RSP: 0018:ffffc90000006cf8 EFLAGS: 00000046
RAX: ffffffff81b04f01 RBX: 1ffff92000000db0 RCX: ffffffff81b04fe7
RDX: 0000000000000001 RSI: 0000000000000038 RDI: ffffc90000006d80
RBP: 0000000000000007 R08: dffffc0000000000 R09: fffff52000000db5
R10: fffffffffffffffe R11: dffffc0000000001 R12: ffffc90000006f40
R13: ffffc90000006de0 R14: fffff52000000db7 R15: ffffc90000006de0
FS:  00007f6fdfeb26c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33f05ff8 CR3: 0000000079266000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 memset+0x1f/0x40 mm/kasan/shadow.c:44
 __perf_event_output kernel/events/core.c:7695 [inline]
 perf_event_output_forward+0xa7/0x330 kernel/events/core.c:7722
 __perf_event_overflow+0x45e/0x640 kernel/events/core.c:9468
 perf_swevent_hrtimer+0x38e/0x4f0 kernel/events/core.c:10876
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:stack_trace_consume_entry+0x120/0x270 kernel/stacktrace.c:94
Code: 48 89 df 49 89 d6 49 89 f5 e8 ac c4 69 00 4d 89 f9 4c 89 ee 4c 89 f2 48 89 33 41 8b 19 41 0f b6 04 14 84 c0 0f 85 30 01 00 00 <3b> 5d 00 0f 92 c0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 44
RSP: 0018:ffffc90000007470 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff8fdb3000
RDX: dffffc0000000000 RSI: ffffffff81e20826 RDI: ffffc900000075ac
RBP: ffffc900000075a8 R08: 0000000000000002 R09: ffffc900000075b0
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000eb5
R13: 1ffff92000000eb5 R14: 0000000000000003 R15: 1ffff92000000eb6
 arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
 kasan_slab_free include/linux/kasan.h:177 [inline]
 slab_free_hook mm/slub.c:1724 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674
 skb_free_head net/core/skbuff.c:762 [inline]
 skb_release_data+0x5de/0x7a0 net/core/skbuff.c:791
 skb_release_all net/core/skbuff.c:856 [inline]
 __kfree_skb+0x4c/0x60 net/core/skbuff.c:870
 tcp_write_queue_purge+0x132/0x2f0 net/ipv4/tcp.c:3099
 tcp_done_with_error+0x3d/0xc0 net/ipv4/tcp_input.c:4366
 tcp_write_err net/ipv4/tcp_timer.c:70 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:273 [inline]
 tcp_retransmit_timer+0x12ca/0x2800 net/ipv4/tcp_timer.c:547
 tcp_write_timer+0x12e/0x280 net/ipv4/tcp_timer.c:676
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6870
Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 e9 22 af f6 e8 14 1f e2 f6 fb bf 01 00 00 00 <e8> 79 b4 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 d9 de 32 f7 48
RSP: 0018:ffffc9001013f060 EFLAGS: 00000286
RAX: 6e5af8ef9cc56100 RBX: 1ffff92002027e14 RCX: ffffffff97334103
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001
RBP: ffffc9001013f110 R08: ffffffff81b659cc R09: ffffed10171c6ad6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002027e0c
R13: 1ffff92002027e10 R14: ffffc9001013f080 R15: dffffc0000000000
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__vunmap+0x7bd/0x9a0 mm/vmalloc.c:2708
Code: 25 b6 ff 45 85 e4 0f 84 f1 00 00 00 49 8d 56 2c 49 89 d4 49 c1 ec 03 43 0f b6 04 3c 84 c0 48 89 14 24 0f 85 76 01 00 00 8b 1a <31> ff 89 de e8 4a 25 b6 ff 85 db 0f 84 c9 00 00 00 4d 8d 6e 20 bd
RSP: 0018:ffffc9001013f1d0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000040000
RDX: ffff88806891022c RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81d48d26 R09: fffffbfff1d33f33
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100d122045
R13: 1ffff1100d122043 R14: ffff888068910200 R15: dffffc0000000000
 bpf_check+0xf721/0x16140 kernel/bpf/verifier.c:15710
 bpf_prog_load+0x12df/0x1bb0 kernel/bpf/syscall.c:2646
 __sys_bpf+0x382/0x6c0 kernel/bpf/syscall.c:5020
 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5122 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6fdf17dff9
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:00007f6fdfeb2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f6fdf335f80 RCX: 00007f6fdf17dff9
RDX: 0000000000000090 RSI: 00000000200000c0 RDI: 0000000000000005
RBP: 00007f6fdf1f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6fdf335f80 R15: 00007ffd02c42cb8
 </TASK>
CPU: 1 PID: 17642 Comm: syz.1.4589 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:deref_stack_reg+0x13/0x210 arch/x86/kernel/unwind_orc.c:356
Code: e1 07 38 c1 0f 8c f1 f7 ff ff 48 89 df e8 b5 5a a5 00 e9 e4 f7 ff ff 55 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 89 54 24 18 <49> 89 f0 49 89 fe 48 ba 00 00 00 00 00 fc ff df 48 8d 6f 08 49 89
RSP: 0018:ffffc900001e0388 EFLAGS: 00000286
RAX: fffffffffffffff0 RBX: ffffffff8f19221c RCX: 0000000000000000
RDX: ffffc900001e0500 RSI: ffffc900001e0df0 RDI: ffffc900001e04c0
RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffc900001e0510
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900001e04c0
R13: ffffffff8f19221e R14: ffffffff8f19221d R15: ffffc900001e0510
FS:  00007f33d5c606c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c214ff8 CR3: 0000000086649000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 unwind_next_frame+0x18db/0x2220
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
 kasan_slab_free include/linux/kasan.h:177 [inline]
 slab_free_hook mm/slub.c:1724 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674
 skb_free_head net/core/skbuff.c:762 [inline]
 skb_release_data+0x5de/0x7a0 net/core/skbuff.c:791
 skb_release_all net/core/skbuff.c:856 [inline]
 __kfree_skb+0x4c/0x60 net/core/skbuff.c:870
 tcp_write_queue_purge+0x132/0x2f0 net/ipv4/tcp.c:3099
 tcp_done_with_error+0x3d/0xc0 net/ipv4/tcp_input.c:4366
 tcp_write_err net/ipv4/tcp_timer.c:70 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:273 [inline]
 tcp_retransmit_timer+0x12ca/0x2800 net/ipv4/tcp_timer.c:547
 tcp_write_timer+0x12e/0x280 net/ipv4/tcp_timer.c:676
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__up_read+0x25e/0x690 kernel/locking/rwsem.c:1350
Code: 00 74 96 4c 89 ff e8 c1 66 78 00 eb 8c 48 8b 1c 24 48 89 df be 08 00 00 00 e8 ce 67 78 00 49 c7 c4 00 ff ff ff f0 4c 0f c1 23 <48> c7 c0 28 2e 9a 8e 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df 0f
RSP: 0018:ffffc9000b417500 EFLAGS: 00000247
RAX: 0000000000000001 RBX: ffff88801b3c1ee8 RCX: ffffffff8169cb52
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88801b3c1ee8
RBP: ffffc9000b4175b8 R08: dffffc0000000000 R09: ffffed10036783de
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000100
R13: ffff88801b3c1ef0 R14: 1ffff110036783de R15: ffffc9000b417540
 mmap_read_unlock include/linux/mmap_lock.h:144 [inline]
 do_user_addr_fault arch/x86/mm/fault.c:1368 [inline]
 handle_page_fault arch/x86/mm/fault.c:1431 [inline]
 exc_page_fault+0x357/0x620 arch/x86/mm/fault.c:1487
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 arch/x86/lib/copy_user_64.S:166
Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 <f3> a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc9000b4176d0 EFLAGS: 00050206
RAX: ffffffff8437bc01 RBX: 00007fffffffb809 RCX: 00000000000022ff
RDX: 00000000000037f7 RSI: 00000000200ee000 RDI: ffff8880831edd01
RBP: ffffc9000b417850 R08: dffffc0000000000 R09: ffffed101063e000
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000037f7
R13: 0000000000000000 R14: ffff8880831ec809 R15: 00000000200ecb08
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline]
 copyin+0xd8/0x120 lib/iov_iter.c:183
 _copy_from_iter+0x493/0xff0 lib/iov_iter.c:631
 copy_from_iter include/linux/uio.h:187 [inline]
 copy_from_iter_full include/linux/uio.h:194 [inline]
 skb_do_copy_data_nocache include/net/sock.h:2311 [inline]
 skb_copy_to_page_nocache include/net/sock.h:2337 [inline]
 tcp_sendmsg_locked+0x173b/0x4100 net/ipv4/tcp.c:1383
 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1490
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
 ___sys_sendmsg net/socket.c:2568 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2597
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f33d4d7dff9
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:00007f33d5c60038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f33d4f35f80 RCX: 00007f33d4d7dff9
RDX: 00000000000052cc RSI: 0000000020000040 RDI: 000000000000000c
RBP: 00007f33d4df0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f33d4f35f80 R15: 00007fffbd0aa268
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/01 18:13 linux-6.1.y aa4cd140bba5 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sendmsg
2024/09/28 06:14 linux-6.1.y e526b12bf916 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sendmsg
2024/08/24 02:58 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sendmsg
2024/07/26 13:03 linux-6.1.y c18e82d3ee44 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sendmsg
* Struck through repros no longer work on HEAD.