syzbot
KASAN: use-after-free Read in rtl_fw_do_work
Status:
auto-obsoleted due to no activity on 2023/08/30 18:39
Subsystems:
usb
wireless
[Documentation on labels]
Reported-by: syzbot+ff4b26b0bfbff2dc7960@syzkaller.appspotmail.com
First crash: 2175d, last: 2051d
▶
▼
Last patch testing requests (12)
Sample crash report:
usb 5-1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
usb 5-1: Direct firmware load for rtlwifi/rtl8192cufw.bin failed with error -2
==================================================================
BUG: KASAN: use-after-free in rtl_fw_do_work+0x407/0x430 drivers/net/wireless/realtek/rtlwifi/core.c:87
Read of size 8 at addr ffff88811aa4ff58 by task kworker/0:2/2169
CPU: 0 PID: 2169 Comm: kworker/0:2 Not tainted 5.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events request_firmware_work_func
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x107/0x163 lib/dump_stack.c:118
print_address_description.constprop.0.cold+0xae/0x4c8 mm/kasan/report.c:385
__kasan_report mm/kasan/report.c:545 [inline]
kasan_report.cold+0x1f/0x37 mm/kasan/report.c:562
rtl_fw_do_work+0x407/0x430 drivers/net/wireless/realtek/rtlwifi/core.c:87
request_firmware_work_func+0x12c/0x230 drivers/base/firmware_loader/main.c:1079
process_one_work+0x933/0x1520 kernel/workqueue.c:2272
worker_thread+0x64c/0x1120 kernel/workqueue.c:2418
kthread+0x38c/0x460 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
The buggy address belongs to the page:
page:00000000f5ab9dad refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11aa4f
flags: 0x200000000000000()
raw: 0200000000000000 0000000000000000 ffffea00046a93c8 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88811aa4fe00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88811aa4fe80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88811aa4ff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88811aa4ff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88811aa50000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
* Struck through repros no longer work on HEAD.