KASAN: use-after-free Read in ieee80211_monitor_select_queue

Status: upstream: reported C repro on 2026/01/29 16:08
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+878643e0580bc580f883@syzkaller.appspotmail.com
First crash: 239d, last: 19h50m
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[PATCH wireless] wifi: mac80211: fix slab-out-of-bounds read in ieee80211_monitor_select_queue() 1 (1) 2026/09/25 02:44
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/06/26 linux-5.15.y (ToT) eceeec79dbc6 C [report] KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/06/26 upstream (ToT) 4edcdefd4083 C Didn't crash
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 KASAN: use-after-free Read in ieee80211_monitor_select_queue 19 syz, C 307 19h07m 181d 0/3 upstream: reported C repro on 2026/03/28 06:14

Sample crash report:
==================================================================
BUG: KASAN: use-after-free in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764
Read of size 2 at addr ffff88807e0ad442 by task syz.0.19/4341

CPU: 1 PID: 4341 Comm: syz.0.19 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 print_address_description+0x60/0x2d0 mm/kasan/report.c:248
 __kasan_report mm/kasan/report.c:434 [inline]
 kasan_report+0xdf/0x130 mm/kasan/report.c:451
 ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764
 netdev_core_pick_tx+0x118/0x2e0 net/core/dev.c:4184
 __dev_queue_xmit+0x756/0x2f80 net/core/dev.c:4261
 packet_snd net/packet/af_packet.c:3089 [inline]
 packet_sendmsg+0x3dba/0x5060 net/packet/af_packet.c:3120
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445
 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499
 __sys_sendmsg net/socket.c:2528 [inline]
 __do_sys_sendmsg net/socket.c:2537 [inline]
 __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa3da641e59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff22f57108 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa3da8bafa0 RCX: 00007fa3da641e59
RDX: 0000000000004005 RSI: 00002000000000c0 RDI: 0000000000000007
RBP: 00007fa3da6d7d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa3da8bafac R14: 00007fa3da8bafa0 R15: 00007fa3da8bafa0
 </TASK>

The buggy address belongs to the page:
page:ffffea0001f82b40 refcount:0 mapcount:0 mapping:0000000000000000 index:0x100 pfn:0x7e0ad
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 0000000000000000 ffffea0001f82b08 0000000000000000
raw: 0000000000000100 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 3551, ts 14002350113, free_ts 63481494035
 prep_new_page mm/page_alloc.c:2426 [inline]
 get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192
 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
 alloc_slab_page mm/slub.c:1780 [inline]
 allocate_slab mm/slub.c:1917 [inline]
 new_slab+0xc0/0x4b0 mm/slub.c:1980
 ___slab_alloc+0x80a/0xdd0 mm/slub.c:3013
 __slab_alloc mm/slub.c:3100 [inline]
 slab_alloc_node mm/slub.c:3191 [inline]
 slab_alloc mm/slub.c:3233 [inline]
 __kmalloc+0x1cd/0x330 mm/slub.c:4408
 kmalloc include/linux/slab.h:612 [inline]
 tomoyo_realpath_from_path+0x118/0x610 security/tomoyo/realpath.c:254
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_check_open_permission+0x1eb/0x410 security/tomoyo/file.c:771
 security_file_open+0x5e/0xa0 security/security.c:1669
 do_dentry_open+0x322/0xf80 fs/open.c:813
 do_open fs/namei.c:3616 [inline]
 path_openat+0x26f5/0x2fa0 fs/namei.c:3750
 do_filp_open+0x1e2/0x410 fs/namei.c:3777
 do_sys_openat2+0x150/0x4b0 fs/open.c:1255
 do_sys_open fs/open.c:1271 [inline]
 __do_sys_openat fs/open.c:1287 [inline]
 __se_sys_openat fs/open.c:1282 [inline]
 __x64_sys_openat+0x135/0x160 fs/open.c:1282
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1340 [inline]
 free_pcp_prepare mm/page_alloc.c:1391 [inline]
 free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396
 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176
 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283
 __kasan_slab_alloc+0x2f/0xd0 mm/kasan/common.c:444
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3225 [inline]
 slab_alloc mm/slub.c:3233 [inline]
 kmem_cache_alloc_trace+0x103/0x2a0 mm/slub.c:3250
 kmalloc include/linux/slab.h:607 [inline]
 netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:643 [inline]
 netdevice_event+0x324/0x900 drivers/infiniband/core/roce_gid_mgmt.c:802
 notifier_call_chain kernel/notifier.c:83 [inline]
 raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391
 call_netdevice_notifiers_extack net/core/dev.c:2074 [inline]
 call_netdevice_notifiers net/core/dev.c:2088 [inline]
 unregister_netdevice_many+0x1049/0x19f0 net/core/dev.c:11160
 default_device_exit_batch+0x364/0x3c0 net/core/dev.c:11693
 ops_exit_list net/core/net_namespace.c:177 [inline]
 cleanup_net+0x791/0xba0 net/core/net_namespace.c:635
 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287

