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 ffff88811e6a8d68 by task kworker/1:6/9040 CPU: 1 UID: 0 PID: 9040 Comm: kworker/1:6 Not tainted 6.15.0-rc1-syzkaller-00082-gf41f7b3d9daf #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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+0xc3/0x670 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:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 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:0xffff88811e6a8000 pfn:0x11e6a8 flags: 0x200000000000000(node=0|zone=2) raw: 0200000000000000 ffffea00043fde08 ffff8881f593dbf0 0000000000000000 raw: ffff88811e6a8000 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 5217, tgid 5217 (kworker/1:2), ts 1275138208894, free_ts 1276615379646 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x181/0x1b0 mm/page_alloc.c:1717 prep_new_page mm/page_alloc.c:1725 [inline] get_page_from_freelist+0x10ca/0x2fd0 mm/page_alloc.c:3652 __alloc_frozen_pages_noprof+0x25c/0x2160 mm/page_alloc.c:4934 __alloc_pages_noprof+0xb/0x1b0 mm/page_alloc.c:4968 __alloc_pages_node_noprof include/linux/gfp.h:284 [inline] alloc_pages_node_noprof include/linux/gfp.h:311 [inline] ___kmalloc_large_node+0x82/0x1e0 mm/slub.c:4275 __kmalloc_large_node_noprof+0x1c/0x70 mm/slub.c:4303 __do_kmalloc_node mm/slub.c:4319 [inline] __kmalloc_noprof.cold+0xc/0x61 mm/slub.c:4343 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:4912 [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+0x23e/0xa90 drivers/base/dd.c:658 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:958 bus_for_each_drv+0x156/0x1e0 drivers/base/bus.c:462 page last free pid 5217 tgid 5217 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0x66c/0xe70 mm/page_alloc.c:2680 __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+0x1e4/0x5a0 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3774 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:1273 [inline] device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1296 bus_remove_device+0x22f/0x420 drivers/base/bus.c:579 device_del+0x396/0x9f0 drivers/base/core.c:3855 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:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 Memory state around the buggy address: ffff88811e6a8c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88811e6a8c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88811e6a8d00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88811e6a8d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88811e6a8e00: 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/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 |