==================================================================
BUG: KASAN: double-free in rcu_free_sheaf+0x31/0x200
Free of addr ffff88810d96b000 by task syz-executor/31456

CPU: 0 UID: 0 PID: 31456 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <IRQ>
 dump_stack_lvl+0xe8/0x150
 print_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report_invalid_free+0xea/0x110
 __kasan_slab_pre_free+0x104/0x120
 __rcu_free_sheaf_prepare+0x10a/0x2a0
 rcu_free_sheaf+0x31/0x200
 rcu_core+0x926/0x1260
 handle_softirqs+0x226/0x860
 __irq_exit_rcu+0xcb/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0xb0
Code: 74 0a 18 48 89 44 0a 20 c3 cc cc cc cc cc 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 48 8b 04 24 65 48 8b 0d a8 d5 cc 11 65 48 8b 15 a8 d5
RSP: 0000:ffffc900060c7838 EFLAGS: 00000246
RAX: ffffffff82439501 RBX: ffff8881631759c8 RCX: ffffffff824395fe
RDX: 0000000000000001 RSI: 000000000000000a RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff8881631759cf R09: 1ffff1102c62eb39
R10: dffffc0000000000 R11: ffffed102c62eb3a R12: 00000000001bcab8
R13: 0000000000000009 R14: 0000000000000001 R15: ffff888163175980
 page_table_check_set+0x2c5/0x530
 set_pte_range+0x7ef/0x840
 filemap_map_pages+0xe67/0x2170
 do_pte_missing+0x20ae/0x34b0
 handle_mm_fault+0x1a53/0x3750
 do_user_addr_fault+0xa4f/0x1340
 exc_page_fault+0x6a/0xc0
 asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f8601140700
Code: 00 00 c3 0f 1f 80 00 00 00 00 48 8d 3d 19 7e e1 00 5b e9 c3 8d 01 00 0f 1f 00 48 8d 3d 09 7e e1 00 e8 04 8d 01 00 eb 91 66 90 <c7> 05 f6 7d e1 00 00 00 00 00 c3 0f 1f 44 00 00 31 c9 e9 89 f9 ff
RSP: 002b:00007fff43dcc1c8 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 00007fff43dcc1d0 RCX: 00007f86011c6c0c
RDX: 0000000000000000 RSI: 0000000000000018 RDI: 000055558e24c7e0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 000055558e24c7d0 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000000927c0 R14: 0000000000092d70 R15: 00007fff43dcc3b0
 </TASK>

Allocated by task 12:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x321/0x600
 hwsim_update_pib+0x88/0x450
 hwsim_set_promiscuous_mode+0x196/0x2e0
 drv_set_promiscuous_mode+0x159/0x2e0
 drv_start+0x4ea/0x1010
 mac802154_scan_worker+0xab8/0xfd0
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30

Freed by task 31456:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 __rcu_free_sheaf_prepare+0x12d/0x2a0
 rcu_free_sheaf+0x31/0x200
 rcu_core+0x926/0x1260
 handle_softirqs+0x226/0x860
 __irq_exit_rcu+0xcb/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20

The buggy address belongs to the object at ffff88810d96b000
 which belongs to the cache kmalloc-64 of size 64
The buggy address is located 0 bytes inside of
 64-byte region [ffff88810d96b000, ffff88810d96b040)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10d96b
flags: 0x17ff00000000000(node=0|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 017ff00000000000 ffff8881000418c0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000200020 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5032, tgid 5032 (find), ts 15533792465
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x2209/0x2280
 __alloc_frozen_pages_noprof+0x217/0x5a0
 allocate_slab+0x7d/0x620
 refill_objects+0x2d5/0x350
 __pcs_replace_empty_main+0x2c8/0x6c0
 __kmalloc_noprof+0x47b/0x720
 tomoyo_encode+0x2ad/0x570
 tomoyo_realpath_from_path+0x5fa/0x640
 tomoyo_path_perm+0x283/0x560
 security_inode_getattr+0x12b/0x310
 vfs_fstatat+0xb4/0x170
 __x64_sys_newfstatat+0x151/0x200
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page_owner free stack trace missing

Memory state around the buggy address:
 ffff88810d96af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88810d96af80: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc
>ffff88810d96b000: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
                   ^
 ffff88810d96b080: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc
 ffff88810d96b100: 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc fc
==================================================================
