R13: 00000000004be93a R14: 00000000004ce5f0 R15: 0000000000000004 BUG: sleeping function called from invalid context at mm/slab.h:421 in_atomic(): 1, irqs_disabled(): 0, pid: 9, name: ksoftirqd/0 INFO: lockdep is turned off. Preemption disabled at: [] __do_softirq+0x189/0xad8 kernel/softirq.c:269 CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 4.19.0-rc6+ #267 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 ___might_sleep.cold.82+0x1ba/0x1f3 kernel/sched/core.c:6143 __might_sleep+0x95/0x190 kernel/sched/core.c:6096 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3378 [inline] kmem_cache_alloc_trace+0x2cd/0x750 mm/slab.c:3618 kmalloc include/linux/slab.h:513 [inline] kzalloc include/linux/slab.h:707 [inline] kobject_uevent_env+0x2f3/0x101e lib/kobject_uevent.c:514 kobject_uevent+0x1f/0x24 lib/kobject_uevent.c:636 kobject_cleanup lib/kobject.c:649 [inline] kobject_release lib/kobject.c:691 [inline] kref_put include/linux/kref.h:70 [inline] kobject_put.cold.9+0x170/0x2e4 lib/kobject.c:708 put_device+0x20/0x30 drivers/base/core.c:2024 delete_partition_rcu_cb+0x147/0x1b0 block/partition-generic.c:259 __rcu_reclaim kernel/rcu/rcu.h:236 [inline] rcu_do_batch kernel/rcu/tree.c:2576 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2880 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2847 [inline] rcu_process_callbacks+0xf23/0x2670 kernel/rcu/tree.c:2864 __do_softirq+0x30b/0xad8 kernel/softirq.c:292 run_ksoftirqd+0x94/0x100 kernel/softirq.c:653 smpboot_thread_fn+0x68b/0xa00 kernel/smpboot.c:164 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 CPU: 1 PID: 20549 Comm: syz-executor2 Not tainted 4.19.0-rc6+ #267 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+0x1c4/0x2b4 lib/dump_stack.c:113 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0xa/0x17 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3057 [inline] prepare_alloc_pages mm/page_alloc.c:4326 [inline] __alloc_pages_nodemask+0x34b/0xde0 mm/page_alloc.c:4364 __alloc_pages include/linux/gfp.h:473 [inline] __alloc_pages_node include/linux/gfp.h:486 [inline] kmem_getpages mm/slab.c:1409 [inline] cache_grow_begin+0x91/0x8c0 mm/slab.c:2677 cache_alloc_refill mm/slab.c:3044 [inline] ____cache_alloc mm/slab.c:3127 [inline] __do_cache_alloc mm/slab.c:3349 [inline] slab_alloc mm/slab.c:3384 [inline] kmem_cache_alloc+0x665/0x730 mm/slab.c:3552 bdev_alloc_inode+0x1b/0x40 fs/block_dev.c:730 alloc_inode+0x63/0x190 fs/inode.c:210 iget5_locked+0x124/0x1c0 fs/inode.c:1123 bdget+0xb7/0x5b0 fs/block_dev.c:871 blkpg_ioctl+0x31f/0xc10 block/ioctl.c:77 blkdev_ioctl+0x1864/0x2010 block/ioctl.c:573 block_ioctl+0xee/0x130 fs/block_dev.c:1883 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 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:00007fc24e175c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc24e175c90 RCX: 0000000000457579 RDX: 00000000200006c0 RSI: 0000000000001269 RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc24e1766d4 R13: 00000000004be93a R14: 00000000004ce5f0 R15: 0000000000000004 QAT: Invalid ioctl QAT: Invalid ioctl hid-generic 0000:0000:0000.0001: hidraw0: HID v0.00 Device [syz0] on syz1 audit: type=1804 audit(1538710829.023:56): pid=21796 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor2" name="/root/syzkaller-testdir422695347/syzkaller.jUHtKi/589/file0" dev="sda1" ino=16563 res=1 audit: type=1800 audit(1538710829.063:57): pid=21796 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor2" name="file0" dev="sda1" ino=16563 res=0 audit: type=1804 audit(1538710829.073:58): pid=21802 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor2" name="/root/syzkaller-testdir422695347/syzkaller.jUHtKi/589/file0" dev="sda1" ino=16563 res=1 audit: type=1804 audit(1538710829.073:59): pid=21802 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor2" name="/root/syzkaller-testdir422695347/syzkaller.jUHtKi/589/file0" dev="sda1" ino=16563 res=1 audit: type=1804 audit(1538710829.073:60): pid=21802 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor2" name="/root/syzkaller-testdir422695347/syzkaller.jUHtKi/589/file0" dev="sda1" ino=16563 res=1 audit: type=1804 audit(1538710829.073:61): pid=21796 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor2" name="/root/syzkaller-testdir422695347/syzkaller.jUHtKi/589/file0" dev="sda1" ino=16563 res=1 audit: type=1804 audit(1538710829.073:62): pid=21802 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor2" name="/root/syzkaller-testdir422695347/syzkaller.jUHtKi/589/file0" dev="sda1" ino=16563 res=1