Memory state around the buggy address:
 ffff88807e0ad300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88807e0ad380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88807e0ad400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff88807e0ad480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88807e0ad500: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================

Crashes (370):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/28 22:27 linux-5.15.y 241d66fa280c 681715f7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/25 06:40 linux-5.15.y 0248c33e835e f281d9d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/24 06:18 linux-5.15.y 0248c33e835e 0281b448 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/22 09:41 linux-5.15.y 0248c33e835e e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/19 07:35 linux-5.15.y 0248c33e835e 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/18 12:21 linux-5.15.y 0248c33e835e 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/16 08:09 linux-5.15.y 0248c33e835e 12a0a44a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/15 18:42 linux-5.15.y 0248c33e835e 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/14 17:58 linux-5.15.y 0248c33e835e 81a27d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/13 15:38 linux-5.15.y 0996e0926f6b 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/11 14:50 linux-5.15.y 0996e0926f6b b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/10 00:20 linux-5.15.y 0996e0926f6b 4e8b1cc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/04 15:11 linux-5.15.y 0996e0926f6b f65209a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/04 02:49 linux-5.15.y 0996e0926f6b 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/01 17:08 linux-5.15.y 28c35638ec51 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/08/31 20:33 linux-5.15.y 28c35638ec51 316d9396 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/01/29 16:08 linux-5.15.y 9eec9a14ee10 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in ieee80211_monitor_select_queue
2026/09/25 07:44 linux-5.15.y 0248c33e835e f281d9d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/24 19:44 linux-5.15.y 0248c33e835e 3c3cdf19 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/24 06:13 linux-5.15.y 0248c33e835e 0281b448 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/23 16:15 linux-5.15.y 0248c33e835e abce1216 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/22 12:42 linux-5.15.y 0248c33e835e e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/22 10:57 linux-5.15.y 0248c33e835e e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/21 04:18 linux-5.15.y 0248c33e835e 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/18 11:20 linux-5.15.y 0248c33e835e 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/17 21:08 linux-5.15.y 0248c33e835e 8d7d05f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/17 02:40 linux-5.15.y 0248c33e835e 95928915 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/15 18:45 linux-5.15.y 0248c33e835e 2daa4bb5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/13 03:26 linux-5.15.y 0996e0926f6b 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/13 00:40 linux-5.15.y 0996e0926f6b 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/12 22:50 linux-5.15.y 0996e0926f6b 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/12 06:00 linux-5.15.y 0996e0926f6b 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/12 04:55 linux-5.15.y 0996e0926f6b 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/11 00:10 linux-5.15.y 0996e0926f6b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/10 14:53 linux-5.15.y 0996e0926f6b 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/09 22:08 linux-5.15.y 0996e0926f6b 4e8b1cc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/09 08:27 linux-5.15.y 0996e0926f6b 8387c273 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/08 19:56 linux-5.15.y 0996e0926f6b 243b72f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/07 18:21 linux-5.15.y 0996e0926f6b 680aa3e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/07 16:46 linux-5.15.y 0996e0926f6b 680aa3e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/05 02:59 linux-5.15.y 0996e0926f6b 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/04 01:07 linux-5.15.y 0996e0926f6b 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/03 07:59 linux-5.15.y 0996e0926f6b 6a988719 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/02 19:48 linux-5.15.y 0996e0926f6b 85995287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/09/01 15:36 linux-5.15.y 28c35638ec51 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/08/31 21:52 linux-5.15.y 28c35638ec51 316d9396 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/08/29 01:30 linux-5.15.y 28c35638ec51 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
2026/08/29 00:27 linux-5.15.y 28c35638ec51 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Read in ieee80211_monitor_select_queue
* Struck through repros no longer work on HEAD.