Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 3988 Comm: syz-executor.5 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:ffff888016ce6ec0 EFLAGS: 00010056
RAX: 0000000000000000 RBX: ffff888047492918 RCX: ffffc9000d44f000
RDX: 0000000000040000 RSI: ffffffff8141ef2b RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000001 R09: fffffbfff0f11ef4
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: ffff888045044800
FS: 00007f401d25d700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f398d5c0718 CR3: 000000001d4c5000 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
kmemleak: Found object by alias at 0x607f1a638c2c
CPU: 0 UID: 0 PID: 3985 Comm: syz-executor.2 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
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
__x64_sys_exit_group+0x3e/0x50
x64_sys_call+0x18c5/0x18d0
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fceae793b19
Code: Unable to access opcode bytes at 0x7fceae793aef.
RSP: 002b:00007fffe0822c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007fceae793b19
RDX: 00007fceae74672b RSI: ffffffffffffffbc RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 00007fffe0822d60
kmemleak: Object (percpu) 0x607f1a638c28 (size 8):
kmemleak: comm "syz-executor.7", pid 3983, jiffies 4294805992
kmemleak: min_count = 1
kmemleak: count = 0
kmemleak: flags = 0x21
kmemleak: checksum = 0
kmemleak: backtrace:
pcpu_alloc_noprof+0x87a/0x1170
perf_trace_event_init+0x366/0xa10
perf_trace_init+0x1a4/0x2f0
perf_tp_event_init+0xa6/0x120
perf_try_init_event+0x140/0x9f0
perf_event_alloc.part.0+0x118e/0x45f0
__do_sys_perf_event_open+0x719/0x2c20
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
__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:0x7f401fce78d7
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:00007f401d25cef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f401d25cf40 RCX: 00007f401fce78d7
RDX: 00007f401d25d050 RSI: 0000000000004c04 RDI: 0000000000000004
RBP: 00007f401fd41f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f401d25d050
R13: 00007ffe274fabaf R14: 00007f401d25d300 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:ffff888016ce6ec0 EFLAGS: 00010056
RAX: 0000000000000000 RBX: ffff888047492918 RCX: ffffc9000d44f000
RDX: 0000000000040000 RSI: ffffffff8141ef2b RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000001 R09: fffffbfff0f11ef4
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: ffff888045044800
FS: 00007f401d25d700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f398d5c0718 CR3: 000000001d4c5000 CR4: 0000000000350ef0
note: syz-executor.5[3988] exited with irqs disabled
note: syz-executor.5[3988] exited with preempt_count 1
------------[ cut here ]------------
WARNING: kernel/exit.c:898 at do_exit+0x1c36/0x2970, CPU#1: syz-executor.5/3988
Modules linked in:
CPU: 1 UID: 0 PID: 3988 Comm: syz-executor.5 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:ffff888016ce7e40 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc9000d44f000
RDX: 0000000000040000 RSI: ffffffff813b42d5 RDI: ffff88801588e468
RBP: ffff88801588d280 R08: 0000000000000001 R09: fffffbfff0f11cd8
R10: 0000000000000200 R11: 0000000000000001 R12: 000000000000000b
R13: 0000000000002710 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f401d25d700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f398d5c0718 CR3: 000000001d4c5000 CR4: 0000000000350ef0
Call Trace:
make_task_dead+0x174/0x3b0
rewind_stack_and_make_dead+0x16/0x20
RIP: 0033:0x7f401fce78d7
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:00007f401d25cef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f401d25cf40 RCX: 00007f401fce78d7
RDX: 00007f401d25d050 RSI: 0000000000004c04 RDI: 0000000000000004
RBP: 00007f401fd41f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f401d25d050
R13: 00007ffe274fabaf R14: 00007f401d25d300 R15: 0000000000022000
irq event stamp: 578
hardirqs last enabled at (577): [] _raw_spin_unlock_irqrestore+0x2c/0x50
hardirqs last disabled at (578): [] _raw_spin_lock_irq+0x42/0x50
softirqs last enabled at (386): [] handle_softirqs+0x50c/0x770
softirqs last disabled at (301): [] __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: 3988, name: syz-executor.5
preempt_count: 0, expected: 0
RCU nest depth: 2, expected: 0
INFO: lockdep is turned off.
CPU: 1 UID: 0 PID: 3988 Comm: syz-executor.5 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:0x7f401fce78d7
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:00007f401d25cef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f401d25cf40 RCX: 00007f401fce78d7
RDX: 00007f401d25d050 RSI: 0000000000004c04 RDI: 0000000000000004
RBP: 00007f401fd41f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f401d25d050
R13: 00007ffe274fabaf R14: 00007f401d25d300 R15: 0000000000022000
loop3: detected capacity change from 0 to 140
EXT4-fs (loop3): warning: mounting unchecked fs, running e2fsck is recommended
EXT4-fs (loop3): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.
UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy
misc raw-gadget: fail, usb_gadget_register_driver returned -16
EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000.
==================================================================
BUG: KASAN: slab-use-after-free in __mutex_lock+0xc72/0x1020
Read of size 4 at addr ffff88801588d2b4 by task systemd-udevd/4021
CPU: 0 UID: 0 PID: 4021 Comm: systemd-udevd 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:0x7f6e87d55767
Code: 25 00 00 41 00 3d 00 00 41 00 74 47 64 8b 04 25 18 00 00 00 85 c0 75 6b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 95 00 00 00 48 8b 4c 24 28 64 48 2b 0c 25
RSP: 002b:00007ffee8780b60 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ffee8780c94 RCX: 00007f6e87d55767
RDX: 00000000000a0800 RSI: 000055ae14db4c60 RDI: 00000000ffffff9c
RBP: 000055ae14db4c60 R08: 000055adfdc7a820 R09: 00007f6e87e0e000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000000000000000 R14: 00007ffee8780bf0 R15: 00007ffee8780c94
Allocated by task 3984:
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 14:
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
run_ksoftirqd+0x2e/0x60
smpboot_thread_fn+0x41d/0x9d0
kthread+0x3c8/0x740
ret_from_fork+0x34b/0x430
ret_from_fork_asm+0x1a/0x30
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
do_softirq+0x48/0x80
__local_bh_enable_ip+0xf1/0x110
cfg80211_put_bss+0x1b4/0x280
ieee80211_rx_bss_put+0x43/0x60
ieee80211_ibss_rx_queued_mgmt+0x19e0/0x2f50
ieee80211_iface_work+0xd52/0x1220
cfg80211_wiphy_work+0x245/0x480
process_one_work+0x8e1/0x19c0
worker_thread+0x67e/0xe90
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+0xdb/0x390
worker_thread+0x156/0xe90
kthread+0x3c8/0x740
ret_from_fork+0x34b/0x430
ret_from_fork_asm+0x1a/0x30
The buggy address belongs to the object at ffff88801588d280
which belongs to the cache task_struct of size 6784
The buggy address is located 52 bytes inside of
freed 6784-byte region [ffff88801588d280, ffff88801588ed00)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15888
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff88800eb9e9c1
flags: 0x100000000000040(head|node=0|zone=1)
page_type: f5(slab)
raw: 0100000000000040 ffff888008ff7640 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000040004 00000000f5000000 ffff88800eb9e9c1
head: 0100000000000040 ffff888008ff7640 dead000000000100 dead000000000122
head: 0000000000000000 0000000000040004 00000000f5000000 ffff88800eb9e9c1
head: 0100000000000003 ffffea0000562201 00000000ffffffff 00000000ffffffff
head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88801588d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88801588d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88801588d280: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88801588d300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88801588d380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
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)