syzbot


WARNING in strp_data_ready

Status: upstream: reported C repro on 2021/12/29 15:47
Reported-by: syzbot+da1983a310b096713c38@syzkaller.appspotmail.com
First crash: 901d, last: 485d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in strp_data_ready net C 59034 2358d 2428d 3/27 fixed on 2018/01/17 19:25
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2023/02/18 10:09 31m bisect fix linux-4.14.y job log (0) log
2023/01/19 09:31 29m bisect fix linux-4.14.y job log (0) log
2022/08/29 20:14 23m bisect fix linux-4.14.y job log (0) log
2022/06/13 05:26 23m bisect fix linux-4.14.y job log (0) log
2022/04/28 01:28 25m bisect fix linux-4.14.y job log (0) log
2022/03/13 23:10 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7973 at include/net/sock.h:1520 sock_owned_by_me include/net/sock.h:1520 [inline]
WARNING: CPU: 1 PID: 7973 at include/net/sock.h:1520 sock_owned_by_user include/net/sock.h:1526 [inline]
WARNING: CPU: 1 PID: 7973 at include/net/sock.h:1520 strp_data_ready+0x2a2/0x330 net/strparser/strparser.c:390
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7973 Comm: syz-executor986 Not tainted 4.14.264-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:sock_owned_by_me include/net/sock.h:1520 [inline]
RIP: 0010:sock_owned_by_user include/net/sock.h:1526 [inline]
RIP: 0010:strp_data_ready+0x2a2/0x330 net/strparser/strparser.c:390
RSP: 0018:ffff8880ba507838 EFLAGS: 00010206
RAX: ffff888099482100 RBX: ffff888095f3b648 RCX: 1ffffffff127a3cc
RDX: 0000000000000100 RSI: 00000000ffffffff RDI: 0000000000000286
RBP: ffff8880a225ae40 R08: ffffffff8b9dcd30 R09: 0000000000058f20
R10: ffff888099482a50 R11: ffff888099482100 R12: ffff888095f3b650
R13: ffff8880a225aea0 R14: ffff8880a225afe0 R15: 0000000000010100
 psock_data_ready+0x51/0x70 net/kcm/kcmsock.c:353
 __sock_queue_rcv_skb+0x4ec/0xc10 net/core/sock.c:470
 sock_queue_rcv_skb+0x37/0x50 net/core/sock.c:483
 rawv6_rcv_skb net/ipv6/raw.c:406 [inline]
 rawv6_rcv+0x4bb/0xf70 net/ipv6/raw.c:457
 ipv6_raw_deliver net/ipv6/raw.c:224 [inline]
 raw6_local_deliver+0x3ea/0xa30 net/ipv6/raw.c:240
 ip6_input_finish+0x427/0x1580 net/ipv6/ip6_input.c:246
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ip6_input+0xb9/0x300 net/ipv6/ip6_input.c:327
 dst_input include/net/dst.h:476 [inline]
 ip6_rcv_finish+0x23b/0x7a0 net/ipv6/ip6_input.c:71
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ipv6_rcv+0xac7/0x1b60 net/ipv6/ip6_input.c:208
 __netif_receive_skb_core+0x15ee/0x2a30 net/core/dev.c:4474
 __netif_receive_skb+0x27/0x1a0 net/core/dev.c:4512
 process_backlog+0x218/0x6f0 net/core/dev.c:5195
 napi_poll net/core/dev.c:5604 [inline]
 net_rx_action+0x466/0xfd0 net/core/dev.c:5670
 __do_softirq+0x24d/0x9ff kernel/softirq.c:288
 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1016
 </IRQ>
 do_softirq.part.0+0x154/0x1b0 kernel/softirq.c:332
 do_softirq kernel/softirq.c:324 [inline]
 __local_bh_enable_ip+0x12b/0x170 kernel/softirq.c:185
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:725 [inline]
 ip6_finish_output2+0xf9e/0x1f10 net/ipv6/ip6_output.c:121
 ip6_finish_output+0x5c6/0xd50 net/ipv6/ip6_output.c:192
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip6_output+0x1c5/0x660 net/ipv6/ip6_output.c:209
 dst_output include/net/dst.h:470 [inline]
 ip6_local_out+0x93/0x170 net/ipv6/output_core.c:160
 ip6_send_skb+0x9b/0x2f0 net/ipv6/ip6_output.c:1726
 ip6_push_pending_frames+0xaf/0xd0 net/ipv6/ip6_output.c:1746
 rawv6_push_pending_frames net/ipv6/raw.c:618 [inline]
 rawv6_sendmsg+0x230b/0x2df0 net/ipv6/raw.c:959
 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 sock_no_sendpage+0xe2/0x110 net/core/sock.c:2613
 kernel_sendpage+0x82/0xd0 net/socket.c:3407
 kcm_write_msgs+0x33b/0x1820 net/kcm/kcmsock.c:646
 kcm_sendmsg+0x177c/0x1e10 net/kcm/kcmsock.c:1035
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 sock_write_iter+0x22c/0x370 net/socket.c:925
 call_write_iter include/linux/fs.h:1780 [inline]
 new_sync_write fs/read_write.c:469 [inline]
 __vfs_write+0x44c/0x630 fs/read_write.c:482
 vfs_write+0x17f/0x4d0 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xf2/0x210 fs/read_write.c:582
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f3ba4770c19
RSP: 002b:00007f3ba47222f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3ba47f9400 RCX: 00007f3ba4770c19
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f3ba47c67d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3ba47c6078
R13: 656c6c616b7a7973 R14: 0100000000000000 R15: 00007f3ba47f9408
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/03 16:55 linux-4.14.y b86ee2b7ae42 4ebb2798 .config console log report syz C ci2-linux-4-14 WARNING in strp_data_ready
2021/12/29 20:07 linux-4.14.y a6ca7c65b137 6cc879d4 .config console log report syz C ci2-linux-4-14 WARNING in strp_data_ready
2022/10/02 05:25 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz [disk image] [vmlinux] ci2-linux-4-14 WARNING in strp_data_ready
2022/05/13 18:56 linux-4.14.y 569d1abf9402 7ce5a022 .config console log report syz ci2-linux-4-14 WARNING in strp_data_ready
2022/10/24 13:04 linux-4.14.y 9d5c0b3a8e1a faae2fda .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in strp_data_ready
2022/07/27 06:04 linux-4.14.y 9c3bf9cf362f ae971e66 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/07/11 11:58 linux-4.14.y 1048779a1d7d f3f217ff .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/06/29 13:57 linux-4.14.y f051383ef03b 1434eec0 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/06/20 12:39 linux-4.14.y 84bae26850e3 b9406563 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/05/14 05:14 linux-4.14.y 569d1abf9402 107f6434 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/03/28 21:32 linux-4.14.y af1af6ebca0e 6bdac766 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/02/11 09:47 linux-4.14.y 8034e99d1a01 0b33604d .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/02/03 13:23 linux-4.14.y b86ee2b7ae42 4ebb2798 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2022/01/14 12:48 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
2021/12/29 15:46 linux-4.14.y a6ca7c65b137 6cc879d4 .config console log report info ci2-linux-4-14 WARNING in strp_data_ready
* Struck through repros no longer work on HEAD.