syzbot


WARNING in kmalloc_slab (2)

Status: fixed on 2017/11/11 01:37
Subsystems: block trace
[Documentation on labels]
Fix commit: 864e2a1f8aac ipv6: flowlabel: do not leave opt->tot_len with garbage
First crash: 2400d, last: 2382d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kmalloc_slab net C 22353 2400d 2472d 3/26 fixed on 2017/10/24 06:54
upstream WARNING in kmalloc_slab (3) net C 1901 2275d 2360d 4/26 fixed on 2018/02/26 20:04
upstream WARNING in kmalloc_slab (4) net 1 2261d 2260d 4/26 fixed on 2018/03/23 18:14
upstream WARNING in kmalloc_slab (5) bfs 2 2238d 2239d 0/26 closed as invalid on 2018/04/09 12:26

Sample crash report:
WARNING: CPU: 3 PID: 2977 at mm/slab_common.c:1001 kmalloc_slab+0x5d/0x70 mm/slab_common.c:1001
Kernel panic - not syncing: panic_on_warn set ...

CPU: 3 PID: 2977 Comm: syzkaller476558 Not tainted 4.14.0-rc5-next-20171018+ #8
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:16 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:52
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1c4/0x1e0 kernel/panic.c:546
 report_bug+0x211/0x2d0 lib/bug.c:183
 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:177
 do_trap_no_signal arch/x86/kernel/traps.c:211 [inline]
 do_trap+0x260/0x390 arch/x86/kernel/traps.c:260
 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:297
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:310
 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905
RIP: 0010:kmalloc_slab+0x5d/0x70 mm/slab_common.c:1001
RSP: 0018:ffff88003846f670 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88006d05a000 RCX: ffffffff81707d57
RDX: 1ffff1000d227cba RSI: 0000000000000000 RDI: 0000000000d00000
RBP: ffff88003846f670 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88006913e5d0
R13: 0000000000000000 R14: 00000000014000c0 R15: ffffffff85977aa0
 __do_kmalloc mm/slab.c:3707 [inline]
 __kmalloc+0x25/0x760 mm/slab.c:3721
 kmalloc include/linux/slab.h:507 [inline]
 relay_create_buf kernel/relay.c:172 [inline]
 relay_open_buf.part.10+0xc8/0x9b0 kernel/relay.c:449
 relay_open_buf kernel/relay.c:446 [inline]
 relay_open+0x57a/0xa40 kernel/relay.c:596
 do_blk_trace_setup+0x4a4/0xcf0 kernel/trace/blktrace.c:517
 blk_trace_setup+0xbd/0x180 kernel/trace/blktrace.c:564
 blk_trace_ioctl+0x1ab/0x2d0 kernel/trace/blktrace.c:679
 blkdev_ioctl+0x8e6/0x1de0 block/ioctl.c:580
 block_ioctl+0xde/0x120 fs/block_dev.c:1860
 vfs_ioctl fs/ioctl.c:45 [inline]
 do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:685
 SYSC_ioctl fs/ioctl.c:700 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x4390c9
RSP: 002b:00007ffdeb4ccc78 EFLAGS: 00000206 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004390c9
RDX: 0000000020ed6000 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 0000000000000082 R08: 00000000000000fe R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000401d20 R14: 0000000000401db0 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2478):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/10/29 13:35 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/28 18:57 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/28 17:37 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/26 22:42 mmots 0f611fb6dcc0 e0a2b195 .config console log report syz C ci-upstream-mmots-kasan-gce
2017/10/26 20:12 linux-next 36ef71cae353 e511d9f8 .config console log report syz C skylake-linux-next-kasan-qemu
2017/11/09 01:14 linux-next 5a3517e009e9 e0a2b195 .config console log report skylake-linux-next-kasan-qemu
2017/11/05 18:36 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/05 18:26 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/03 11:20 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/02 11:48 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/01 23:34 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/01 05:35 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/31 01:13 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/29 07:32 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/29 06:40 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/29 03:34 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/29 01:45 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/28 23:24 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/28 16:40 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/27 00:18 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/26 08:32 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/26 06:22 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/26 04:38 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/25 18:30 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/25 02:27 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.