loop3: detected capacity change from 0 to 264192
Oops: general protection fault, probably for non-canonical address 0xdffffc0002f27c80: 0000 [#1] SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x000000001793e400-0x000000001793e407]
CPU: 0 UID: 0 PID: 4008 Comm: syz-executor.3 Tainted: G W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary)
Tainted: [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:__queue_work+0x202/0x1240
Code: 48 8b 6d 00 e8 4f 9e 79 03 31 ff 41 89 c5 89 c6 e8 93 f3 31 00 45 85 ed 0f 85 e1 05 00 00 e8 55 f8 31 00 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 a0 0e 00 00 4c 8b 75 00 48 89 df 4c 89 34 24
RSP: 0018:ffff888047776ec0 EFLAGS: 00010012
RAX: 0000000002f27c80 RBX: ffff88800c8e9318 RCX: ffffc90001805000
RDX: 0000000000040000 RSI: ffffffff8141ef2b RDI: 0000000000000005
RBP: 000000001793e400 R08: 0000000000000001 R09: fffffbfff0f11ef4
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8880167b2000
FS: 00007f9abd79c700(0000) GS:ffff8880e55dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9abd79af98 CR3: 000000000ebe4000 CR4: 0000000000350ef0
Call Trace:
queue_work_on+0xd0/0xe0
loop_queue_rq+0x5c8/0x1180
__blk_mq_issue_directly+0xd5/0x260
blk_mq_request_issue_directly+0x11c/0x1e0
blk_mq_issue_direct+0x192/0x640
blk_mq_dispatch_queue_requests+0x4b0/0x7c0
blk_mq_flush_plug_list+0x1ec/0x5b0
__blk_flush_plug+0x25c/0x460
__submit_bio+0x480/0x5b0
submit_bio_noacct_nocheck+0x68e/0xcb0
submit_bio_noacct+0x359/0x1350
block_read_full_folio+0x457/0x760
filemap_read_folio+0x4a/0x1e0
do_read_cache_folio+0x1d6/0x500
read_part_sector+0xd1/0x2f0
read_lba+0x1b8/0x380
efi_partition+0x281/0x28e0
bdev_disk_changed+0x78b/0x1440
loop_reread_partitions+0x70/0x140
loop_set_status+0x697/0xa80
lo_ioctl+0x17b/0x1c70
blkdev_ioctl+0x27c/0x6c0
__x64_sys_ioctl+0x18f/0x210
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9ac02478d7
Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9abd79bef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9abd79bf40 RCX: 00007f9ac02478d7
RDX: 00007f9abd79c050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007f9ac02a1f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f9abd79c050
R13: 00007fff3afaf31f R14: 00007f9abd79c300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__queue_work+0x202/0x1240
Code: 48 8b 6d 00 e8 4f 9e 79 03 31 ff 41 89 c5 89 c6 e8 93 f3 31 00 45 85 ed 0f 85 e1 05 00 00 e8 55 f8 31 00 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 a0 0e 00 00 4c 8b 75 00 48 89 df 4c 89 34 24
RSP: 0018:ffff888047776ec0 EFLAGS: 00010012
RAX: 0000000002f27c80 RBX: ffff88800c8e9318 RCX: ffffc90001805000
RDX: 0000000000040000 RSI: ffffffff8141ef2b RDI: 0000000000000005
RBP: 000000001793e400 R08: 0000000000000001 R09: fffffbfff0f11ef4
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8880167b2000
FS: 00007f9abd79c700(0000) GS:ffff8880e55dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9abd79af98 CR3: 000000000ebe4000 CR4: 0000000000350ef0
note: syz-executor.3[4008] exited with irqs disabled
note: syz-executor.3[4008] exited with preempt_count 1
------------[ cut here ]------------
WARNING: kernel/exit.c:898 at do_exit+0x1c36/0x2970, CPU#0: syz-executor.3/4008
Modules linked in:
CPU: 0 UID: 0 PID: 4008 Comm: syz-executor.3 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary)
Tainted: [D]=DIE, [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:do_exit+0x1c36/0x2970
Code: 96 0a 00 00 c7 43 18 00 00 00 00 e9 21 e6 ff ff e8 bf a4 38 00 bf 02 24 00 00 e8 f5 ab 0b 00 e9 41 ff ff ff e8 ab a4 38 00 90 <0f> 0b 90 e9 87 e4 ff ff e8 9d a4 38 00 4c 89 e6 bf 05 06 00 00 e8
RSP: 0018:ffff888047777e40 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90001805000
RDX: 0000000000040000 RSI: ffffffff813b42d5 RDI: ffff8880188048e8
RBP: ffff888018803700 R08: 0000000000000001 R09: fffffbfff0f11cd8
R10: 0000000000000200 R11: 0000000000000001 R12: 000000000000000b
R13: 0000000000002710 R14: dffffc0002f27c80 R15: 0000000000000000
FS: 00007f9abd79c700(0000) GS:ffff8880e55dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9abd79af98 CR3: 000000000ebe4000 CR4: 0000000000350ef0
Call Trace:
make_task_dead+0x174/0x3b0
rewind_stack_and_make_dead+0x16/0x20
RIP: 0033:0x7f9ac02478d7
Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9abd79bef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9abd79bf40 RCX: 00007f9ac02478d7
RDX: 00007f9abd79c050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007f9ac02a1f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f9abd79c050
R13: 00007fff3afaf31f R14: 00007f9abd79c300 R15: 0000000000022000
irq event stamp: 780
kmemleak: Found object by alias at 0x607f1a63914c
CPU: 1 UID: 0 PID: 4022 Comm: syz-executor.1 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary)
Tainted: [D]=DIE, [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xca/0x120
__lookup_object+0x94/0xb0
delete_object_full+0x27/0x70
free_percpu+0x30/0x1160
futex_hash_free+0x38/0xc0
mmput+0x2d3/0x390
do_exit+0x79d/0x2970
do_group_exit+0xd3/0x2a0
get_signal+0x2315/0x2340
arch_do_signal_or_restart+0x80/0x790
exit_to_user_mode_loop+0x8b/0x110
do_syscall_64+0x2f7/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f460f716b19
Code: Unable to access opcode bytes at 0x7f460f716aef.
RSP: 002b:00007f460cc8c218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f460f829f68 RCX: 00007f460f716b19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f460f829f6c
RBP: 00007f460f829f60 R08: 000000000000000e R09: 0000000000000000
R10: 000000000000014e R11: 0000000000000246 R12: 00007f460f829f6c
R13: 00007ffcea23d00f R14: 00007f460cc8c300 R15: 0000000000022000
kmemleak: Object (percpu) 0x607f1a639148 (size 8):
kmemleak: comm "syz-executor.3", pid 3993, jiffies 4294819567
kmemleak: min_count = 1
kmemleak: count = 0
kmemleak: flags = 0x21
kmemleak: checksum = 0
kmemleak: backtrace:
pcpu_alloc_noprof+0x87a/0x1170
__alloc_workqueue+0x74b/0x1820
alloc_workqueue_noprof+0xc7/0x200
loop_configure+0xf73/0x1590
lo_ioctl+0x66d/0x1c70
blkdev_ioctl+0x27c/0x6c0
__x64_sys_ioctl+0x18f/0x210
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
hardirqs last enabled at (779): [] ktime_get+0x1c7/0x270
hardirqs last disabled at (780): [] _raw_spin_lock_irq+0x42/0x50
softirqs last enabled at (772): [] handle_softirqs+0x50c/0x770
softirqs last disabled at (609): [] __irq_exit_rcu+0xc4/0x100
---[ end trace 0000000000000000 ]---
BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:51
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 4008, name: syz-executor.3
preempt_count: 0, expected: 0
RCU nest depth: 2, expected: 0
INFO: lockdep is turned off.
CPU: 0 UID: 0 PID: 4008 Comm: syz-executor.3 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary)
Tainted: [D]=DIE, [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xfa/0x120
__might_resched+0x2f3/0x510
exit_signals+0x25/0x940
do_exit+0x2db/0x2970
make_task_dead+0x174/0x3b0
rewind_stack_and_make_dead+0x16/0x20
RIP: 0033:0x7f9ac02478d7
Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9abd79bef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9abd79bf40 RCX: 00007f9ac02478d7
RDX: 00007f9abd79c050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007f9ac02a1f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f9abd79c050
R13: 00007fff3afaf31f R14: 00007f9abd79c300 R15: 0000000000022000
==================================================================
BUG: KASAN: slab-use-after-free in __mutex_lock+0xc72/0x1020
Read of size 4 at addr ffff888018803734 by task syz-executor.3/280
CPU: 0 UID: 0 PID: 280 Comm: syz-executor.3 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary)
Tainted: [D]=DIE, [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xca/0x120
print_report+0xcb/0x610
kasan_report+0xca/0x100
__mutex_lock+0xc72/0x1020
bdev_open+0x3e9/0xe40
blkdev_open+0x277/0x400
do_dentry_open+0x71c/0x1420
vfs_open+0x82/0x3f0
path_openat+0x1c3f/0x2880
do_filp_open+0x1e8/0x450
do_sys_openat2+0x104/0x1b0
__x64_sys_openat+0x142/0x200
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9ac01faa04
Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44
RSP: 002b:00007fff3afaf4f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fff3afaf5f0 RCX: 00007f9ac01faa04
RDX: 0000000000000002 RSI: 00007fff3afaf630 RDI: 00000000ffffff9c
RBP: 00007fff3afaf630 R08: 0000000000000000 R09: 00007fff3afaf400
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000000 R14: 000000000000000a R15: 00007fff3afaf630
Allocated by task 3989:
kasan_save_stack+0x24/0x50
kasan_save_track+0x14/0x30
__kasan_slab_alloc+0x59/0x70
kmem_cache_alloc_node_noprof+0x21a/0x690
copy_process+0x461/0x73c0
kernel_clone+0xea/0x7f0
__do_sys_clone+0xce/0x120
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 266:
kasan_save_stack+0x24/0x50
kasan_save_track+0x14/0x30
__kasan_save_free_info+0x3a/0x60
__kasan_slab_free+0x3f/0x50
kmem_cache_free+0x2a1/0x540
rcu_core+0x7c8/0x1800
handle_softirqs+0x1b1/0x770
__irq_exit_rcu+0xc4/0x100
irq_exit_rcu+0x9/0x20
sysvec_apic_timer_interrupt+0x39/0x80
asm_sysvec_apic_timer_interrupt+0x1a/0x20
Last potentially related work creation:
kasan_save_stack+0x24/0x50
kasan_record_aux_stack+0x89/0xa0
__call_rcu_common.constprop.0+0x70/0x960
delayed_put_task_struct+0xde/0x260
rcu_core+0x7c8/0x1800
handle_softirqs+0x1b1/0x770
run_ksoftirqd+0x2e/0x60
smpboot_thread_fn+0x41d/0x9d0
kthread+0x3c8/0x740
ret_from_fork+0x34b/0x430
ret_from_fork_asm+0x1a/0x30
Second to last potentially related work creation:
kasan_save_stack+0x24/0x50
kasan_record_aux_stack+0x89/0xa0
__call_rcu_common.constprop.0+0x70/0x960
put_task_struct_rcu_user+0x75/0xc0
__schedule+0xe86/0x3590
schedule_idle+0x5c/0x90
do_idle+0x279/0x490
cpu_startup_entry+0x4f/0x60
rest_init+0x164/0x290
start_kernel+0x3f9/0x510
x86_64_start_reservations+0x18/0x30
x86_64_start_kernel+0x109/0x120
common_startup_64+0x13e/0x148
The buggy address belongs to the object at ffff888018803700
which belongs to the cache task_struct of size 6784
The buggy address is located 52 bytes inside of
freed 6784-byte region [ffff888018803700, ffff888018805180)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x18800
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff88800e3ae581
flags: 0x100000000000040(head|node=0|zone=1)
page_type: f5(slab)
raw: 0100000000000040 ffff888008ff7640 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000040004 00000000f5000000 ffff88800e3ae581
head: 0100000000000040 ffff888008ff7640 dead000000000122 0000000000000000
head: 0000000000000000 0000000000040004 00000000f5000000 ffff88800e3ae581
head: 0100000000000003 ffffea0000620001 00000000ffffffff 00000000ffffffff
head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff888018803600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888018803680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888018803700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888018803780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888018803800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Bluetooth: hci0: Opcode 0x0c1a failed: -4
Bluetooth: hci2: Opcode 0x0c1a failed: -4
Bluetooth: hci3: Opcode 0x0c1a failed: -4
Bluetooth: hci1: Opcode 0x0c1a failed: -4
Bluetooth: hci4: Opcode 0x0c1a failed: -4
Bluetooth: hci5: Opcode 0x0c1a failed: -4
Bluetooth: hci6: Opcode 0x0c1a failed: -4
Bluetooth: hci7: Opcode 0x0c1a failed: -4
Bluetooth: hci0: command 0x0c1a tx timeout
Bluetooth: hci7: command 0x0c1a tx timeout
Bluetooth: hci6: command 0x0c1a tx timeout
Bluetooth: hci5: command 0x0c1a tx timeout
Bluetooth: hci4: command 0x0c1a tx timeout
Bluetooth: hci1: command 0x0c1a tx timeout
Bluetooth: hci3: command 0x0c1a tx timeout
Bluetooth: hci2: command 0x0c1a tx timeout
kmemleak: 5 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
----------------
Code disassembly (best guess):
0: 48 8b 6d 00 mov 0x0(%rbp),%rbp
4: e8 4f 9e 79 03 callq 0x3799e58
9: 31 ff xor %edi,%edi
b: 41 89 c5 mov %eax,%r13d
e: 89 c6 mov %eax,%esi
10: e8 93 f3 31 00 callq 0x31f3a8
15: 45 85 ed test %r13d,%r13d
18: 0f 85 e1 05 00 00 jne 0x5ff
1e: e8 55 f8 31 00 callq 0x31f878
23: 48 89 e8 mov %rbp,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction
2f: 0f 85 a0 0e 00 00 jne 0xed5
35: 4c 8b 75 00 mov 0x0(%rbp),%r14
39: 48 89 df mov %rbx,%rdi
3c: 4c 89 34 24 mov %r14,(%rsp)