program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff) mount(&(0x7f0000000040)=@filename='configfs\x00', &(0x7f0000000000)='./config\x00', &(0x7f0000000040)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./config/nvmet/subsystems/testnqn\x00', 0x1ff) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./config/nvmet/subsystems/testnqn/attr_allow_any_host\x00', 0x2, 0x0) write(r0, &(0x7f0000000180)='1\x00', 0x1) mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./config/nvmet/ports/1\x00', 0x1ff) r1 = openat(0xffffffffffffff9c, &(0x7f0000000240)='./config/nvmet/ports/1/addr_trtype\x00', 0x2, 0x0) write(r1, &(0x7f0000000280)='loop\x00', 0x4) symlinkat(&(0x7f0000000100)='./config/nvmet/subsystems/testnqn\x00', 0xffffffffffffff9c, &(0x7f00000002c0)='./config/nvmet/ports/1/subsystems/testnqn\x00') r2 = openat$nvme_fabrics(0xffffffffffffff9c, &(0x7f0000000300), 0x2, 0x0) write(r2, &(0x7f0000000340)='transport=loop,nqn=testnqn\x00', 0x1a) mkdirat(0xffffffffffffff9c, &(0x7f00000003c0)='./sys\x00', 0x1ff) mount(&(0x7f0000000400)=@filename='sysfs\x00', &(0x7f00000003c0)='./sys\x00', &(0x7f0000000400)='sysfs\x00', 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000440)='./sys/class/nvme/nvme0/reset_controller\x00', 0x1, 0x0) write(r3, &(0x7f0000000480)='1\x00', 0x1) [ 93.992012][ T5281] Bluetooth: hci0: command tx timeout [ 94.100813][ T26] audit: type=1800 audit(1788448330.825:2): pid=5319 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed comm="syz.0.0" name="attr_allow_any_host" dev="configfs" ino=4256 res=0 errno=0 [ 94.113464][ T26] audit: type=1800 audit(1788448330.845:3): pid=5319 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed comm="syz.0.0" name="addr_trtype" dev="configfs" ino=4267 res=0 errno=0 [ 94.203043][ T70] Oops: general protection fault, probably for non-canonical address 0xdffffc000000001c: 0000 [#1] SMP KASAN NOPTI [ 94.208212][ T70] KASAN: null-ptr-deref in range [0x00000000000000e0-0x00000000000000e7] [ 94.211855][ T70] CPU: 0 UID: 0 PID: 70 Comm: kworker/u4:4 Not tainted syzkaller #0 PREEMPT(full) [ 94.215730][ T70] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 94.219853][ T70] Workqueue: nvme-reset-wq nvme_loop_reset_ctrl_work [ 94.222683][ T70] RIP: 0010:kasan_byte_accessible+0x12/0x30 [ 94.225201][ T70] Code: 79 ff ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 c3 cc cc cc cc cc 66 66 66 66 66 66 2e [ 94.233036][ T70] RSP: 0018:ffffc90000ae7978 EFLAGS: 00010002 [ 94.235334][ T70] RAX: dffffc0000000000 RBX: ffffffff8be8ac30 RCX: 8000000000000002 [ 94.238610][ T70] RDX: 0000000000000000 RSI: ffffffff8be8ac30 RDI: 000000000000001c [ 94.242371][ T70] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 [ 94.245760][ T70] R10: dffffc0000000000 R11: fffffbfff20f46f0 R12: 00000000000000e0 [ 94.249883][ T70] R13: 0000000000000000 R14: 00000000000000e0 R15: 0000000000000001 [ 94.253430][ T70] FS: 0000000000000000(0000) GS:ffff88808c2cf000(0000) knlGS:0000000000000000 [ 94.257196][ T70] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.260049][ T70] CR2: 00007ffa82359e9c CR3: 0000000043ac6000 CR4: 0000000000352ef0 [ 94.263353][ T70] Call Trace: [ 94.264837][ T70] [ 94.266108][ T70] __kasan_check_byte+0x12/0x40 [ 94.268206][ T70] lock_acquire+0x7d/0x350 [ 94.270180][ T70] ? enable_work+0x17f/0x230 [ 94.272229][ T70] ? rcu_is_watching+0x16/0xb0 [ 94.274331][ T70] _raw_spin_lock_irqsave+0x40/0x60 [ 94.276609][ T70] ? blk_mq_quiesce_queue+0x2f/0x190 [ 94.278814][ T70] blk_mq_quiesce_queue+0x2f/0x190 [ 94.281063][ T70] nvme_loop_reset_ctrl_work+0x1cf/0x810 [ 94.283505][ T70] ? process_scheduled_works+0x97a/0x1630 [ 94.285809][ T70] process_scheduled_works+0xc3d/0x1630 [ 94.288148][ T70] ? __pfx_process_scheduled_works+0x10/0x10 [ 94.290641][ T70] ? assign_work+0x3cf/0x5d0 [ 94.292765][ T70] worker_thread+0xa47/0xfb0 [ 94.294745][ T70] ? __kthread_parkme+0x71/0x1f0 [ 94.296761][ T70] kthread+0x38b/0x480 [ 94.298393][ T70] ? __pfx_worker_thread+0x10/0x10 [ 94.300437][ T70] ? __pfx_kthread+0x10/0x10 [ 94.302278][ T70] ret_from_fork+0x514/0xb70 [ 94.304159][ T70] ? __pfx_ret_from_fork+0x10/0x10 [ 94.306322][ T70] ? __switch_to+0xc89/0x1420 [ 94.308440][ T70] ? __pfx_kthread+0x10/0x10 [ 94.310436][ T70] ret_from_fork_asm+0x1a/0x30 [ 94.312478][ T70] [ 94.313795][ T70] Modules linked in: [ 94.315449][ T70] ---[ end trace 0000000000000000 ]--- [ 94.317622][ T70] RIP: 0010:kasan_byte_accessible+0x12/0x30 [ 94.317650][ T70] Code: 79 ff ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 c3 cc cc cc cc cc 66 66 66 66 66 66 2e [ 94.317672][ T70] RSP: 0018:ffffc90000ae7978 EFLAGS: 00010002 [ 94.317679][ T70] RAX: dffffc0000000000 RBX: ffffffff8be8ac30 RCX: 8000000000000002 [ 94.317685][ T70] RDX: 0000000000000000 RSI: ffffffff8be8ac30 RDI: 000000000000001c [ 94.317690][ T70] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 [ 94.317695][ T70] R10: dffffc0000000000 R11: fffffbfff20f46f0 R12: 00000000000000e0 [ 94.317700][ T70] R13: 0000000000000000 R14: 00000000000000e0 R15: 0000000000000001 [ 94.317704][ T70] FS: 0000000000000000(0000) GS:ffff88808c2cf000(0000) knlGS:0000000000000000 [ 94.317710][ T70] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.317715][ T70] CR2: 00007ffa82359e9c CR3: 0000000043ac6000 CR4: 0000000000352ef0 [ 94.317743][ T70] Kernel panic - not syncing: Fatal exception [ 94.359803][ T70] Kernel Offset: disabled [ 94.361696][ T70] Rebooting in 86400 seconds..