syzbot


WARNING: kmalloc bug in __v9fs_get_acl

Status: fixed on 2018/11/12 21:25
Subsystems: v9fs
[Documentation on labels]
Reported-by: syzbot+6e438f4036df52cbb863@syzkaller.appspotmail.com
Fix commit: 61448479a9f2 mm: don't warn about large allocations for slab
First crash: 2114d, last: 2006d
Discussions (18)
Title Replies (including bot) Last reply
[PATCH 4.19 000/110] 4.19.6-stable review 142 (142) 2018/12/14 17:42
[PATCH 4.14 000/100] 4.14.85-stable review 116 (116) 2018/12/03 11:38
[PATCH 4.9 00/92] 4.9.142-stable review 102 (102) 2018/11/30 22:28
[PATCH AUTOSEL 3.18 1/9] bfs: add sanity check at bfs_fill_super() 24 (24) 2018/11/22 21:01
[PATCH AUTOSEL 4.18 01/39] bfs: add sanity check at bfs_fill_super() 41 (41) 2018/11/22 19:35
[PATCH AUTOSEL 4.9 01/17] bfs: add sanity check at bfs_fill_super() 20 (20) 2018/11/22 15:53
[PATCH AUTOSEL 4.4 01/11] bfs: add sanity check at bfs_fill_super() 11 (11) 2018/11/13 05:52
[PATCH AUTOSEL 4.14 01/26] bfs: add sanity check at bfs_fill_super() 26 (26) 2018/11/13 05:51
[PATCH AUTOSEL 4.19 01/44] bfs: add sanity check at bfs_fill_super() 44 (44) 2018/11/13 05:49
[PATCH AUTOSEL 4.14 01/30] mm/vmstat.c: assert that vmstat_text is in sync with stat_items_size 33 (33) 2018/11/11 22:07
[PATCH AUTOSEL 4.19 01/57] mm: thp: fix MADV_DONTNEED vs migrate_misplaced_transhuge_page race condition 58 (58) 2018/11/05 22:26
[PATCH AUTOSEL 3.18 01/13] mm/vmstat.c: assert that vmstat_text is in sync with stat_items_size 13 (13) 2018/11/04 13:54
[PATCH AUTOSEL 4.4 01/15] mm/vmstat.c: assert that vmstat_text is in sync with stat_items_size 15 (15) 2018/11/04 13:54
[PATCH AUTOSEL 4.9 01/21] mm/vmstat.c: assert that vmstat_text is in sync with stat_items_size 21 (21) 2018/11/04 13:53
[PATCH AUTOSEL 4.18 01/45] mm: thp: fix MADV_DONTNEED vs migrate_misplaced_transhuge_page race condition 45 (45) 2018/11/04 13:52
[PATCH v2] mm: don't warn about large allocations for slab 2 (2) 2018/10/16 13:59
[PATCH] mm: don't warn about large allocations for slab 3 (3) 2018/09/27 17:17
WARNING: kmalloc bug in __v9fs_get_acl 0 (1) 2018/07/10 13:29

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
WARNING: CPU: 0 PID: 4542 at mm/slab_common.c:1031 kmalloc_slab+0x56/0x70 mm/slab_common.c:1031
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 4542 Comm: syz-executor157 Not tainted 4.18.0-rc4+ #142
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+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:kmalloc_slab+0x56/0x70 mm/slab_common.c:1031
Code: c5 c0 1a d1 88 5d c3 b8 10 00 00 00 48 85 ff 74 f4 83 ef 01 c1 ef 03 0f b6 87 e0 19 d1 88 eb d8 31 c0 81 e6 00 02 00 00 75 db <0f> 0b 5d c3 48 8b 04 c5 00 1a d1 88 5d c3 66 90 66 2e 0f 1f 84 00 
RSP: 0018:ffff8801aca0f980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000700000000 RCX: ffffffff82adc1f4
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000700000000
RBP: ffff8801aca0f980 R08: ffff8801d9724400 R09: 0000000000000006
R10: ffff8801d9724400 R11: 0000000000000000 R12: fffffffffffffff4
R13: ffff8801bd691900 R14: ffff8801bd691900 R15: 0000000000608040
 __do_kmalloc mm/slab.c:3713 [inline]
 __kmalloc+0x25/0x760 mm/slab.c:3727
 kmalloc include/linux/slab.h:518 [inline]
 kzalloc include/linux/slab.h:707 [inline]
 __v9fs_get_acl+0xc5/0x170 fs/9p/acl.c:36
 v9fs_get_acl+0xe5/0x2a0 fs/9p/acl.c:70
 v9fs_mount+0x64b/0x900 fs/9p/vfs_super.c:191
 mount_fs+0xae/0x328 fs/super.c:1277
 vfs_kern_mount.part.34+0xdc/0x4e0 fs/namespace.c:1037
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2518 [inline]
 do_mount+0x581/0x30e0 fs/namespace.c:2848
 ksys_mount+0x12d/0x140 fs/namespace.c:3064
 __do_sys_mount fs/namespace.c:3078 [inline]
 __se_sys_mount fs/namespace.c:3075 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4404a9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007ffece207b38 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00000000004404a9
