WARNING in strp_data_ready

6 views
Skip to first unread message

syzbot

unread,
Dec 29, 2021, 10:47:24 AM12/29/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: a6ca7c65b137 Linux 4.14.260
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=166d1f85b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=6eeb01284ed5abab
dashboard link: https://syzkaller.appspot.com/bug?extid=da1983a310b096713c38
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+da1983...@syzkaller.appspotmail.com

UDF-fs: error (device loop4): udf_process_sequence: Block 99 of volume descriptor sequence is corrupted or we could not read it
UDF-fs: error (device loop4): udf_process_sequence: Block 1984 of volume descriptor sequence is corrupted or we could not read it
UDF-fs: Scanning with blocksize 1024 failed
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7 at include/net/sock.h:1520 sock_owned_by_me include/net/sock.h:1520 [inline]
WARNING: CPU: 0 PID: 7 at include/net/sock.h:1520 sock_owned_by_user include/net/sock.h:1526 [inline]
WARNING: CPU: 0 PID: 7 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: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__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:ffff8880b541f6b0 EFLAGS: 00010206
RAX: ffff8880b540a1c0 RBX: ffff8880a24cdbc8 RCX: 1ffffffff127a3c4
RDX: 0000000000000100 RSI: 00000000ffffffff RDI: 0000000000000286
RBP: ffff8880a587e980 R08: ffffffff8b9a7088 R09: 000000000006255d
R10: ffff8880b540aac0 R11: ffff8880b540a1c0 R12: ffff8880a24cdbd0
R13: ffff8880a587e9e0 R14: ffff8880a587eb20 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
run_ksoftirqd+0x50/0x1a0 kernel/softirq.c:670
smpboot_thread_fn+0x5c1/0x920 kernel/smpboot.c:164
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 29, 2021, 3:08:24 PM12/29/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: a6ca7c65b137 Linux 4.14.260
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=163b9db3b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=6eeb01284ed5abab
dashboard link: https://syzkaller.appspot.com/bug?extid=da1983a310b096713c38
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16937ddbb00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=179e1d2db00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+da1983...@syzkaller.appspotmail.com

hrtimer: interrupt took 45177 ns
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7958 at include/net/sock.h:1520 sock_owned_by_me include/net/sock.h:1520 [inline]
WARNING: CPU: 0 PID: 7958 at include/net/sock.h:1520 sock_owned_by_user include/net/sock.h:1526 [inline]
WARNING: CPU: 0 PID: 7958 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: 0 PID: 7958 Comm: syz-executor493 Not tainted 4.14.260-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:ffff8880ba407838 EFLAGS: 00010206
RAX: ffff8880971fe3c0 RBX: ffff888095c9d648 RCX: 1ffffffff127a3c4
RDX: 0000000000000100 RSI: 00000000ffffffff RDI: 0000000000000286
RBP: ffff8880a4ca6e00 R08: ffffffff8b9cc4a8 R09: 0000000000000000
R10: ffff8880971fed10 R11: ffff8880971fe3c0 R12: ffff888095c9d650
R13: ffff8880a4ca6e60 R14: ffff8880a4ca6fa0 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:0x7fc5de9281f9
RSP: 002b:00007fff7fca03d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fc5de9281f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc5de8eb9d0
R13: 0000000000000000 R14: 00007fff7fca0400 R15: 00007fff7fca03f0
Reply all
Reply to author
Forward
0 new messages