WARNING in packet_sock_destruct (3)

5 views
Skip to first unread message

syzbot

unread,
Feb 9, 2022, 4:59:19 PM2/9/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=156676d8700000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=9eed94e3f47c162b6a03
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+9eed94...@syzkaller.appspotmail.com

WARNING: CPU: 1 PID: 26496 at net/packet/af_packet.c:1289 packet_sock_destruct.cold+0x29/0x49 net/packet/af_packet.c:1289
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 26496 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:packet_sock_destruct.cold+0x29/0x49 net/packet/af_packet.c:1289
Code: ea e8 99 25 4f f9 48 c7 c7 a0 60 5b 89 e8 f8 56 e0 ff 0f 0b e9 f9 60 0d ff e8 81 25 4f f9 48 c7 c7 a0 60 5b 89 e8 e0 56 e0 ff <0f> 0b e9 8b 60 0d ff e8 69 25 4f f9 48 89 ee 48 c7 c7 00 61 5b 89
RSP: 0018:ffff88809ef57890 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000300 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1013deaf04
RBP: ffff888094130300 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880941304d8
R13: ffff888094130300 R14: ffff88808db18540 R15: ffff888094130380
__sk_destruct+0x4b/0x8a0 net/core/sock.c:1576
sk_destruct net/core/sock.c:1617 [inline]
__sk_free+0x165/0x3b0 net/core/sock.c:1628
sk_free+0x3b/0x50 net/core/sock.c:1639
sock_put include/net/sock.h:1713 [inline]
packet_release+0x890/0xb70 net/packet/af_packet.c:3088
__sock_release+0xcd/0x2a0 net/socket.c:599
sock_close+0x15/0x20 net/socket.c:1214
__fput+0x2ce/0x890 fs/file_table.c:278
task_work_run+0x148/0x1c0 kernel/task_work.c:113
exit_task_work include/linux/task_work.h:22 [inline]
do_exit+0xbf3/0x2be0 kernel/exit.c:870
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f842efb8f74
Code: Bad RIP value.
RSP: 002b:00007f842d95a040 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: fffffffffffffff3 RBX: 00007f842f119030 RCX: 00007f842efb8f74
RDX: 0000000000000002 RSI: 00007f842d95a0d0 RDI: 00000000ffffff9c
RBP: 00007f842d95a0d0 R08: 0000000000000000 R09: 00007f842d959f50
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 00007fff65adc5bf R14: 00007f842d95a300 R15: 0000000000022000
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,
Jun 9, 2022, 5:59:24 PM6/9/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages