program: r0 = openat$comedi(0xffffffffffffff9c, &(0x7f000000b200)='/dev/comedi1\x00', 0x8040, 0x0) r1 = socket$inet6_mptcp(0xa, 0x1, 0x106) syz_emit_vhci(&(0x7f0000000040)=ANY=[@ANYBLOB="0408e200c8001c"], 0x7) r2 = syz_init_net_socket$bt_l2cap(0x1f, 0x3, 0x0) connect$bt_l2cap(r2, &(0x7f0000000080)={0x1f, 0x0, @fixed={'\xaa\xaa\xaa\xaa\xaa', 0x10}}, 0xe) setsockopt$bt_BT_SECURITY(r2, 0x112, 0x4, &(0x7f00000041c0)={0x4}, 0x2) setsockopt$inet6_tcp_TCP_CONGESTION(r1, 0x6, 0xd, &(0x7f0000000080)='westwood', 0x8) bind$inet6(r1, &(0x7f0000000000)={0xa, 0x4e24, 0x2, @loopback}, 0x1c) connect$inet6(r1, &(0x7f0000000040)={0xa, 0x3, 0x0, @loopback}, 0x1c) ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, &(0x7f0000000100)={'pcl818\x00', [0xff, 0x2, 0x1, 0x80000001, 0xfffffffb, 0x6f8, 0x4d7, 0x0, 0x4, 0x4, 0x0, 0x401, 0x3, 0x8001, 0x9, 0x7ff, 0xa, 0x1, 0x0, 0x5, 0x8, 0x10, 0xfe, 0x6, 0x54, 0x10001, 0x26, 0x40, 0x10001, 0x8, 0x1]}) r3 = socket$caif_stream(0x25, 0x1, 0x5) sendmmsg$sock(r3, &(0x7f00000005c0)=[{{0x0, 0x0, 0x0}}, {{0x0, 0x0, &(0x7f0000000100)=[{&(0x7f00000000c0)="bbae5b8f", 0x4}], 0x1}}], 0x2, 0x4004814) mprotect(&(0x7f0000ff9000/0x4000)=nil, 0x4000, 0x3000000) r4 = open_tree(0xffffffffffffff9c, &(0x7f0000000640)='\x00', 0x89901) capset(&(0x7f0000000040)={0x19980330}, &(0x7f0000000a40)={0x0, 0x8000, 0xcae2, 0x81, 0x3, 0x1}) bpf$BPF_PROG_QUERY(0x10, 0x0, 0x0) move_mount(r4, &(0x7f0000000140)='.\x00', 0xffffffffffffff9c, 0x0, 0x262) setsockopt$inet_sctp6_SCTP_AUTH_CHUNK(r4, 0x84, 0x15, &(0x7f00000002c0)={0x7}, 0x1) ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, 0x0) ioctl$AUTOFS_DEV_IOCTL_PROTOSUBVER(0xffffffffffffffff, 0xc0189373, &(0x7f0000000000)={{0x1, 0x1, 0x18, 0xffffffffffffffff, {0x5}}, './file0\x00'}) r6 = socket$nl_generic(0x10, 0x3, 0x10) r7 = syz_genetlink_get_family_id$devlink(&(0x7f0000000380), 0xffffffffffffffff) ioctl$FS_IOC_RESVSP(r4, 0x40305828, &(0x7f0000000300)={0x0, 0x2, 0x0, 0xb}) sendmsg$DEVLINK_CMD_RATE_NEW(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={&(0x7f0000000000)={0x30, r7, 0x905, 0x0, 0x0, {0x2a}, [@handle=@pci={{0x8}, {0x11}}]}, 0x30}}, 0x0) sendmsg$DEVLINK_CMD_PORT_SET(r5, &(0x7f0000000280)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x4}, 0xc, &(0x7f0000000080)={&(0x7f00000001c0)={0x9c, r7, 0x100, 0x70bd2c, 0x25dfdbfd, {}, [{{@nsim={{0xe}, {0xf, 0x2, {'netdevsim', 0x0}}}, {0x8, 0x3, 0x3}}, {0x6, 0x4, 0x3}}, {{@pci={{0x8}, {0x11}}, {0x8, 0x3, 0x2}}, {0x6, 0x4, 0x1}}, {{@pci={{0x8}, {0x11}}, {0x8, 0x3, 0x1}}, {0x6, 0x4, 0x2}}]}, 0x9c}, 0x1, 0x0, 0x0, 0x40001}, 0x10) [ 75.597483][ T47] Bluetooth: hci0: command tx timeout [ 75.667197][ T5333] comedi comedi1: pcl818: I/O port conflict (0xff,16) [ 75.669831][ T5333] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN NOPTI [ 75.674430][ T5333] KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] [ 75.677868][ T5333] CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 75.681649][ T5333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 75.686207][ T5333] RIP: 0010:pcl818_ai_cancel+0x69/0x3f0 [ 75.688872][ T5333] Code: 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 19 ba 6c f9 48 8b 03 48 89 04 24 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 f8 b9 6c f9 4d 8b 24 24 48 83 c3 [ 75.696852][ T5333] RSP: 0018:ffffc9000d5a79d8 EFLAGS: 00010206 [ 75.699467][ T5333] RAX: 0000000000000005 RBX: ffff88803e2e3780 RCX: 0000000000100000 [ 75.703058][ T5333] RDX: ffffc9000f6f2000 RSI: 0000000000000941 RDI: 0000000000000942 [ 75.706431][ T5333] RBP: 0000000000000001 R08: ffff88803e72292f R09: 1ffff11007ce4525 [ 75.709672][ T5333] R10: dffffc0000000000 R11: ffffffff88bc1930 R12: 0000000000000028 [ 75.712780][ T5333] R13: dffffc0000000000 R14: ffff88803e722800 R15: dffffc0000000000 [ 75.715832][ T5333] FS: 00007f027798c6c0(0000) GS:ffff88808d683000(0000) knlGS:0000000000000000 [ 75.718980][ T5333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.721720][ T5333] CR2: 00002000000041c0 CR3: 000000003f632000 CR4: 0000000000352ef0 [ 75.724571][ T5333] Call Trace: [ 75.725884][ T5333] [ 75.727124][ T5333] pcl818_detach+0x66/0xd0 [ 75.729089][ T5333] comedi_device_detach_locked+0x178/0x750 [ 75.731770][ T5333] comedi_device_attach+0x5d4/0x720 [ 75.733925][ T5333] comedi_unlocked_ioctl+0x5ff/0x1020 [ 75.736041][ T5333] ? kasan_quarantine_put+0xdd/0x220 [ 75.738077][ T5333] ? lockdep_hardirqs_on+0x98/0x140 [ 75.740489][ T5333] ? __pfx_comedi_unlocked_ioctl+0x10/0x10 [ 75.743194][ T5333] ? __local_bh_enable_ip+0x12d/0x1c0 [ 75.745359][ T5333] ? do_futex+0x395/0x420 [ 75.747123][ T5333] ? inet_stream_connect+0x89/0xa0 [ 75.749237][ T5333] ? __fget_files+0x2a/0x420 [ 75.751358][ T5333] ? __fget_files+0x3a0/0x420 [ 75.753304][ T5333] ? __fget_files+0x2a/0x420 [ 75.755237][ T5333] ? bpf_lsm_file_ioctl+0x9/0x20 [ 75.757407][ T5333] ? __pfx_comedi_unlocked_ioctl+0x10/0x10 [ 75.759926][ T5333] __se_sys_ioctl+0xfc/0x170 [ 75.761987][ T5333] do_syscall_64+0xfa/0xf80 [ 75.763953][ T5333] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.766514][ T5333] ? clear_bhb_loop+0x60/0xb0 [ 75.768401][ T5333] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.770812][ T5333] RIP: 0033:0x7f0276b8f7c9 [ 75.772748][ T5333] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 [ 75.780406][ T5333] RSP: 002b:00007f027798c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 75.783899][ T5333] RAX: ffffffffffffffda RBX: 00007f0276de5fa0 RCX: 00007f0276b8f7c9 [ 75.786947][ T5333] RDX: 0000200000000100 RSI: 0000000040946400 RDI: 0000000000000003 [ 75.790229][ T5333] RBP: 00007f0276c13f91 R08: 0000000000000000 R09: 0000000000000000 [ 75.793398][ T5333] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 75.796663][ T5333] R13: 00007f0276de6038 R14: 00007f0276de5fa0 R15: 00007fff69a21a28 [ 75.799860][ T5333] [ 75.801081][ T5333] Modules linked in: [ 75.803179][ T5333] ---[ end trace 0000000000000000 ]--- [ 75.846841][ T5334] capability: warning: `syz.0.0' uses 32-bit capabilities (legacy support in use) [ 75.850706][ T5333] RIP: 0010:pcl818_ai_cancel+0x69/0x3f0 [ 75.853536][ T5333] Code: 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 19 ba 6c f9 48 8b 03 48 89 04 24 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 f8 b9 6c f9 4d 8b 24 24 48 83 c3 [ 75.862247][ T5333] RSP: 0018:ffffc9000d5a79d8 EFLAGS: 00010206 [ 75.864967][ T5333] RAX: 0000000000000005 RBX: ffff88803e2e3780 RCX: 0000000000100000 [ 75.868539][ T5333] RDX: ffffc9000f6f2000 RSI: 0000000000000941 RDI: 0000000000000942 [ 75.874955][ T5333] RBP: 0000000000000001 R08: ffff88803e72292f R09: 1ffff11007ce4525 [ 75.878394][ T5333] R10: dffffc0000000000 R11: ffffffff88bc1930 R12: 0000000000000028 [ 75.881224][ T5333] R13: dffffc0000000000 R14: ffff88803e722800 R15: dffffc0000000000 [ 75.884648][ T5333] FS: 00007f027798c6c0(0000) GS:ffff88808d683000(0000) knlGS:0000000000000000 [ 75.888135][ T5333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.890686][ T5333] CR2: 00007f0a885cd5a3 CR3: 000000003f632000 CR4: 0000000000352ef0 [ 75.894494][ T5333] Kernel panic - not syncing: Fatal exception [ 75.897247][ T5333] Kernel Offset: disabled [ 75.898965][ T5333] Rebooting in 86400 seconds..