syzbot


WARNING in __skb_flow_dissect

Status: fixed on 2018/10/11 18:37
Subsystems: net
[Documentation on labels]
Fix commit: af3fb24eecb2 tun: napi flags belong to tfile
First crash: 2022d, last: 2021d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __skb_flow_dissect (3) net syz 224 1924d 2014d 11/26 fixed on 2019/03/06 07:43
upstream WARNING in __skb_flow_dissect (4) net C error 6 534d 543d 22/26 fixed on 2023/02/24 13:50

Sample crash report:
device nr0 entered promiscuous mode
device nr0 entered promiscuous mode
device nr0 entered promiscuous mode
device nr0 entered promiscuous mode
device nr0 entered promiscuous mode
WARNING: CPU: 1 PID: 13386 at net/core/flow_dissector.c:764 __skb_flow_dissect+0xdc5/0x5c10 net/core/flow_dissector.c:764
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 13386 Comm: syz-executor2 Not tainted 4.19.0-rc7-next-20181009+ #90
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
device nr0 entered promiscuous mode
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x244/0x3ab lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
kobject: 'tx-1' (00000000e646d2ed): kobject_add_internal: parent: 'queues', set: 'queues'
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x254/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969
RIP: 0010:__skb_flow_dissect+0xdc5/0x5c10 net/core/flow_dissector.c:764
Code: 48 01 d3 c7 03 f8 f8 f8 f8 48 c1 e8 03 66 44 89 73 04 48 01 d0 c7 00 f8 f8 f8 f8 66 44 89 78 04 e9 58 09 00 00 e8 bb 22 6e fb <0f> 0b e8 b4 22 6e fb e8 5f 3d 57 fb 31 ff 89 c3 89 c6 e8 b4 23 6e
RSP: 0018:ffff8801bdf46fb0 EFLAGS: 00010293
RAX: ffff8801c5bc61c0 RBX: 0000000000000000 RCX: ffffffff86103ce5
RDX: 0000000000000000 RSI: ffffffff86104755 RDI: ffff8801ce08f358
RBP: ffff8801bdf47740 R08: ffff8801c5bc61c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000
R13: ffff8801ce08f340 R14: ffff8801ce08f340 R15: 000000000000ffff
 skb_flow_dissect_flow_keys_basic include/linux/skbuff.h:1240 [inline]
 skb_probe_transport_header include/linux/skbuff.h:2403 [inline]
 tun_get_user+0x2d4a/0x4250 drivers/net/tun.c:1915
 tun_chr_write_iter+0xb9/0x160 drivers/net/tun.c:2002
 call_write_iter include/linux/fs.h:1844 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x6b8/0x9f0 fs/read_write.c:487
 vfs_write+0x1fc/0x560 fs/read_write.c:549
 ksys_write+0x101/0x260 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457579
Code: 1d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb99cd2dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579
RDX: 000000000000004e RSI: 0000000020000180 RDI: 0000000000000009
RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb99cd2e6d4
R13: 00000000004c554e R14: 00000000004d8e68 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/09 20:06 linux-next 570b7bdeaf18 8b311eaf .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/10/10 20:10 bpf-next 8af03d1ae2e1 5b11ac2c .config console log report ci-upstream-bpf-next-kasan-gce
2018/10/10 09:03 bpf-next 8af03d1ae2e1 8b311eaf .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.