syzbot


WARNING in nf_tables_table_destroy

Status: auto-closed as invalid on 2022/03/26 10:36
Reported-by: syzbot+f4e60b14f6c524a26892@syzkaller.appspotmail.com
First crash: 1103d, last: 1103d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in nf_tables_table_destroy netfilter C done done 1 1782d 1782d 15/28 fixed on 2020/02/18 14:31

Sample crash report:
audit: type=1804 audit(1637922924.201:36): pid=11203 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir634589242/syzkaller.rQwUUT/20/bus" dev="sda1" ino=14110 res=1
F2FS-fs (loop5): Can't find valid F2FS filesystem in 1th superblock
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11218 at net/netfilter/nf_tables_api.c:1057 nf_tables_table_destroy.cold+0x11/0x18 net/netfilter/nf_tables_api.c:1057
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 11218 Comm: syz-executor.2 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
F2FS-fs (loop5): Magic Mismatch, valid(0xf2f52010) - read(0x0)
 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:nf_tables_table_destroy.cold+0x11/0x18 net/netfilter/nf_tables_api.c:1057
Code: ea e8 47 61 50 f9 48 c7 c7 40 c2 52 89 e8 a6 92 e1 ff 0f 0b e9 39 6a 9b fe e8 2f 61 50 f9 48 c7 c7 40 c2 52 89 e8 8e 92 e1 ff <0f> 0b e9 8a 9f 9b fe e8 17 61 50 f9 48 c7 c7 40 c2 52 89 e8 76 92
RSP: 0018:ffff888053127598 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff88809ee2a618 RCX: 0000000000000000
RDX: 000000000000f8ab RSI: ffffffff814dff01 RDI: ffffed100a624ea5
RBP: ffff8880985a62c0 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809ee2a620
R13: 0000000000000001 R14: ffff8880565058f0 R15: dead000000000100
 nf_tables_abort_release net/netfilter/nf_tables_api.c:6618 [inline]
 __nf_tables_abort+0x1c53/0x2ca0 net/netfilter/nf_tables_api.c:6757
 nf_tables_abort+0x13/0x30 net/netfilter/nf_tables_api.c:6770
 nfnetlink_rcv_batch+0xb66/0x1df0 net/netfilter/nfnetlink.c:496
 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:545 [inline]
 nfnetlink_rcv+0x3b5/0x420 net/netfilter/nfnetlink.c:563
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f57df963ae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f57dced9188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f57dfa76f60 RCX: 00007f57df963ae9
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005
RBP: 00007f57df9bdf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff05d0b36f R14: 00007f57dced9300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/26 10:35 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 WARNING in nf_tables_table_destroy
* Struck through repros no longer work on HEAD.