==================================================================
BUG: KASAN: double-free in rcu_free_sheaf+0x31/0x200
Free of addr ffff88817708b580 by task syz.0.4745/24731

CPU: 1 UID: 0 PID: 24731 Comm: syz.0.4745 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:lock_acquire+0x232/0x350
Code: ff ff ff e8 70 6e 41 0a f7 44 24 10 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 c2 79 f1 11 48 3b 44 24 50 75 33 fb 48 83 c4 58 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 87 34 da
RSP: 0018:ffffc90007b9f160 EFLAGS: 00000296
RAX: 4fe78fbcab429900 RBX: 0000000000000000 RCX: 0000000000000046
RDX: 0000000067537909 RSI: ffffffff8e6fd8c3 RDI: ffffffff8c6d9480
RBP: ffff8881a5063c00 R08: ffffffff8177f1df R09: 0000000000000000
R10: ffffc90007b9f298 R11: ffffffff81b28090 R12: ffffffff8ed5c760
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000246
 unwind_next_frame+0xac/0x2550
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 kmem_cache_free+0x182/0x650
 unlink_anon_vmas+0x35d/0x720
 free_pgtables+0x836/0xb70
 exit_mmap+0x4aa/0x9f0
 __mmput+0x118/0x420
 exit_mm+0x221/0x2d0
 do_exit+0x6cd/0x2360
 do_group_exit+0x22d/0x2f0
 get_signal+0x121b/0x12c0
 arch_do_signal_or_restart+0xbb/0x860
 exit_to_user_mode_loop+0x10e/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd9cbf9e159
Code: Unable to access opcode bytes at 0x7fd9cbf9e12f.
RSP: 002b:00007fd9ccdf80e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fd9cc225fa8 RCX: 00007fd9cbf9e159
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fd9cc225fa8
RBP: 00007fd9cc225fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd9cc226038 R14: 00007ffd0eea1290 R15: 00007ffd0eea1378
 </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 24731:
 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 ffff88817708b580
 which belongs to the cache kmalloc-64 of size 64
The buggy address is located 0 bytes inside of
 64-byte region [ffff88817708b580, ffff88817708b5c0)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88817708b380 pfn:0x17708b
flags: 0x57ff00000000200(workingset|node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000200 ffff8881000418c0 ffffea0006ede010 ffffea0005b9ea10
raw: ffff88817708b380 0000000000200013 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 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 10163679242
 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_cache_noprof+0x39b/0x600
 apply_wqattrs_prepare+0x124/0xdc0
 __alloc_workqueue+0x11be/0x1fe0
 alloc_workqueue_noprof+0xe3/0x210
 mlx4_ib_init+0x1b/0x90
 do_one_initcall+0x250/0x870
 do_initcall_level+0x10a/0x1a0
 do_initcalls+0x59/0xa0
 kernel_init_freeable+0x29d/0x3e0
 kernel_init+0x22/0x1d0
page last free pid 46 tgid 46 ts 10163408671 stack trace:
 __free_frozen_pages+0xc93/0xd90
 __kasan_populate_vmalloc+0x1a8/0x1c0
 alloc_vmap_area+0xd1a/0x1420
 __get_vm_area_node+0x200/0x2f0
 __vmalloc_node_range_noprof+0x343/0x1540
 __vmalloc_node_noprof+0xc2/0x100
 dup_task_struct+0x2c6/0xa00
 copy_process+0x820/0x43e0
 kernel_clone+0x2d7/0x940
 user_mode_thread+0x115/0x180
 call_usermodehelper_exec_work+0x5c/0x230
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30

Memory state around the buggy address:
 ffff88817708b480: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
 ffff88817708b500: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc
>ffff88817708b580: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
                   ^
 ffff88817708b600: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
 ffff88817708b680: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc
==================================================================
