syzbot


WARNING in canfd_rcv

Status: fixed on 2018/01/22 13:19
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+e3b775f40babeff6e68b@syzkaller.appspotmail.com
Fix commit: d4689846881d can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once
First crash: 2480d, last: 2480d
Discussions (7)
Title Replies (including bot) Last reply
[PATCH 3.16 000/254] 3.16.55-rc1 review 261 (261) 2018/03/03 15:48
[PATCH 4.9 00/66] 4.9.79-stable review 72 (72) 2018/02/28 15:46
[PATCH 4.4 00/74] 4.4.114-stable review 90 (90) 2018/02/19 20:06
[PATCH 3.18 00/52] 3.18.93-stable review 62 (62) 2018/01/31 08:52
[PATCH 4.14 00/89] 4.14.15-stable review 107 (107) 2018/01/25 21:42
[PATCH 2/2] can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once 1 (1) 2018/01/18 10:15
WARNING in canfd_rcv 0 (1) 2018/01/16 17:58

Sample crash report:
PF_CAN: dropped non conform CAN FD skbuf: dev type 65534, len 128, datalen 0
WARNING: CPU: 1 PID: 3663 at net/can/af_can.c:750 canfd_rcv+0x1c5/0x200 net/can/af_can.c:745
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 3663 Comm: syzkaller833331 Not tainted 4.15.0-rc8+ #173
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+0x194/0x257 lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x211/0x2d0 lib/bug.c:184
 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1085
RIP: 0010:canfd_rcv+0x1c5/0x200 net/can/af_can.c:745
RSP: 0018:ffff8801bb38eed8 EFLAGS: 00010286
RAX: dffffc0000000008 RBX: ffff8801bb2330c0 RCX: ffffffff8159dade
RDX: 0000000000000000 RSI: ffff8801bb0f4bf8 RDI: 0000000000000293
RBP: ffff8801bb38ef00 R08: 0000000000000000 R09: 0000000000000000
R10: ffff8801bb38f418 R11: 0000000000000000 R12: ffff8801bb2d8380
R13: ffff8801bb24e2c0 R14: 000000000000fffe R15: ffffffff8704d7c0
 __netif_receive_skb_core+0x1a41/0x3460 net/core/dev.c:4473
 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4538
 netif_receive_skb_internal+0x10b/0x670 net/core/dev.c:4611
 netif_receive_skb+0xae/0x390 net/core/dev.c:4635
 tun_rx_batched.isra.50+0x5ee/0x870 drivers/net/tun.c:1378
 tun_get_user+0x24ac/0x3710 drivers/net/tun.c:1774
 tun_chr_write_iter+0xb9/0x160 drivers/net/tun.c:1800
 call_write_iter include/linux/fs.h:1772 [inline]
 new_sync_write fs/read_write.c:469 [inline]
 __vfs_write+0x684/0x970 fs/read_write.c:482
 vfs_write+0x189/0x510 fs/read_write.c:544
 SYSC_write fs/read_write.c:589 [inline]
 SyS_write+0xef/0x220 fs/read_write.c:581
 do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline]
 do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389
 entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129
RIP: 0023:0xf7fddc79
RSP: 002b:000000000820ff3c EFLAGS: 00000297 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000020ab08cd
RDX: 0000000000000084 RSI: 0000000010002100 RDI: 00000000000023dd
RBP: 000000000000664d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/15 08:09 upstream a8750ddca918 66d492a6 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/15 08:02 linux-next b625c1ff8227 66d492a6 .config console log report syz C ci-upstream-next-kasan-gce
2018/01/15 07:38 mmots ce3c209f6733 66d492a6 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/15 07:20 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.