program syz-executor.1 is using a deprecated SCSI ioctl, please convert it to SG_IO
general protection fault, probably for non-canonical address 0xdffffc0000000014: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x00000000000000a0-0x00000000000000a7]
CPU: 1 PID: 9801 Comm: syz-executor.6 Not tainted 5.18.0-rc1-next-20220408 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:unlink_anon_vmas+0x20d/0x710
Code: 00 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 94 04 00 00 49 8b ac 24 a8 00 00 00 48 8d bd a4 00 00 00 48 89 f8 48 c1 e8 03 <0f> b6 14 18 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6f
RSP: 0018:ffff888041de7960 EFLAGS: 00010217
RAX: 0000000000000014 RBX: dffffc0000000000 RCX: 0000000000000000
------------[ cut here ]------------
RDX: ffff888043c1b580 RSI: ffffffff816d127e RDI: 00000000000000a4
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
WARNING: CPU: 0 PID: 9827 at mm/rmap.c:245 unlink_anon_vmas+0x4ca/0x710
R10: ffffffff81658334 R11: 0000000000000000 R12: ffff888057e9e900
R13: ffff888040c7b360 R14: 0000000000000000 R15: ffff888057e9e9b0
Modules linked in:
FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ebf564e38 CR3: 0000000005026000 CR4: 0000000000350ee0
CPU: 0 PID: 9827 Comm: syz-executor.6 Not tainted 5.18.0-rc1-next-20220408 #1
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
free_pgtables+0x1ab/0x2f0
RIP: 0010:unlink_anon_vmas+0x4ca/0x710
exit_mmap+0x1a1/0x460
Code: aa fe ff ff e8 57 0c d7 ff 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 44 0c d7 ff e8 3f 0c d7 ff 0f 0b eb 99 e8 36 0c d7 ff <0f> 0b 49 8d 7f 08 e8 1b 8d ba ff e9 b7 fc ff ff e8 21 0c d7 ff 48
RSP: 0018:ffff888015d97960 EFLAGS: 00010293
mmput+0xc8/0x380
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
do_exit+0xa0a/0x27e0
RDX: ffff8880101c8000 RSI: ffffffff816d156a RDI: ffff888019177ae8
RBP: ffff888019177ae0 R08: 0000000000000000 R09: ffff888057e9e017
R10: ffffffff81658334 R11: 0000000000000001 R12: ffff888057e9e000
R13: ffff888008ad0a68 R14: 0000000000000000 R15: ffff888057e9e000
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
do_group_exit+0xd2/0x2f0
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
get_signal+0x2303/0x2350
CR2: 000055c87c8b1c20 CR3: 000000000df76000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
arch_do_signal_or_restart+0x88/0x1a40
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Call Trace:
free_pgtables+0x1ab/0x2f0
exit_mmap+0x1a1/0x460
exit_to_user_mode_prepare+0x131/0x1a0
mmput+0xc8/0x380
syscall_exit_to_user_mode+0x19/0x40
do_exit+0xa0a/0x27e0
do_syscall_64+0x48/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
RSP: 002b:00007f32488f6218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f324b493f68 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b493f68
RBP: 00007f324b493f60 R08: 0000000000000000 R09: 0000000000000000
do_group_exit+0xd2/0x2f0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b493f6c
R13: 00007fff4e78708f R14: 00007f32488f6300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
get_signal+0x2303/0x2350
arch_do_signal_or_restart+0x88/0x1a40
RIP: 0010:unlink_anon_vmas+0x20d/0x710
Code: 00 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 94 04 00 00 49 8b ac 24 a8 00 00 00 48 8d bd a4 00 00 00 48 89 f8 48 c1 e8 03 <0f> b6 14 18 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6f
RSP: 0018:ffff888041de7960 EFLAGS: 00010217
RAX: 0000000000000014 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888043c1b580 RSI: ffffffff816d127e RDI: 00000000000000a4
exit_to_user_mode_prepare+0x131/0x1a0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
syscall_exit_to_user_mode+0x19/0x40
R10: ffffffff81658334 R11: 0000000000000000 R12: ffff888057e9e900
do_syscall_64+0x48/0x90
R13: ffff888040c7b360 R14: 0000000000000000 R15: ffff888057e9e9b0
entry_SYSCALL_64_after_hwframe+0x44/0xae
FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
RIP: 0033:0x7f324b380b19
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
CR2: 0000556ebf564e38 CR3: 0000000005026000 CR4: 0000000000350ee0
RSP: 002b:00007f32488d5218 EFLAGS: 00000246
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
ORIG_RAX: 00000000000000ca
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
RAX: fffffffffffffe00 RBX: 00007f324b494028 RCX: 00007f324b380b19
Fixing recursive fault but reboot is needed!
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b494028
BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.6/9801
RBP: 00007f324b494020 R08: 0000000000000000 R09: 0000000000000000
caller is __schedule+0x7f/0x2450
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b49402c
CPU: 1 PID: 9801 Comm: syz-executor.6 Tainted: G D 5.18.0-rc1-next-20220408 #1
R13: 00007fff4e78708f R14: 00007f32488d5300 R15: 0000000000022000
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
irq event stamp: 932
check_preemption_disabled+0x16b/0x170
hardirqs last enabled at (931): [] asm_sysvec_call_function_single+0x12/0x20
__schedule+0x7f/0x2450
hardirqs last disabled at (932): [] __schedule+0x120c/0x2450
softirqs last enabled at (926): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (917): [] __irq_exit_rcu+0x113/0x170
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON(sem->magic != sem): count = 0x1, magic = 0x0, owner = 0xffff8880101c8000, curr 0xffff8880101c8000, list not empty
do_task_dead+0xd1/0x100
WARNING: CPU: 0 PID: 9827 at kernel/locking/rwsem.c:1337 up_write+0x2af/0x460
make_task_dead.cold+0xb9/0x1c9
Modules linked in:
rewind_stack_and_make_dead+0x17/0x17
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
CPU: 0 PID: 9827 Comm: syz-executor.6 Tainted: G D W 5.18.0-rc1-next-20220408 #1
RSP: 002b:00007f32488f6218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RAX: fffffffffffffe00 RBX: 00007f324b493f68 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b493f68
RIP: 0010:up_write+0x2af/0x460
RBP: 00007f324b493f60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b493f6c
Code: 80 3c 02 00 0f 85 8e 01 00 00 ff 34 24 48 8b 55 00 4d 89 f9 4d 89 f0 48 c7 c6 a0 b1 66 84 48 c7 c7 e0 b1 66 84 e8 6b 71 dc 02 <0f> 0b 59 e9 d0 fe ff ff 48 8d 5d 58 c6 05 93 d7 63 04 01 48 b8 00
R13: 00007fff4e78708f R14: 00007f32488f6300 R15: 0000000000022000
RSP: 0018:ffff888015d97910 EFLAGS: 00010286
BUG: scheduling while atomic: syz-executor.6/9801/0x00000000
RAX: 0000000000000000 RBX: ffffffff858de748 RCX: 0000000000000000
INFO: lockdep is turned off.
RDX: ffff8880101c8000 RSI: ffffffff812b58c8 RDI: ffffed1002bb2f14
Modules linked in:
RBP: ffff888057e9e008 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff812af53c R11: 0000000000000000 R12: ffff888057e9e010
Preemption disabled at:
R13: ffff888057e9e070 R14: ffff8880101c8000 R15: ffff8880101c8000
[<0000000000000000>] 0x0
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CPU: 1 PID: 9801 Comm: syz-executor.6 Tainted: G D W 5.18.0-rc1-next-20220408 #1
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
CR2: 000055c87c8b1c20 CR3: 000000000df76000 CR4: 0000000000350ef0
dump_stack_lvl+0x8b/0xb3
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
__schedule_bug.cold+0x133/0x143
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
__schedule+0x18db/0x2450
Call Trace:
unlink_anon_vmas+0x4d5/0x710
free_pgtables+0x1ab/0x2f0
exit_mmap+0x1a1/0x460
do_task_dead+0xd1/0x100
make_task_dead.cold+0xb9/0x1c9
mmput+0xc8/0x380
rewind_stack_and_make_dead+0x17/0x17
do_exit+0xa0a/0x27e0
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
RSP: 002b:00007f32488f6218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f324b493f68 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b493f68
RBP: 00007f324b493f60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b493f6c
R13: 00007fff4e78708f R14: 00007f32488f6300 R15: 0000000000022000
do_group_exit+0xd2/0x2f0
get_signal+0x2303/0x2350
arch_do_signal_or_restart+0x88/0x1a40
exit_to_user_mode_prepare+0x131/0x1a0
syscall_exit_to_user_mode+0x19/0x40
do_syscall_64+0x48/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
RSP: 002b:00007f32488d5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f324b494028 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b494028
RBP: 00007f324b494020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b49402c
R13: 00007fff4e78708f R14: 00007f32488d5300 R15: 0000000000022000
irq event stamp: 932
hardirqs last enabled at (931): [] asm_sysvec_call_function_single+0x12/0x20
hardirqs last disabled at (932): [] __schedule+0x120c/0x2450
softirqs last enabled at (926): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (917): [] __irq_exit_rcu+0x113/0x170
---[ end trace 0000000000000000 ]---
==================================================================
BUG: KASAN: null-ptr-deref in down_write+0xa6/0x150
Write of size 8 at addr 0000000000000008 by task syz-executor.6/9827
CPU: 0 PID: 9827 Comm: syz-executor.6 Tainted: G D W 5.18.0-rc1-next-20220408 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
kasan_report+0xbe/0x1c0
kasan_check_range+0xf9/0x1e0
down_write+0xa6/0x150
unlink_anon_vmas+0x19f/0x710
free_pgtables+0x1ab/0x2f0
exit_mmap+0x1a1/0x460
mmput+0xc8/0x380
do_exit+0xa0a/0x27e0
do_group_exit+0xd2/0x2f0
get_signal+0x2303/0x2350
arch_do_signal_or_restart+0x88/0x1a40
exit_to_user_mode_prepare+0x131/0x1a0
syscall_exit_to_user_mode+0x19/0x40
do_syscall_64+0x48/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
RSP: 002b:00007f32488d5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f324b494028 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b494028
RBP: 00007f324b494020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b49402c
R13: 00007fff4e78708f R14: 00007f32488d5300 R15: 0000000000022000
==================================================================
BUG: kernel NULL pointer dereference, address: 0000000000000008
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 1b24c067 P4D 1b24c067 PUD 15e45067 PMD 0
Oops: 0002 [#2] PREEMPT SMP KASAN NOPTI
CPU: 0 PID: 9827 Comm: syz-executor.6 Tainted: G B D W 5.18.0-rc1-next-20220408 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:down_write+0xbf/0x150
Code: 00 00 00 48 c7 44 24 28 00 00 00 00 e8 4a a3 62 fd be 08 00 00 00 48 8d 7c 24 28 e8 3b a3 62 fd ba 01 00 00 00 48 8b 44 24 28 48 0f b1 55 00 0f 94 c0 5a 84 c0 74 5b 4c 8d 6d 08 be 08 00 00
RSP: 0018:ffff888015d978c8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff11002bb2f1a RCX: ffffffff8414a025
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888015d978f0
RBP: 0000000000000008 R08: 0000000000000001 R09: ffff888015d978f7
R10: ffffed1002bb2f1e R11: 0000000000000001 R12: dffffc0000000000
R13: ffff888008ad0a68 R14: 0000000000000000 R15: ffff888057e9e000
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 000000001d096000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Call Trace:
unlink_anon_vmas+0x19f/0x710
free_pgtables+0x1ab/0x2f0
exit_mmap+0x1a1/0x460
mmput+0xc8/0x380
do_exit+0xa0a/0x27e0
do_group_exit+0xd2/0x2f0
get_signal+0x2303/0x2350
arch_do_signal_or_restart+0x88/0x1a40
exit_to_user_mode_prepare+0x131/0x1a0
syscall_exit_to_user_mode+0x19/0x40
do_syscall_64+0x48/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
RSP: 002b:00007f32488d5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f324b494028 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b494028
RBP: 00007f324b494020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b49402c
R13: 00007fff4e78708f R14: 00007f32488d5300 R15: 0000000000022000
Modules linked in:
CR2: 0000000000000008
---[ end trace 0000000000000000 ]---
RIP: 0010:unlink_anon_vmas+0x20d/0x710
Code: 00 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 94 04 00 00 49 8b ac 24 a8 00 00 00 48 8d bd a4 00 00 00 48 89 f8 48 c1 e8 03 <0f> b6 14 18 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6f
RSP: 0018:ffff888041de7960 EFLAGS: 00010217
RAX: 0000000000000014 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888043c1b580 RSI: ffffffff816d127e RDI: 00000000000000a4
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81658334 R11: 0000000000000000 R12: ffff888057e9e900
R13: ffff888040c7b360 R14: 0000000000000000 R15: ffff888057e9e9b0
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 000000001d096000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
Fixing recursive fault but reboot is needed!
BUG: scheduling while atomic: syz-executor.6/9827/0x00000000
INFO: lockdep is turned off.
Modules linked in:
irq event stamp: 932
hardirqs last enabled at (931): [] asm_sysvec_call_function_single+0x12/0x20
hardirqs last disabled at (932): [] __schedule+0x120c/0x2450
softirqs last enabled at (926): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (917): [] __irq_exit_rcu+0x113/0x170
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 PID: 9827 Comm: syz-executor.6 Tainted: G B D W 5.18.0-rc1-next-20220408 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
__schedule_bug.cold+0x133/0x143
__schedule+0x18db/0x2450
do_task_dead+0xd1/0x100
make_task_dead.cold+0xb9/0x1c9
rewind_stack_and_make_dead+0x17/0x17
RIP: 0033:0x7f324b380b19
Code: Unable to access opcode bytes at RIP 0x7f324b380aef.
RSP: 002b:00007f32488d5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f324b494028 RCX: 00007f324b380b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f324b494028
RBP: 00007f324b494020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324b49402c
R13: 00007fff4e78708f R14: 00007f32488d5300 R15: 0000000000022000
ata1: lost interrupt (Status 0x58)
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 48 89 add %cl,-0x77(%rax)
5: f8 clc
6: 48 c1 e8 03 shr $0x3,%rax
a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1)
e: 0f 85 94 04 00 00 jne 0x4a8
14: 49 8b ac 24 a8 00 00 mov 0xa8(%r12),%rbp
1b: 00
1c: 48 8d bd a4 00 00 00 lea 0xa4(%rbp),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 0f b6 14 18 movzbl (%rax,%rbx,1),%edx <-- trapping instruction
2e: 48 89 f8 mov %rdi,%rax
31: 83 e0 07 and $0x7,%eax
34: 83 c0 03 add $0x3,%eax
37: 38 d0 cmp %dl,%al
39: 7c 08 jl 0x43
3b: 84 d2 test %dl,%dl
3d: 0f .byte 0xf
3e: 85 .byte 0x85
3f: 6f outsl %ds:(%rsi),(%dx)