==================================================================
BUG: KASAN: double-free in rcu_free_sheaf+0x31/0x200
Free of addr ffff88810bb2e980 by task syz.1.1183/9693

CPU: 0 UID: 0 PID: 9693 Comm: syz.1.1183 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:preempt_schedule_irq+0x46/0x90
Code: 49 be 00 00 00 00 00 fc ff df eb 09 48 f7 03 10 00 00 00 74 53 bf 01 00 00 00 e8 f5 50 ad f5 e8 60 8f e8 f5 fb bf 01 00 00 00 <e8> 65 a1 ff ff 9c 58 fa a9 00 02 00 00 74 05 e8 26 91 e8 f5 bf 01
RSP: 0018:ffffc900034cef28 EFLAGS: 00000206
RAX: 00000000000008c5 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000006 RSI: ffffffff8e41591d RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff907a5f7f R09: 1ffffffff20f4bef
R10: dffffc0000000000 R11: fffffbfff20f4bf0 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
 irqentry_exit+0x14f/0x910
 asm_sysvec_call_function_single+0x1a/0x20
RIP: 0010:lockdep_unregister_key+0x2d4/0x350
Code: e9 a1 14 09 00 48 c7 c7 90 99 9b 96 89 c6 e8 23 ac 45 0a e9 66 fe ff ff e8 a9 e6 42 0a 41 f7 c7 00 02 00 00 74 b4 fb 40 84 ed <75> b3 eb c4 90 0f 0b 90 e9 27 ff ff ff 90 0f 0b 90 e9 2f ff ff ff
RSP: 0018:ffffc900034cf040 EFLAGS: 00000202
RAX: 0000000000000046 RBX: 0000000000000001 RCX: 0000000000000046
RDX: ffffffff945714f8 RSI: ffffffff8e430568 RDI: ffffffff8c6dac80
RBP: ffff888171898001 R08: ffffffff81b0d2c8 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff20f4bf0 R12: 0000000000000000
R13: ffff888104abb269 R14: 0000000000001000 R15: 0000000000000a87
 __qdisc_destroy+0x1ab/0x470
 dev_shutdown+0x352/0x450
 unregister_netdevice_many_notify+0x11f4/0x2140
 unregister_netdevice_queue+0x2f5/0x340
 ieee802154_remove_interfaces+0x162/0x1a0
 ieee802154_unregister_hw+0x62/0xe0
 hwsim_del+0x49c/0x500
 hwsim_del_radio_nl+0x110/0x150
 genl_family_rcv_msg_doit+0x233/0x340
 genl_rcv_msg+0x614/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x7bd/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f524539e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f524630a028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f5245625fa0 RCX: 00007f524539e159
RDX: 0000000000000800 RSI: 00002000000001c0 RDI: 000000000000000b
RBP: 00007f524543506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5245626038 R14: 00007f5245625fa0 R15: 00007ffcabd91218
 </TASK>

Allocated by task 5645:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x321/0x600
 hwsim_update_pib+0x7e/0x400
 hwsim_set_promiscuous_mode+0x196/0x2e0
 drv_set_promiscuous_mode+0x159/0x2e0
 drv_start+0x4ea/0x1010
 mac802154_scan_worker+0x8e6/0xe60
 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 9693:
 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 ffff88810bb2e980
 which belongs to the cache kmalloc-64 of size 64
The buggy address is located 0 bytes inside of
 64-byte region [ffff88810bb2e980, ffff88810bb2e9c0)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10bb2e
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 30, tgid 30 (kdevtmpfs), ts 8906154461
 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
 security_inode_init_security+0x102/0x3e0
 shmem_mknod+0x1ea/0x340
 vfs_mknod+0x441/0x600
 devtmpfs_work_loop+0x861/0xdf0
 devtmpfsd+0x4d/0x50
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
page_owner free stack trace missing

Memory state around the buggy address:
 ffff88810bb2e880: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
 ffff88810bb2e900: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
>ffff88810bb2e980: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
                   ^
 ffff88810bb2ea00: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc
 ffff88810bb2ea80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
==================================================================
