Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [wireless?] KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | 0 (1) | 2025/01/10 14:26 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [wireless?] KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | 0 (1) | 2025/01/10 14:26 |
================================================================== BUG: KASAN: use-after-free in cfg80211_shutdown_all_interfaces+0x1ed/0x200 net/wireless/core.c:275 Read of size 8 at addr ffff88811e4b0d68 by task kworker/0:1/10 CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.16.0-rc2-syzkaller-00053-gcf16f408364e #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events cfg80211_rfkill_block_work Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xcd/0x680 mm/kasan/report.c:521 kasan_report+0xe0/0x110 mm/kasan/report.c:634 cfg80211_shutdown_all_interfaces+0x1ed/0x200 net/wireless/core.c:275 cfg80211_rfkill_set_block net/wireless/core.c:307 [inline] cfg80211_rfkill_set_block net/wireless/core.c:299 [inline] cfg80211_rfkill_block_work+0x1e/0x30 net/wireless/core.c:319 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5b3/0x6c0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK> The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88811e4b2000 pfn:0x11e4b0 flags: 0x200000000000000(node=0|zone=2) raw: 0200000000000000 ffffea0004a9f808 ffff8881f583e230 0000000000000000 raw: ffff88811e4b2000 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 0x40dc0(GFP_KERNEL|__GFP_ZERO|__GFP_COMP), pid 5460, tgid 5460 (kworker/0:6), ts 3294709639055, free_ts 3297029338579 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0xf98/0x2ce0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x259/0x21e0 mm/page_alloc.c:4959 __alloc_pages_noprof+0xb/0x1b0 mm/page_alloc.c:4993 __alloc_pages_node_noprof include/linux/gfp.h:284 [inline] alloc_pages_node_noprof include/linux/gfp.h:311 [inline] ___kmalloc_large_node+0x84/0x1e0 mm/slub.c:4272 __kmalloc_large_node_noprof+0x1c/0x70 mm/slub.c:4300 __do_kmalloc_node mm/slub.c:4316 [inline] __kmalloc_noprof.cold+0xc/0x61 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] wiphy_new_nm+0x701/0x2120 net/wireless/core.c:470 ieee80211_alloc_hw_nm+0x1b7a/0x2260 net/mac80211/main.c:835 ieee80211_alloc_hw include/net/mac80211.h:4918 [inline] rt2x00usb_probe+0x8c/0xac0 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c:808 usb_probe_interface+0x300/0x9c0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:579 [inline] really_probe+0x241/0xa90 drivers/base/dd.c:657 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:799 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:957 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:462 page last free pid 5460 tgid 5460 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0x78a/0x1040 mm/page_alloc.c:2706 __folio_put+0x1e7/0x2d0 mm/swap.c:112 device_release+0xa1/0x240 drivers/base/core.c:2568 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1e7/0x5a0 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3800 rt2x00usb_disconnect+0x16e/0x240 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c:874 usb_unbind_interface+0x1da/0x9a0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:569 [inline] device_remove+0x122/0x170 drivers/base/dd.c:561 __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1295 bus_remove_device+0x22f/0x420 drivers/base/bus.c:579 device_del+0x396/0x9f0 drivers/base/core.c:3881 usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418 usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2316 hub_port_connect drivers/usb/core/hub.c:5375 [inline] hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] port_event drivers/usb/core/hub.c:5835 [inline] hub_event+0x1aa0/0x5030 drivers/usb/core/hub.c:5917 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 Memory state around the buggy address: ffff88811e4b0c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88811e4b0c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88811e4b0d00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88811e4b0d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88811e4b0e00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2025/07/03 10:31 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | cf16f408364e | 115ceea7 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2025/04/20 17:53 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | f41f7b3d9daf | 2a20f901 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2025/04/03 02:28 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | ed492c95f13a | c799dfdd | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2025/03/24 09:00 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | ed492c95f13a | 875573af | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2025/02/13 18:49 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | 9682c35ff6ec | a98a8417 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2025/01/30 05:54 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | 6d61a53dd6f5 | afe4eff5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2025/01/25 05:27 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | 70cd0576aa39 | 9fbd772e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces | ||
2024/12/25 22:47 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | d7123c77dc60 | 444551c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in cfg80211_shutdown_all_interfaces |