mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
loop4: detected capacity change from 0 to 32767
Oops: general protection fault, probably for non-canonical address 0xdffffc0040000000: 0000 [#1] SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x0000000200000000-0x0000000200000007]
CPU: 1 UID: 0 PID: 3962 Comm: syz-executor.4 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:ffff888047706ec0 EFLAGS: 00010016
RAX: 0000000040000000 RBX: ffff888047cb2718 RCX: ffffc90007cc8000
RDX: 0000000000040000 RSI: ffffffff8141ef2b RDI: 0000000000000005
RBP: 0000000200000002 R08: 0000000000000001 R09: fffffbfff0f11ef4
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: ffff8880178c2800
FS: 00007ff3c2cf9700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f975721da40 CR3: 000000000d9d6000 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:0x7ff3c57838d7
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:00007ff3c2cf8ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff3c2cf8f40 RCX: 00007ff3c57838d7
RDX: 00007ff3c2cf9050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007ff3c57ddf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ff3c2cf9050
R13: 00007ffcfcb519ff R14: 00007ff3c2cf9300 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:ffff888047706ec0 EFLAGS: 00010016
RAX: 0000000040000000 RBX: ffff888047cb2718 RCX: ffffc90007cc8000
RDX: 0000000000040000 RSI: ffffffff8141ef2b RDI: 0000000000000005
RBP: 0000000200000002 R08: 0000000000000001 R09: fffffbfff0f11ef4
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: ffff8880178c2800
FS: 00007ff3c2cf9700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f975721da40 CR3: 000000000d9d6000 CR4: 0000000000350ef0
note: syz-executor.4[3962] exited with irqs disabled
note: syz-executor.4[3962] exited with preempt_count 1
------------[ cut here ]------------
WARNING: kernel/exit.c:898 at do_exit+0x1c36/0x2970, CPU#1: syz-executor.4/3962
Modules linked in:
CPU: 1 UID: 0 PID: 3962 Comm: syz-executor.4 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:ffff888047707e40 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90007cc8000
RDX: 0000000000040000 RSI: ffffffff813b42d5 RDI: ffff88801cbae468
RBP: ffff88801cbad280 R08: 0000000000000001 R09: fffffbfff0f11cd8
R10: 0000000000000200 R11: 0000000000000001 R12: 000000000000000b
R13: 0000000000002710 R14: dffffc0040000000 R15: 0000000000000000
FS: 00007ff3c2cf9700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f975721da40 CR3: 000000000d9d6000 CR4: 0000000000350ef0
Call Trace:
make_task_dead+0x174/0x3b0
rewind_stack_and_make_dead+0x16/0x20
RIP: 0033:0x7ff3c57838d7
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:00007ff3c2cf8ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff3c2cf8f40 RCX: 00007ff3c57838d7
RDX: 00007ff3c2cf9050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007ff3c57ddf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ff3c2cf9050
R13: 00007ffcfcb519ff R14: 00007ff3c2cf9300 R15: 0000000000022000
irq event stamp: 80282
hardirqs last enabled at (80281): [] ktime_get+0x1c7/0x270
hardirqs last disabled at (80282): [] _raw_spin_lock_irq+0x42/0x50
softirqs last enabled at (80168): [] handle_softirqs+0x50c/0x770
softirqs last disabled at (79961): [] __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: 3962, name: syz-executor.4
preempt_count: 0, expected: 0
RCU nest depth: 2, expected: 0
INFO: lockdep is turned off.
CPU: 1 UID: 0 PID: 3962 Comm: syz-executor.4 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:0x7ff3c57838d7
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:00007ff3c2cf8ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff3c2cf8f40 RCX: 00007ff3c57838d7
RDX: 00007ff3c2cf9050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007ff3c57ddf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ff3c2cf9050
R13: 00007ffcfcb519ff R14: 00007ff3c2cf9300 R15: 0000000000022000
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
==================================================================
BUG: KASAN: slab-use-after-free in __mutex_lock+0xc72/0x1020
Read of size 4 at addr ffff88801cbad2b4 by task syz-executor.4/3972
CPU: 1 UID: 0 PID: 3972 Comm: syz-executor.4 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:0x7ff3c5736a04
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:00007ff3c2cd7e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ff3c57cd970 RCX: 00007ff3c5736a04
RDX: 0000000000000002 RSI: 00007ff3c2cd7f40 RDI: 00000000ffffff9c
RBP: 00007ff3c2cd7f40 R08: 0000000000000000 R09: 00007ff3c57ddf6d
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000004 R14: 0000000020000198 R15: 0000000000000001
Allocated by task 3957:
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 0:
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+0x70/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
__irq_exit_rcu+0xc4/0x100
irq_exit_rcu+0x9/0x20
sysvec_apic_timer_interrupt+0x70/0x80
asm_sysvec_apic_timer_interrupt+0x1a/0x20
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
start_secondary+0x1bd/0x210
common_startup_64+0x13e/0x148
The buggy address belongs to the object at ffff88801cbad280
which belongs to the cache task_struct of size 6784
The buggy address is located 52 bytes inside of
freed 6784-byte region [ffff88801cbad280, ffff88801cbaed00)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1cba8
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff88800c8a0b81
flags: 0x100000000000040(head|node=0|zone=1)
page_type: f5(slab)
raw: 0100000000000040 ffff888008ff7640 ffffea000056f200 dead000000000002
raw: 0000000000000000 0000000000040004 00000000f5000000 ffff88800c8a0b81
head: 0100000000000040 ffff888008ff7640 ffffea000056f200 dead000000000002
head: 0000000000000000 0000000000040004 00000000f5000000 ffff88800c8a0b81
head: 0100000000000003 ffffea000072ea01 00000000ffffffff 00000000ffffffff
head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88801cbad180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88801cbad200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88801cbad280: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88801cbad300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88801cbad380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Bluetooth: hci7: Controller not accepting commands anymore: ncmd = 0
Bluetooth: hci7: Injecting HCI hardware error event
Bluetooth: hci7: hardware error 0x00
Bluetooth: hci7: Opcode 0x0c03 failed: -110
----------------
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)