FAT-fs (loop6): Unrecognized mount option "-ek" or missing value ================================================================== BUG: KASAN: slab-use-after-free in shrink_folio_list+0x141d/0x37d0 Read of size 8 at addr ffff88800970a0d1 by task syz-executor.0/4281 CPU: 0 PID: 4281 Comm: syz-executor.0 Not tainted 6.4.0-next-20230705 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0x91/0xf0 print_report+0xcc/0x620 kasan_report+0xbe/0xf0 kasan_check_range+0x39/0x1b0 shrink_folio_list+0x141d/0x37d0 reclaim_folio_list+0xc4/0x300 reclaim_pages+0x377/0x520 madvise_cold_or_pageout_pte_range+0xc9c/0xf90 walk_pgd_range+0xcc3/0x1740 __walk_page_range+0x5f6/0x720 walk_page_range+0x316/0x4b0 madvise_pageout+0x30b/0x580 madvise_vma_behavior+0x413/0x20a0 do_madvise.part.0+0x39a/0x650 __x64_sys_madvise+0x10c/0x160 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f120772bb19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1204ca1188 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f120783ef60 RCX: 00007f120772bb19 RDX: 0000000000000015 RSI: 0000000000004000 RDI: 0000000020ffa000 RBP: 00007f1207785f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeac88d91f R14: 00007f1204ca1300 R15: 0000000000022000 Allocated by task 275: kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 __kasan_slab_alloc+0x59/0x70 kmem_cache_alloc+0x16b/0x370 __create_object+0x3c/0xc90 kmem_cache_alloc+0x20b/0x370 anon_vma_clone+0xd7/0x570 anon_vma_fork+0x7a/0x630 dup_mmap+0xaf9/0x1250 copy_process+0x3e68/0x7320 kernel_clone+0xeb/0x7d0 __do_sys_clone+0xba/0x100 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Freed by task 4278: kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 kasan_save_free_info+0x2b/0x50 __kasan_slab_free+0x10a/0x190 kmem_cache_free+0x10d/0x4d0 rcu_core+0x8c8/0x28b0 __do_softirq+0x1b7/0x7d4 Last potentially related work creation: kasan_save_stack+0x22/0x50 __kasan_record_aux_stack+0x8e/0xa0 __call_rcu_common.constprop.0+0x6a/0xbd0 kmem_cache_free+0xc1/0x4d0 unlink_anon_vmas+0x11a/0x720 free_pgtables+0x251/0x420 exit_mmap+0x289/0x790 mmput+0xd5/0x390 do_exit+0x99f/0x2740 do_group_exit+0xd4/0x2a0 get_signal+0x263f/0x26c0 arch_do_signal_or_restart+0x79/0x590 exit_to_user_mode_prepare+0xeb/0x180 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Second to last potentially related work creation: kasan_save_stack+0x22/0x50 __kasan_record_aux_stack+0x8e/0xa0 __call_rcu_common.constprop.0+0x6a/0xbd0 __kmem_cache_free+0x95/0x330 ieee80211_inform_bss+0xbba/0x10e0 rdev_inform_bss+0xd3/0x390 cfg80211_inform_single_bss_frame_data+0x783/0xf90 cfg80211_inform_bss_frame_data+0xc2/0x290 ieee80211_bss_info_update+0x371/0x9b0 ieee80211_ibss_rx_queued_mgmt+0x198e/0x2e70 ieee80211_iface_work+0x9bf/0xcb0 cfg80211_wiphy_work+0x1f7/0x290 process_one_work+0xabf/0x1770 worker_thread+0x64f/0x12a0 kthread+0x33f/0x440 ret_from_fork+0x2c/0x50 The buggy address belongs to the object at ffff88800970a000 which belongs to the cache kmemleak_object of size 240 The buggy address is located 209 bytes inside of freed 240-byte region [ffff88800970a000, ffff88800970a0f0) The buggy address belongs to the physical page: page:00000000ce30b4a7 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x970a anon flags: 0x100000000000200(slab|node=0|zone=1) page_type: 0xffffffff() raw: 0100000000000200 ffff88800844f780 ffffea00003622c0 dead000000000003 raw: 0000000000000000 00000000000d000d 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888009709f80: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc ffff88800970a000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88800970a080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ^ ffff88800970a100: fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00 00 ffff88800970a180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== Bluetooth: hci4: command 0x0406 tx timeout ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. =======================================================