el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5757 at block/genhd.c:549 device_add_disk+0x604/0xaf4 Modules linked in: CPU: 1 PID: 5757 Comm: syz.3.390 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : device_add_disk+0x604/0xaf4 lr : device_add_disk+0x600/0xaf4 block/genhd.c:547 sp : ffff800021147b10 x29: ffff800021147b70 x28: dfff800000000000 x27: ffff0000c5203ac0 x26: ffff0000c5203fbc x25: 00000000ffffffea x24: ffff0000ccd1e8a0 x23: 1fffe000199a3d14 x22: 0000000000000001 x21: ffff0000ccd1e890 x20: 0000000000000007 x19: ffff0000ccd1e800 x18: 0000000000000001 x17: ffff8000089c9954 x16: ffff8000082ec9a8 x15: ffff8000089c9954 x14: ffff80000c06ba9c x13: ffff80000c06c530 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d13f3680 x8 : ffff80000a858574 x7 : 0000000000000000 x6 : ffff80000805d400 x5 : ffff0000e3e3f460 x4 : 0000000000000000 x3 : ffff80000ab70c3c x2 : 0000000000000001 x1 : 0000000000000007 x0 : 0000000000000103 Call trace: device_add_disk+0x604/0xaf4 add_disk include/linux/genhd.h:203 [inline] loop_add+0x554/0x7ac drivers/block/loop.c:2430 loop_control_ioctl+0xec/0x62c drivers/block/loop.c:2545 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 588 hardirqs last enabled at (587): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (588): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (578): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (578): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (557): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (557): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (557): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (557): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace be600d9d3a1f5daf ]---