program: r0 = syz_open_dev$sg(&(0x7f0000000040), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000340)=ANY=[@ANYBLOB="00000000000000005a180aff"]) [ 72.424392][ T5091] Bluetooth: hci0: command tx timeout [ 73.071748][ T5106] program syz.0.0 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 73.074816][ T5106] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 73.079170][ T5106] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 73.082202][ T5106] CPU: 0 UID: 0 PID: 5106 Comm: syz.0.0 Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0 [ 73.085951][ T5106] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 73.089907][ T5106] RIP: 0010:ata_msense_control+0x966/0x1cf0 [ 73.092201][ T5106] Code: b6 04 10 84 c0 0f 85 9b 0f 00 00 4c 89 e8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 b6 0f 00 00 66 c7 03 00 e4 49 89 ec 49 c1 ec 03 <41> 0f b6 04 14 84 c0 0f 85 cc 0f 00 00 0f b6 5d 00 c0 e3 04 80 e3 [ 73.099463][ T5106] RSP: 0018:ffffc9000baaf068 EFLAGS: 00010046 [ 73.101751][ T5106] RAX: 0000000000000000 RBX: ffffffff9a703696 RCX: ffffffff86466752 [ 73.104629][ T5106] RDX: dffffc0000000000 RSI: ffffffff8c91e080 RDI: ffffffff9a703695 [ 73.107597][ T5106] RBP: 0000000000000000 R08: 0000000000020a0a R09: 1e00ffff00000000 [ 73.110682][ T5106] R10: dffffc0000000000 R11: fffffbfff34e06d3 R12: 0000000000000000 [ 73.113705][ T5106] R13: ffffffff9a703697 R14: 000000000000000a R15: ffff888000ae2df8 [ 73.116713][ T5106] FS: 00007f4244aca6c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 [ 73.120125][ T5106] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.122642][ T5106] CR2: 00007f4243ea18b8 CR3: 000000003d72e000 CR4: 0000000000350ef0 [ 73.125754][ T5106] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.128757][ T5106] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.131814][ T5106] Call Trace: [ 73.133124][ T5106] [ 73.134390][ T5106] ? __die_body+0x5f/0xb0 [ 73.136118][ T5106] ? die_addr+0xb0/0xe0 [ 73.137837][ T5106] ? exc_general_protection+0x3dd/0x5d0 [ 73.140101][ T5106] ? asm_exc_general_protection+0x26/0x30 [ 73.142335][ T5106] ? ata_msense_control+0x862/0x1cf0 [ 73.144404][ T5106] ? ata_msense_control+0x966/0x1cf0 [ 73.146536][ T5106] ? ata_msense_control+0x862/0x1cf0 [ 73.148594][ T5106] ata_scsi_simulate+0xfe5/0x2320 [ 73.150599][ T5106] ? __pfx_ata_scsi_simulate+0x10/0x10 [ 73.152741][ T5106] __ata_scsi_queuecmd+0x21e/0x1030 [ 73.154766][ T5106] ata_scsi_queuecmd+0x3bb/0x530 [ 73.156720][ T5106] scsi_queue_rq+0x1d7c/0x2e90 [ 73.158560][ T5106] blk_mq_dispatch_rq_list+0xb89/0x1b30 [ 73.160678][ T5106] ? __pfx_lock_release+0x10/0x10 [ 73.162628][ T5106] ? do_raw_spin_lock+0x14f/0x370 [ 73.164565][ T5106] ? __pfx_blk_mq_dispatch_rq_list+0x10/0x10 [ 73.167543][ T5106] __blk_mq_sched_dispatch_requests+0x424/0x1840 [ 73.170139][ T5106] ? __pfx___blk_mq_sched_dispatch_requests+0x10/0x10 [ 73.172726][ T5106] ? blk_mq_run_hw_queue+0x136/0xae0 [ 73.174822][ T5106] ? __asan_memset+0x23/0x50 [ 73.176653][ T5106] ? __pfx_lock_release+0x10/0x10 [ 73.178640][ T5106] ? blk_mq_insert_request+0x72e/0x810 [ 73.180811][ T5106] blk_mq_sched_dispatch_requests+0xcb/0x140 [ 73.183170][ T5106] ? blk_mq_run_hw_queue+0x40c/0xae0 [ 73.185241][ T5106] blk_mq_run_hw_queue+0x9a5/0xae0 [ 73.187261][ T5106] ? blk_account_io_start+0x128/0x4c0 [ 73.189365][ T5106] blk_execute_rq+0x239/0x4b0 [ 73.191319][ T5106] ? __pfx_blk_execute_rq+0x10/0x10 [ 73.193378][ T5106] ? __pfx_lock_release+0x10/0x10 [ 73.195377][ T5106] ? bpf_lsm_capable+0x9/0x10 [ 73.197245][ T5106] ? security_capable+0x7e/0x2d0 [ 73.199170][ T5106] ? capable+0x89/0xe0 [ 73.200782][ T5106] scsi_ioctl+0x222f/0x2d80 [ 73.202605][ T5106] ? tomoyo_path_number_perm+0x68d/0x880 [ 73.204846][ T5106] ? do_vfs_ioctl+0xf08/0x2e40 [ 73.206761][ T5106] ? __pfx_scsi_ioctl+0x10/0x10 [ 73.208658][ T5106] ? __pfx_do_vfs_ioctl+0x10/0x10 [ 73.210560][ T5106] ? mark_lock+0x9a/0x360 [ 73.212258][ T5106] ? tomoyo_path_number_perm+0x208/0x880 [ 73.214421][ T5106] ? __pfx_lock_release+0x10/0x10 [ 73.216389][ T5106] ? lockdep_hardirqs_on+0x99/0x150 [ 73.218444][ T5106] ? kfree+0x1a1/0x440 [ 73.220058][ T5106] ? tomoyo_path_number_perm+0x68d/0x880 [ 73.222339][ T5106] ? tomoyo_path_number_perm+0x71a/0x880 [ 73.224542][ T5106] ? tomoyo_path_number_perm+0x208/0x880 [ 73.226805][ T5106] ? __pfx_tomoyo_path_number_perm+0x10/0x10 [ 73.228962][ T5106] sg_ioctl+0x16e9/0x2e80 [ 73.230519][ T5106] ? __pfx_sg_ioctl+0x10/0x10 [ 73.232160][ T5106] ? __fget_files+0x29/0x470 [ 73.233785][ T5106] ? __fget_files+0x3f3/0x470 [ 73.235427][ T5106] ? __pfx_sg_ioctl+0x10/0x10 [ 73.237140][ T5106] __se_sys_ioctl+0xf9/0x170 [ 73.238832][ T5106] do_syscall_64+0xf3/0x230 [ 73.240709][ T5106] ? clear_bhb_loop+0x35/0x90 [ 73.242528][ T5106] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 73.244821][ T5106] RIP: 0033:0x7f4243d7def9 [ 73.246619][ T5106] 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 [ 73.254128][ T5106] RSP: 002b:00007f4244aca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 73.257375][ T5106] RAX: ffffffffffffffda RBX: 00007f4243f35f80 RCX: 00007f4243d7def9 [ 73.260433][ T5106] RDX: 0000000020000340 RSI: 0000000000000001 RDI: 0000000000000003 [ 73.263508][ T5106] RBP: 00007f4243df0b76 R08: 0000000000000000 R09: 0000000000000000 [ 73.266613][ T5106] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 73.269738][ T5106] R13: 0000000000000000 R14: 00007f4243f35f80 R15: 00007ffec4d24ec8 [ 73.272739][ T5106] [ 73.273960][ T5106] Modules linked in: [ 73.275569][ T5106] ---[ end trace 0000000000000000 ]--- [ 73.277740][ T5106] RIP: 0010:ata_msense_control+0x966/0x1cf0 [ 73.280087][ T5106] Code: b6 04 10 84 c0 0f 85 9b 0f 00 00 4c 89 e8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 b6 0f 00 00 66 c7 03 00 e4 49 89 ec 49 c1 ec 03 <41> 0f b6 04 14 84 c0 0f 85 cc 0f 00 00 0f b6 5d 00 c0 e3 04 80 e3 [ 73.287545][ T5106] RSP: 0018:ffffc9000baaf068 EFLAGS: 00010046 [ 73.289923][ T5106] RAX: 0000000000000000 RBX: ffffffff9a703696 RCX: ffffffff86466752 [ 73.292990][ T5106] RDX: dffffc0000000000 RSI: ffffffff8c91e080 RDI: ffffffff9a703695 [ 73.296051][ T5106] RBP: 0000000000000000 R08: 0000000000020a0a R09: 1e00ffff00000000 [ 73.299173][ T5106] R10: dffffc0000000000 R11: fffffbfff34e06d3 R12: 0000000000000000 [ 73.302203][ T5106] R13: ffffffff9a703697 R14: 000000000000000a R15: ffff888000ae2df8 [ 73.305304][ T5106] FS: 00007f4244aca6c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 [ 73.308769][ T5106] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.311322][ T5106] CR2: 00007f4243ea18b8 CR3: 000000003d72e000 CR4: 0000000000350ef0 [ 73.314425][ T5106] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.317533][ T5106] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.320625][ T5106] Kernel panic - not syncing: Fatal exception [ 73.323227][ T5106] Kernel Offset: disabled [ 73.324932][ T5106] Rebooting in 86400 seconds..