================================================================== BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:627 [inline] BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_cb+0xdb4/0x1050 drivers/net/wireless/ath/ath9k/hif_usb.c:671 Read of size 4 at addr ffff8881ac214090 by task syz-executor.1/16808 CPU: 0 PID: 16808 Comm: syz-executor.1 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xf6/0x16e lib/dump_stack.c:118 print_address_description.constprop.0.cold+0xd3/0x415 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x37/0x7c mm/kasan/report.c:530 ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:627 [inline] ath9k_hif_usb_rx_cb+0xdb4/0x1050 drivers/net/wireless/ath/ath9k/hif_usb.c:671 __usb_hcd_giveback_urb+0x29a/0x550 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x368/0x420 drivers/usb/core/hcd.c:1716 dummy_timer+0x125e/0x32b4 drivers/usb/gadget/udc/dummy_hcd.c:1967 call_timer_fn+0x1ac/0x6e0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0x5e5/0x14c0 kernel/time/timer.c:1786 __do_softirq+0x21e/0x996 kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x109/0x140 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu kernel/softirq.c:417 [inline] irq_exit_rcu+0x16f/0x1a0 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0xd3/0x1b0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:85 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3b/0x40 kernel/locking/spinlock.c:191 Code: e8 3a e3 8c fb 48 89 ef e8 52 d6 8d fb f6 c7 02 75 11 53 9d e8 26 61 ab fb 65 ff 0d df 7e 68 7a 5b 5d c3 e8 07 63 ab fb 53 9d ed 0f 1f 00 55 48 89 fd 65 ff 05 c5 7e 68 7a 45 31 c9 41 b8 01 RSP: 0018:ffff8881abc673e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000246 RCX: 1ffffffff0fd4d12 RDX: 1ffff11039803107 RSI: 0000000000000000 RDI: ffff8881cc018838 RBP: ffff8881a8744ad8 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff893926e7 R11: fffffbfff12724dc R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffea00068ed188 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] __test_set_page_writeback+0x68d/0xbf0 mm/page-writeback.c:2811 set_page_writeback include/linux/page-flags.h:558 [inline] ext4_bio_write_page+0x1ad/0x1166 fs/ext4/page-io.c:456 mpage_submit_page+0x14b/0x250 fs/ext4/inode.c:2082 mpage_map_and_submit_buffers+0x569/0xa20 fs/ext4/inode.c:2330 mpage_map_and_submit_extent fs/ext4/inode.c:2469 [inline] ext4_writepages+0x1aff/0x32e0 fs/ext4/inode.c:2782 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0x250/0x300 mm/filemap.c:421 ext4_alloc_da_blocks+0x20d/0x340 fs/ext4/inode.c:3146 ext4_ioctl+0x126c/0x4220 fs/ext4/ioctl.c:996 vfs_ioctl fs/ioctl.c:48 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:753 __do_sys_ioctl fs/ioctl.c:762 [inline] __se_sys_ioctl fs/ioctl.c:760 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:760 do_syscall_64+0x50/0x90 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45ca59 Code: Bad RIP value. RSP: 002b:00007f022082ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004e60e0 RCX: 000000000045ca59 RDX: 0000000000000000 RSI: 000000000000660c RDI: 0000000000000006 RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000033c R14: 00000000004c5c56 R15: 00007f022082b6d4 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8881ac213300 which belongs to the cache biovec-max of size 4096 The buggy address is located 3472 bytes inside of 4096-byte region [ffff8881ac213300, ffff8881ac214300) The buggy address belongs to the page: page:ffffea0006b08400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 head:ffffea0006b08400 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x200000000010200(slab|head) raw: 0200000000010200 dead000000000100 dead000000000122 ffff8881da2cb400 raw: 0000000000000000 0000000080070007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881ac213f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881ac214000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8881ac214080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8881ac214100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881ac214180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================