__do_sys_clone+0xce/0x120
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
9pnet_fd: p9_fd_create_tcp (3977): problem connecting socket to 127.0.0.1
kmemleak: Automatic memory scanning thread ended
Oops: general protection fault, probably for non-canonical address 0xdffffc001fffffff: 0000 [#1] SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x00000000fffffff8-0x00000000ffffffff]
CPU: 0 UID: 0 PID: 3980 Comm: syz-executor.0 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:apply_wqattrs_cleanup.part.0+0xbd/0x2b0
Code: dd 28 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 95 01 00 00 48 8b 5c dd 28 48 85 db 74 41 e8 8a af 32 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 a6 01 00 00 48 8b 3b e8 50 a8 7c 03 48 89 df
RSP: 0018:ffff888019a676b8 EFLAGS: 00010217
RAX: 000000001fffffff RBX: 00000000ffffffff RCX: ffffc90000c07000
RDX: 0000000000040000 RSI: ffffffff814137f6 RDI: ffff888009d219b0
RBP: ffff888009d21980 R08: 0000000000000001 R09: ffffed100334cec7
R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000
R13: fffffbfff0b0a4ac R14: ffffffffffffffff R15: 0000000000000001
FS: 00007f291e940700(0000) GS:ffff8880e55dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f241d60d760 CR3: 000000001eedb000 CR4: 0000000000350ef0
Call Trace:
apply_workqueue_attrs_locked+0xa1/0xf0
__alloc_workqueue+0x1065/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
RIP: 0033:0x7f29213ca8d7
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:00007f291e93ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2921414970 RCX: 00007f29213ca8d7
RDX: 0000000000000003 RSI: 0000000000004c00 RDI: 0000000000000004
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000003 R14: 0000000020000540 R15: 0000000000000000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:apply_wqattrs_cleanup.part.0+0xbd/0x2b0
Code: dd 28 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 95 01 00 00 48 8b 5c dd 28 48 85 db 74 41 e8 8a af 32 00 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 a6 01 00 00 48 8b 3b e8 50 a8 7c 03 48 89 df
RSP: 0018:ffff888019a676b8 EFLAGS: 00010217
RAX: 000000001fffffff RBX: 00000000ffffffff RCX: ffffc90000c07000
RDX: 0000000000040000 RSI: ffffffff814137f6 RDI: ffff888009d219b0
RBP: ffff888009d21980 R08: 0000000000000001 R09: ffffed100334cec7
R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000
R13: fffffbfff0b0a4ac R14: ffffffffffffffff R15: 0000000000000001
FS: 00007f291e940700(0000) GS:ffff8880e55dd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f241d60d760 CR3: 000000001eedb000 CR4: 0000000000350ef0
==================================================================
BUG: KASAN: slab-use-after-free in sched_mm_cid_before_execve+0x429/0x4a0
Write of size 8 at addr ffff88800c9fe4d0 by task syz-executor.1/3982
CPU: 0 UID: 0 PID: 3982 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
print_report+0xcb/0x610
kasan_report+0xca/0x100
kasan_check_range+0x39/0x1b0
sched_mm_cid_before_execve+0x429/0x4a0
exit_signals+0x20b/0x940
do_exit+0x2db/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:0x7fef1dd21b19
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fef1b276218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fef1de35028 RCX: 00007fef1dd21b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fef1de35028
RBP: 00007fef1de35020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fef1de3502c
R13: 00007ffcbb481e4f R14: 00007fef1b276300 R15: 0000000000022000
UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
Allocated by task 52:
kasan_save_stack+0x24/0x50
kasan_save_track+0x14/0x30
__kasan_slab_alloc+0x59/0x70
kmem_cache_alloc_noprof+0x205/0x690
__alloc_object+0x2b/0x2c0
__create_object+0x1d/0x80
__kmalloc_noprof+0x45c/0x6e0
cfg80211_inform_single_bss_data+0x4e9/0x1bd0
cfg80211_inform_bss_data+0x20e/0x34e0
cfg80211_inform_bss_frame_data+0x253/0x6b0
ieee80211_bss_info_update+0x2f5/0xa90
ieee80211_ibss_rx_queued_mgmt+0x18b3/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
Freed by task 22:
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
kmem_cache_free_bulk+0x29b/0x610
kvfree_rcu_bulk+0x1a3/0x250
kfree_rcu_work+0xe8/0x160
process_one_work+0x8e1/0x19c0
worker_thread+0x67e/0xe90
kthread+0x3c8/0x740
ret_from_fork+0x34b/0x430
ret_from_fork_asm+0x1a/0x30
The buggy address belongs to the object at ffff88800c9fe4a0
which belongs to the cache kmemleak_object of size 232
The buggy address is located 48 bytes inside of
freed 232-byte region [ffff88800c9fe4a0, ffff88800c9fe588)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88800c9fe000 pfn:0xc9fe
flags: 0x100000000000200(workingset|node=0|zone=1)
page_type: f5(slab)
raw: 0100000000000200 ffff888008c4b780 ffffea000026d550 ffffea0000377090
raw: ffff88800c9fe000 00000000000d000c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88800c9fe380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88800c9fe400: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>ffff88800c9fe480: fc fc fc fc fa fb fb fb fb fb fb fb fb fb fb fb
^
ffff88800c9fe500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88800c9fe580: fb fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb
==================================================================
syz-executor.6 (3988) used greatest stack depth: 23864 bytes left
----------------
Code disassembly (best guess):
0: dd 28 (bad) (%rax)
2: 48 89 f8 mov %rdi,%rax
5: 48 c1 e8 03 shr $0x3,%rax
9: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
e: 0f 85 95 01 00 00 jne 0x1a9
14: 48 8b 5c dd 28 mov 0x28(%rbp,%rbx,8),%rbx
19: 48 85 db test %rbx,%rbx
1c: 74 41 je 0x5f
1e: e8 8a af 32 00 callq 0x32afad
23: 48 89 d8 mov %rbx,%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 a6 01 00 00 jne 0x1db
35: 48 8b 3b mov (%rbx),%rdi
38: e8 50 a8 7c 03 callq 0x37ca88d
3d: 48 89 df mov %rbx,%rdi