syzbot


WARNING in __vmalloc_node_range

Status: auto-closed as invalid on 2020/02/29 17:15
Reported-by: syzbot+24dcc35a8cb022c6ed64@syzkaller.appspotmail.com
First crash: 1129d, last: 1129d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __vmalloc_node_range C 7 576d 577d 22/24 fixed on 2021/11/10 00:50
android-49 WARNING in __vmalloc_node_range 2 1116d 1235d 0/3 auto-closed as invalid on 2020/03/14 05:15
android-44 WARNING in __vmalloc_node_range 9 1114d 1275d 0/2 auto-closed as invalid on 2020/03/15 17:57
linux-4.14 WARNING in __vmalloc_node_range 1 1043d 1043d 0/1 auto-closed as invalid on 2020/05/26 06:50

Sample crash report:
audit: type=1804 audit(1572628443.741:632): pid=12802 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="file0" dev="sda1" ino=16596 res=1
syz-executor.2: vmalloc: allocation failure: 0 bytes, mode:0x6000c0(GFP_KERNEL), nodemask=(null)
------------[ cut here ]------------
generic_make_request: Trying to write to read-only block-device nullb0 (partno 0)
syz-executor.2 cpuset=syz2 mems_allowed=0-1
WARNING: CPU: 1 PID: 12834 at block/blk-core.c:2177 bio_check_ro block/blk-core.c:2177 [inline]
WARNING: CPU: 1 PID: 12834 at block/blk-core.c:2177 generic_make_request_checks+0x1fc5/0x24c0 block/blk-core.c:2282
CPU: 0 PID: 12835 Comm: syz-executor.2 Not tainted 4.19.81 #0
Kernel panic - not syncing: panic_on_warn set ...

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+0x172/0x1f0 lib/dump_stack.c:113
 warn_alloc.cold+0x7b/0x173 mm/page_alloc.c:3447
 __vmalloc_node_range mm/vmalloc.c:1772 [inline]
 __vmalloc_node_range+0x486/0x790 mm/vmalloc.c:1732
 __vmalloc_node mm/vmalloc.c:1801 [inline]
 __vmalloc_node_flags mm/vmalloc.c:1815 [inline]
 vmalloc+0x6b/0x90 mm/vmalloc.c:1837
 sel_write_load+0x1de/0x470 security/selinux/selinuxfs.c:557
 __vfs_write+0x114/0x810 fs/read_write.c:485
 vfs_write+0x20c/0x560 fs/read_write.c:549
 ksys_write+0x14f/0x2d0 fs/read_write.c:599
 __do_sys_write fs/read_write.c:611 [inline]
 __se_sys_write fs/read_write.c:608 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:608
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459f49
Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5537290c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f49
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f55372916d4
R13: 00000000004ca735 R14: 00000000004e2928 R15: 00000000ffffffff
CPU: 1 PID: 12834 Comm: syz-executor.4 Not tainted 4.19.81 #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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x53 kernel/panic.c:541
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x204/0x360 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:1037
RIP: 0010:bio_check_ro block/blk-core.c:2177 [inline]
RIP: 0010:generic_make_request_checks+0x1fc5/0x24c0 block/blk-core.c:2282
Code: 85 1f 04 00 00 45 8b b6 e4 04 00 00 48 8d 73 a0 4c 89 e7 e8 0d 63 06 00 48 c7 c7 60 91 80 87 48 89 c6 44 89 f2 e8 e9 ae 2f fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02
RSP: 0018:ffff888095a0f3a8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888095a0f478 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff81553f06 RDI: ffffed1012b41e67
RBP: ffff888095a0f4a0 R08: ffff8880555d8500 R09: ffffed1015d25079
R10: ffffed1015d25078 R11: ffff8880ae9283c7 R12: ffff888098cedd00
R13: ffff888098cedd08 R14: 0000000000000000 R15: 0000000000000000
 generic_make_request+0x24c/0x12d0 block/blk-core.c:2406
 blk_queue_split+0x8fa/0x1bd0 block/blk-merge.c:226
 blk_mq_make_request+0x15e/0x1de0 block/blk-mq.c:1834
 generic_make_request+0x747/0x12d0 block/blk-core.c:2461
 submit_bio+0xba/0x480 block/blk-core.c:2570
 next_bio+0x4a/0x60 block/blk-lib.c:20
 __blkdev_issue_zero_pages+0x151/0x430 block/blk-lib.c:294
 blkdev_issue_zeroout+0x42c/0x4c0 block/blk-lib.c:388
 blk_ioctl_zeroout block/ioctl.c:263 [inline]
 blkdev_ioctl+0x113b/0x1ab6 block/ioctl.c:530
 block_ioctl+0xee/0x130 fs/block_dev.c:1891
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688
Mem-Info:
active_anon:205907 inactive_anon:1074 isolated_anon:0
 active_file:11512 inactive_file:5412 isolated_file:0
 unevictable:42 dirty:30 writeback:0 unstable:0
 slab_reclaimable:13963 slab_unreclaimable:114511
 mapped:59108 shmem:1135 pagetables:2845 bounce:0
 free:1171149 free_pcp:576 free_cma:0
Node 0 active_anon:823488kB inactive_anon:4296kB active_file:46048kB inactive_file:21640kB unevictable:168kB isolated(anon):0kB isolated(file):0kB mapped:236432kB dirty:112kB writeback:0kB shmem:4540kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 241664kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459f49
Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f4eab35dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f49
RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003
Node 1 active_anon:140kB inactive_anon:0kB active_file:0kB inactive_file:8kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:8kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4eab35e6d4
R13: 00000000004c182b R14: 00000000004d52d8 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2019/11/01 17:14 linux-4.19.y ef244c308885 a41ca8fa .config log report
* Struck through repros no longer work on HEAD.