RDX: 0000000020000900 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 64663d736e617274 R08: 0000000020000540 R09: 00007ffece207cb8
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000401d30
R13: 0000000000401dc0 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (212):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/12 07:46 upstream c25c74b7476e 2e0e3130 .config console log report syz C ci-upstream-kasan-gce-root
2018/07/10 12:12 linux-next 3951bd9fe3e2 9fa03fa5 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/10/25 22:31 upstream bd6bf7c10484 a8292de9 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/24 22:38 upstream 638820d8da8e a8292de9 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/24 06:48 upstream 44786880df19 a8292de9 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/24 03:52 upstream 44786880df19 a8292de9 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/22 10:23 upstream 467e050e9760 ecb386fe .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/22 07:42 upstream 467e050e9760 ecb386fe .config console log report ci-upstream-kasan-gce-smack-root
2018/10/22 06:29 upstream 467e050e9760 ecb386fe .config console log report ci-upstream-kasan-gce-smack-root
2018/10/21 22:49 upstream 23469de647c4 ecb386fe .config console log report ci-upstream-kasan-gce-root
2018/10/20 13:46 upstream 270b77a0f30e ecb386fe .config console log report ci-upstream-kasan-gce-root
2018/10/20 08:30 upstream c7b70a641df2 ecb386fe .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/19 12:39 upstream 91b15613ce7f 9aba67b5 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/19 02:24 upstream fa520c47eaa1 9aba67b5 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/17 23:49 upstream c343db455eb3 b2695b95 .config console log report ci-upstream-kasan-gce-root
2018/10/17 10:10 upstream b955a910d7fd 1ba7fd7e .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/16 00:06 upstream f0a7d1883d9f 8cd30605 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/15 22:10 upstream f0a7d1883d9f 8cd30605 .config console log report ci-upstream-kasan-gce-root
2018/10/15 13:37 upstream 35a7f35ad1b1 caf12900 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/15 04:49 upstream 3a27203102eb caf12900 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/15 01:01 upstream 3a27203102eb caf12900 .config console log report ci-upstream-kasan-gce-root
2018/10/12 14:25 upstream 0778a9f2dd92 ba6ddb43 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/11 13:50 upstream 9dcd936c5312 5f818b4b .config console log report ci-upstream-kasan-gce-root
2018/10/10 21:17 upstream 3d647e62686f 5b11ac2c .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/10 04:24 upstream 64c5e530ac2c 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/07 22:18 upstream fb1c592cf4c9 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/07 18:56 upstream fb1c592cf4c9 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/07 09:03 upstream c1d84a1b42ef 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/06 23:56 upstream c1d84a1b42ef 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/06 18:34 upstream 091a1eaa0e30 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/06 13:11 upstream 091a1eaa0e30 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/06 07:33 upstream b2e45b46d85b 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/06 05:42 upstream b2e45b46d85b 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/06 02:33 upstream b2e45b46d85b 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/05 18:22 upstream befad944e231 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/05 05:11 upstream 10be83cc6418 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/04 21:23 upstream d2467adb6610 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/04 19:01 upstream d2467adb6610 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/04 12:18 upstream cec4de302c5f 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/03 21:36 upstream 6bebe37927f3 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/03 10:01 upstream 1d2ba7fee28b 0f3e0261 .config console log report ci-upstream-kasan-gce-smack-root
2018/09/03 09:14 linux-next dceb9092b16b a4718693 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.