RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c tipc: Failed do clone local mcast rcv buffer ================================================================== BUG: KASAN: use-after-free in __skb_unlink include/linux/skbuff.h:2043 [inline] BUG: KASAN: use-after-free in __skb_dequeue include/linux/skbuff.h:2062 [inline] BUG: KASAN: use-after-free in __skb_queue_purge include/linux/skbuff.h:2773 [inline] BUG: KASAN: use-after-free in tipc_mcast_xmit+0x1026/0x16c0 net/tipc/bcast.c:421 Read of size 8 at addr ffff88819350cc80 by task syz-executor.0/25893 CPU: 0 PID: 25893 Comm: syz-executor.0 Not tainted 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 __kasan_report+0x14b/0x1c0 mm/kasan/report.c:506 kasan_report+0x27/0x50 mm/kasan/common.c:634 __skb_unlink include/linux/skbuff.h:2043 [inline] __skb_dequeue include/linux/skbuff.h:2062 [inline] __skb_queue_purge include/linux/skbuff.h:2773 [inline] tipc_mcast_xmit+0x1026/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 kmem_cache_alloc_node include/linux/slab.h:427 [inline] __alloc_skb+0x88/0x4d0 net/core/skbuff.c:198 alloc_skb_fclone include/linux/skbuff.h:1107 [inline] tipc_buf_acquire net/tipc/msg.c:66 [inline] tipc_msg_build+0x74a/0x1b20 net/tipc/msg.c:368 tipc_send_group_bcast+0x9c1/0xd50 net/tipc/socket.c:1073 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 tipc_buf_append+0x2d1/0xad0 net/tipc/msg.c:188 tipc_msg_reassemble+0x331/0x590 net/tipc/msg.c:726 tipc_mcast_xmit+0x223/0x16c0 net/tipc/bcast.c:385 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 The buggy address belongs to the object at ffff88819350cc80 which belongs to the cache skbuff_fclone_cache of size 488 The buggy address is located 0 bytes inside of 488-byte region [ffff88819350cc80, ffff88819350ce68) The buggy address belongs to the page: page:ffffea00064d4300 refcount:1 mapcount:0 mapping:ffff8881daa92280 index:0xffff88819350c000 compound_mapcount: 0 flags: 0x8000000000010200(slab|head) raw: 8000000000010200 ffffea00075d8c88 ffffea00068ad488 ffff8881daa92280 raw: ffff88819350c000 00000000000c000a 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88819350cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc ffff88819350cc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88819350cc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88819350cd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88819350cd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881c8fa7500 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881c8fa7500, ffff8881c8fa75f0) The buggy address belongs to the page: page:ffffea000723e9c0 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881c8fa7400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881c8fa7480: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff8881c8fa7500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881c8fa7580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881c8fa7600: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881c8fa7dc0 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881c8fa7dc0, ffff8881c8fa7eb0) The buggy address belongs to the page: page:ffffea000723e9c0 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881c8fa7c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881c8fa7d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff8881c8fa7d80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff8881c8fa7e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881c8fa7e80: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881c8fa7640 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881c8fa7640, ffff8881c8fa7730) The buggy address belongs to the page: page:ffffea000723e9c0 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881c8fa7500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881c8fa7580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff8881c8fa7600: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff8881c8fa7680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881c8fa7700: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881935c5640 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881935c5640, ffff8881935c5730) The buggy address belongs to the page: page:ffffea00064d7140 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881935c5500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff8881935c5600: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff8881935c5680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5700: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881935c53c0 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881935c53c0, ffff8881935c54b0) The buggy address belongs to the page: page:ffffea00064d7140 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881935c5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff8881935c5380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff8881935c5400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5480: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881935c5000 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881935c5000, ffff8881935c50f0) The buggy address belongs to the page: page:ffffea00064d7140 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881935c4f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881935c4f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881935c5000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881935c5080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881935c5100: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881935c5b40 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881935c5b40, ffff8881935c5c30) The buggy address belongs to the page: page:ffffea00064d7140 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881935c5a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff8881935c5b00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff8881935c5b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5c00: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881935c5a00 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881935c5a00, ffff8881935c5af0) The buggy address belongs to the page: page:ffffea00064d7140 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881935c5900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881935c5980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff8881935c5a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881935c5a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881935c5b00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881d7b38280 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881d7b38280, ffff8881d7b38370) The buggy address belongs to the page: page:ffffea00075ece00 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881d7b38180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881d7b38200: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff8881d7b38280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881d7b38300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881d7b38380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816 __build_skb net/core/skbuff.c:311 [inline] __netdev_alloc_skb+0x1d8/0x710 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2801 [inline] dev_alloc_skb include/linux/skbuff.h:2814 [inline] __ieee80211_beacon_get+0x628/0x11b0 net/mac80211/tx.c:4550 ieee80211_beacon_get_tim+0xb7/0x500 net/mac80211/tx.c:4661 ieee80211_beacon_get include/net/mac80211.h:4728 [inline] mac80211_hwsim_beacon_tx+0xd4/0x570 drivers/net/wireless/mac80211_hwsim.c:1560 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 Freed by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x168/0x220 mm/kasan/common.c:471 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline] hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596 __do_softirq+0x22e/0x569 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881a28e2c80 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881a28e2c80, ffff8881a28e2d70) The buggy address belongs to the page: page:ffffea00068a3880 refcount:1 mapcount:0 mapping:ffff8881daa92f00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea00072622c0 0000000500000002 ffff8881daa92f00 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881a28e2b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881a28e2c00: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff8881a28e2c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881a28e2d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881a28e2d80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3051 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 CPU: 0 PID: 25893 Comm: syz-executor.0 Tainted: G B 5.4.69-syzkaller-00867-g9d0d630081ae #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+0x1b0/0x21e lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 kasan_report_invalid_free+0x54/0xc0 mm/kasan/report.c:468 __kasan_slab_free+0x102/0x220 mm/kasan/common.c:459 slab_free_hook mm/slub.c:1453 [inline] slab_free_freelist_hook+0xd0/0x150 mm/slub.c:1486 slab_free mm/slub.c:3051 [inline] kmem_cache_free+0xac/0x5c0 mm/slub.c:3067 __skb_queue_purge include/linux/skbuff.h:2774 [inline] tipc_mcast_xmit+0x10a8/0x16c0 net/tipc/bcast.c:421 tipc_send_group_bcast+0x9f8/0xd50 net/tipc/socket.c:1078 __tipc_sendmsg+0x400/0x2d30 net/tipc/socket.c:1336 tipc_sendmsg+0x51/0x70 net/tipc/socket.c:1301 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x56f/0x860 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmmsg+0x338/0x680 net/socket.c:2455 __do_sys_sendmmsg net/socket.c:2484 [inline] __se_sys_sendmmsg net/socket.c:2481 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2481 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de89 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efe50104c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de89 RDX: 0000000000000001 RSI: 0000000020008580 RDI: 0000000000000003 RBP: 00007efe50104ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00007ffd82627c8f R14: 00007efe501059c0 R15: 000000000118bf2c Allocated by task 25893: save_stack mm/kasan/common.c:69 [inline] set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc+0x117/0x1b0 mm/kasan/common.c:510 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2803 [inline] slab_alloc mm/slub.c:2811 [inline] kmem_cache_alloc+0x1d5/0x250 mm/slub.c:2816