============================= WARNING: suspicious RCU usage 4.17.0-rc2+ #25 Not tainted ----------------------------- include/linux/rcupdate.h:304 Illegal context switch in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by jbd2/sda1-8/2270: #0: (ptrval) (rcu_read_lock){....}, at: blk_rq_is_passthrough include/linux/blkdev.h:297 [inline] #0: (ptrval) (rcu_read_lock){....}, at: blk_do_io_stat block/blk.h:300 [inline] #0: (ptrval) (rcu_read_lock){....}, at: blk_account_io_start+0x166/0xde0 block/blk-core.c:2785 stack backtrace: CPU: 1 PID: 2270 Comm: jbd2/sda1-8 Not tainted 4.17.0-rc2+ #25 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+0x1b9/0x294 lib/dump_stack.c:113 lockdep_rcu_suspicious+0x14a/0x153 kernel/locking/lockdep.c:4592 rcu_preempt_sleep_check include/linux/rcupdate.h:303 [inline] ___might_sleep+0x26d/0x320 kernel/sched/core.c:6153 __might_sleep+0x95/0x190 kernel/sched/core.c:6141 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3378 [inline] __do_kmalloc mm/slab.c:3716 [inline] __kmalloc+0x2b9/0x760 mm/slab.c:3727 kmalloc_array include/linux/slab.h:631 [inline] kcalloc include/linux/slab.h:642 [inline] numa_crng_init drivers/char/random.c:798 [inline] crng_reseed+0x427/0x920 drivers/char/random.c:923 credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708 add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254 handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191 handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206 handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77 do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642 RIP: 0010:__sanitizer_cov_trace_cmp4+0x11/0x20 kernel/kcov.c:162 RSP: 0000:ffff8801cc53dea8 EFLAGS: 00000293 ORIG_RAX: ffffffffffffffd5 RAX: ffff8801cc534200 RBX: 0000000000001ec0 RCX: ffffffff8342ec43 RDX: 0000000000001ec0 RSI: 0000000000002000 RDI: 0000000000000004 RBP: ffff8801cc53dea8 R08: ffff8801cc534200 R09: ffffed003b5e46c2 R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000002000 R13: 000000000000007b R14: ffff8801d210fb00 R15: dffffc0000000000 __sbitmap_for_each_set include/linux/sbitmap.h:244 [inline] sbitmap_for_each_set include/linux/sbitmap.h:284 [inline] bt_for_each block/blk-mq-tag.c:237 [inline] blk_mq_queue_tag_busy_iter+0x303/0x9e0 block/blk-mq-tag.c:350 blk_mq_in_flight+0x129/0x1b0 block/blk-mq.c:118 part_in_flight+0xdf/0x5a0 block/genhd.c:72 part_round_stats+0x1e3/0x770 block/blk-core.c:1728 blk_account_io_start+0x732/0xde0 block/blk-core.c:2807 blk_mq_bio_to_request+0x46e/0x930 block/blk-mq.c:1700 blk_mq_make_request+0x11bb/0x25c0 block/blk-mq.c:1885 generic_make_request+0x795/0x1510 block/blk-core.c:2459 submit_bio+0xba/0x460 block/blk-core.c:2567 submit_bh_wbc+0x5e8/0x7c0 fs/buffer.c:3076 submit_bh+0x28/0x30 fs/buffer.c:3082 jbd2_journal_commit_transaction+0x24be/0x8c18 fs/jbd2/commit.c:710 kjournald2+0x26c/0xb30 fs/jbd2/journal.c:229 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 BUG: sleeping function called from invalid context at mm/slab.h:421 in_atomic(): 1, irqs_disabled(): 1, pid: 2270, name: jbd2/sda1-8 1 lock held by jbd2/sda1-8/2270: #0: (ptrval) (rcu_read_lock){....}, at: blk_rq_is_passthrough include/linux/blkdev.h:297 [inline] #0: (ptrval) (rcu_read_lock){....}, at: blk_do_io_stat block/blk.h:300 [inline] #0: (ptrval) (rcu_read_lock){....}, at: blk_account_io_start+0x166/0xde0 block/blk-core.c:2785 irq event stamp: 34422 hardirqs last enabled at (34421): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (34421): [] _raw_spin_unlock_irqrestore+0x74/0xc0 kernel/locking/spinlock.c:184 hardirqs last disabled at (34422): [] interrupt_entry+0xb5/0xf0 arch/x86/entry/entry_64.S:625 softirqs last enabled at (34362): [] __do_softirq+0x778/0xaf5 kernel/softirq.c:311 softirqs last disabled at (34355): [] invoke_softirq kernel/softirq.c:365 [inline] softirqs last disabled at (34355): [] irq_exit+0x1d1/0x200 kernel/softirq.c:405 CPU: 1 PID: 2270 Comm: jbd2/sda1-8 Not tainted 4.17.0-rc2+ #25 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+0x1b9/0x294 lib/dump_stack.c:113 ___might_sleep.cold.87+0x11f/0x13a kernel/sched/core.c:6188 __might_sleep+0x95/0x190 kernel/sched/core.c:6141 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3378 [inline] __do_kmalloc mm/slab.c:3716 [inline] __kmalloc+0x2b9/0x760 mm/slab.c:3727 kmalloc_array include/linux/slab.h:631 [inline] kcalloc include/linux/slab.h:642 [inline] numa_crng_init drivers/char/random.c:798 [inline] crng_reseed+0x427/0x920 drivers/char/random.c:923 credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708 add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254 handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191 handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206 handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77 do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642 RIP: 0010:__sanitizer_cov_trace_cmp4+0x11/0x20 kernel/kcov.c:162 RSP: 0000:ffff8801cc53dea8 EFLAGS: 00000293 ORIG_RAX: ffffffffffffffd5 RAX: ffff8801cc534200 RBX: 0000000000001ec0 RCX: ffffffff8342ec43 RDX: 0000000000001ec0 RSI: 0000000000002000 RDI: 0000000000000004 RBP: ffff8801cc53dea8 R08: ffff8801cc534200 R09: ffffed003b5e46c2 R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000002000 R13: 000000000000007b R14: ffff8801d210fb00 R15: dffffc0000000000 __sbitmap_for_each_set include/linux/sbitmap.h:244 [inline] sbitmap_for_each_set include/linux/sbitmap.h:284 [inline] bt_for_each block/blk-mq-tag.c:237 [inline] blk_mq_queue_tag_busy_iter+0x303/0x9e0 block/blk-mq-tag.c:350 blk_mq_in_flight+0x129/0x1b0 block/blk-mq.c:118 part_in_flight+0xdf/0x5a0 block/genhd.c:72 part_round_stats+0x1e3/0x770 block/blk-core.c:1728 blk_account_io_start+0x732/0xde0 block/blk-core.c:2807 blk_mq_bio_to_request+0x46e/0x930 block/blk-mq.c:1700 blk_mq_make_request+0x11bb/0x25c0 block/blk-mq.c:1885 generic_make_request+0x795/0x1510 block/blk-core.c:2459 submit_bio+0xba/0x460 block/blk-core.c:2567 submit_bh_wbc+0x5e8/0x7c0 fs/buffer.c:3076 submit_bh+0x28/0x30 fs/buffer.c:3082 jbd2_journal_commit_transaction+0x24be/0x8c18 fs/jbd2/commit.c:710 kjournald2+0x26c/0xb30 fs/jbd2/journal.c:229 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 random: crng init done IPVS: set_ctl: invalid protocol: 94 172.20.20.170:20002 ovf IPVS: sync thread started: state = BACKUP, mcast_ifn = bridge_slave_0, syncid = 0, id = 0 netlink: 92 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 92 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 'syz-executor3': attribute type 1 has an invalid length. sctp: [Deprecated]: syz-executor5 (pid 10889) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor5 (pid 10889) Use of int in maxseg socket option. Use struct sctp_assoc_value instead 8021q: VLANs not supported on lo 8021q: VLANs not supported on lo bond_slave_1: Invalid MTU 7 requested, hw min 68 bond_slave_1: Invalid MTU 7 requested, hw min 68 netlink: 'syz-executor2': attribute type 4 has an invalid length. netlink: 28 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 'syz-executor2': attribute type 4 has an invalid length. netlink: 28 bytes leftover after parsing attributes in process `syz-executor2'. IPVS: set_ctl: invalid protocol: 5 127.0.0.1:20003 lc netlink: 'syz-executor5': attribute type 21 has an invalid length. netlink: 'syz-executor5': attribute type 21 has an invalid length. IPVS: set_ctl: invalid protocol: 5 127.0.0.1:20003 lc netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'.