program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./config\x00', &(0x7f0000000100)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config/nvmet/subsystems/subsys1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config/nvmet/subsystems/subsys1/namespaces/1\x00', 0x1ff) r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x42, 0x1a4) openat(0xffffffffffffff9c, &(0x7f0000000000)='./config/nvmet/subsystems/subsys1/namespaces/1/device_path\x00', 0x1, 0x0) write(r0, &(0x7f0000000080)='./file0\x00', 0xfffffffffffffff1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./config/nvmet/subsystems/subsys1/namespaces/1/buffered_io\x00', 0x1, 0x0) write(r1, &(0x7f0000000200)='1\x00', 0x2) r2 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./config/nvmet/subsystems/subsys1/namespaces/1/enable\x00', 0x1, 0x0) write(r2, &(0x7f0000000200)='1\x00', 0x2) write(r2, &(0x7f0000000200)='0\x00', 0x2) bind$packet(r0, &(0x7f0000000040)={0x11, 0x6, 0x0, 0x1, 0x2, 0x6, @random="24c129148740"}, 0x14) [ 121.875844][ T5322] nvmet: adding nsid 1 to subsystem subsys1 [ 121.907717][ T5322] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI [ 121.912401][ T5322] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 121.915718][ T5322] CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 121.919245][ T5322] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 121.923577][ T5322] RIP: 0010:strlen+0x29/0x70 [ 121.925716][ T5322] Code: 90 f3 0f 1e fa 41 57 41 56 41 54 53 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00 [ 121.933571][ T5322] RSP: 0018:ffffc9000dfff978 EFLAGS: 00010246 [ 121.936108][ T5322] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000 [ 121.939388][ T5322] RDX: ffffc9000e8c2000 RSI: 0000000000000051 RDI: 0000000000000000 [ 121.942658][ T5322] RBP: ffffc9000dfffab8 R08: ffffffff90576c37 R09: 1ffffffff20aed86 [ 121.945852][ T5322] R10: dffffc0000000000 R11: fffffbfff20aed87 R12: 1ffff92001bfff40 [ 121.949045][ T5322] R13: dffffc0000000000 R14: dffffc0000000000 R15: ffffffffffffffff [ 121.952240][ T5322] FS: 00007fa7e330a6c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 [ 121.955524][ T5322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 121.957865][ T5322] CR2: 00007ffeeb013030 CR3: 000000003efcd000 CR4: 0000000000352ef0 [ 121.960772][ T5322] Call Trace: [ 121.961995][ T5322] [ 121.963021][ T5322] do_getname_kernel+0x1d/0x230 [ 121.964665][ T5322] ? getname_kernel+0xd/0x20 [ 121.966394][ T5322] filp_open+0x87/0x1d0 [ 121.967922][ T5322] ? __pfx_filp_open+0x10/0x10 [ 121.969651][ T5322] ? __pfx___mutex_lock+0x10/0x10 [ 121.971589][ T5322] ? nvmet_ns_enable_store+0xc8/0x170 [ 121.973714][ T5322] nvmet_file_ns_enable+0x74/0x350 [ 121.975706][ T5322] nvmet_ns_enable+0xaa/0x780 [ 121.977475][ T5322] ? configfs_write_iter+0x238/0x430 [ 121.979655][ T5322] nvmet_ns_enable_store+0xd7/0x170 [ 121.981646][ T5322] ? __pfx_nvmet_ns_enable_store+0x10/0x10 [ 121.983750][ T5322] ? down_read+0x2be/0x330 [ 121.985667][ T5322] ? __pfx_nvmet_ns_enable_store+0x10/0x10 [ 121.988175][ T5322] configfs_write_iter+0x337/0x430 [ 121.990364][ T5322] vfs_write+0x612/0xba0 [ 121.992171][ T5322] ? __pfx_vfs_write+0x10/0x10 [ 121.994267][ T5322] ? __fget_files+0x2a/0x420 [ 121.996297][ T5322] ksys_write+0x150/0x270 [ 121.998174][ T5322] ? __pfx_ksys_write+0x10/0x10 [ 122.000194][ T5322] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 122.002752][ T5322] do_syscall_64+0x174/0x580 [ 122.004735][ T5322] ? trace_irq_disable+0x3b/0x140 [ 122.006851][ T5322] ? clear_bhb_loop+0x70/0xc0 [ 122.008812][ T5322] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 122.011352][ T5322] RIP: 0033:0x7fa7e239e0d9 [ 122.013186][ T5322] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 [ 122.021322][ T5322] RSP: 002b:00007fa7e3309fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 122.024880][ T5322] RAX: ffffffffffffffda RBX: 00007fa7e2625fa0 RCX: 00007fa7e239e0d9 [ 122.028329][ T5322] RDX: 0000000000000002 RSI: 0000200000000200 RDI: 0000000000000006 [ 122.031766][ T5322] RBP: 00007fa7e2435024 R08: 0000000000000000 R09: 0000000000000000 [ 122.035205][ T5322] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 122.038620][ T5322] R13: 00007fa7e2626038 R14: 00007fa7e2625fa0 R15: 00007ffdcf4160c8 [ 122.042026][ T5322] [ 122.043399][ T5322] Modules linked in: [ 122.045862][ T5322] ---[ end trace 0000000000000000 ]--- [ 122.055411][ T5322] RIP: 0010:strlen+0x29/0x70 [ 122.057610][ T5322] Code: 90 f3 0f 1e fa 41 57 41 56 41 54 53 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00 [ 122.066133][ T5322] RSP: 0018:ffffc9000dfff978 EFLAGS: 00010246 [ 122.069258][ T5322] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000 [ 122.072789][ T5322] RDX: ffffc9000e8c2000 RSI: 0000000000000051 RDI: 0000000000000000 [ 122.076370][ T5322] RBP: ffffc9000dfffab8 R08: ffffffff90576c37 R09: 1ffffffff20aed86 [ 122.080162][ T5322] R10: dffffc0000000000 R11: fffffbfff20aed87 R12: 1ffff92001bfff40 [ 122.083645][ T5322] R13: dffffc0000000000 R14: dffffc0000000000 R15: ffffffffffffffff [ 122.086904][ T5322] FS: 00007fa7e330a6c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 [ 122.090724][ T5322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 122.093350][ T5322] CR2: 00007fa7e32e8ff8 CR3: 000000003efcd000 CR4: 0000000000352ef0 [ 122.096616][ T5322] Kernel panic - not syncing: Fatal exception [ 122.099628][ T5322] Kernel Offset: disabled [ 122.101564][ T5322] Rebooting in 86400 seconds..