R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c tipc: Failed do clone local mcast rcv buffer ================================================================== BUG: KASAN: use-after-free in __skb_unlink include/linux/skbuff.h:2048 [inline] BUG: KASAN: use-after-free in __skb_dequeue include/linux/skbuff.h:2067 [inline] BUG: KASAN: use-after-free in __skb_queue_purge include/linux/skbuff.h:2778 [inline] BUG: KASAN: use-after-free in tipc_mcast_xmit+0x1026/0x16c0 net/tipc/bcast.c:421 Read of size 8 at addr ffff88817bce0780 by task syz-executor.3/22314 CPU: 1 PID: 22314 Comm: syz-executor.3 Tainted: G W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2048 [inline] __skb_dequeue include/linux/skbuff.h:2067 [inline] __skb_queue_purge include/linux/skbuff.h:2778 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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 22314: 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 ffff88817bce0780 which belongs to the cache skbuff_fclone_cache of size 488 The buggy address is located 0 bytes inside of 488-byte region [ffff88817bce0780, ffff88817bce0968) The buggy address belongs to the page: page:ffffea0005ef3800 refcount:1 mapcount:0 mapping:ffff8881daa93680 index:0xffff88817bce1400 compound_mapcount: 0 flags: 0x8000000000010200(slab|head) raw: 8000000000010200 ffffea00013dec00 0000000300000003 ffff8881daa93680 raw: ffff88817bce1400 00000000800c0009 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88817bce0680: 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc ffff88817bce0700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88817bce0780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88817bce0800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88817bce0880: 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 kfree+0x12b/0x5d0 mm/slub.c:4017 CPU: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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] kfree+0x12b/0x5d0 mm/slub.c:4017 skb_release_all net/core/skbuff.c:666 [inline] __kfree_skb+0x55/0x180 net/core/skbuff.c:680 __skb_queue_purge include/linux/skbuff.h:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 1: 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] __kmalloc_track_caller+0x201/0x2b0 mm/slub.c:4395 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0xd1/0x4d0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1057 [inline] alloc_skb_with_frags+0xb1/0x580 net/core/skbuff.c:5757 sock_alloc_send_pskb+0x87e/0xcc0 net/core/sock.c:2249 unix_dgram_sendmsg+0x6c3/0x26b0 net/unix/af_unix.c:1643 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_sendmsg+0x26a/0x350 net/socket.c:2398 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 143: 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] kfree+0x12b/0x5d0 mm/slub.c:4017 skb_release_all net/core/skbuff.c:666 [inline] __kfree_skb+0x55/0x180 net/core/skbuff.c:680 skb_free_datagram+0x24/0xd0 net/core/datagram.c:329 unix_dgram_recvmsg+0xb0e/0xfe0 net/unix/af_unix.c:2146 sock_recvmsg_nosec net/socket.c:872 [inline] sock_recvmsg net/socket.c:890 [inline] ____sys_recvmsg net/socket.c:2530 [inline] ___sys_recvmsg net/socket.c:2571 [inline] __sys_recvmsg+0x632/0xc00 net/socket.c:2618 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 ffff88804e169800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 0 bytes inside of 1024-byte region [ffff88804e169800, ffff88804e169c00) The buggy address belongs to the page: page:ffffea0001385a00 refcount:1 mapcount:0 mapping:ffff8881da802280 index:0x0 compound_mapcount: 0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 ffffea00076ab200 0000000600000006 ffff8881da802280 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88804e169700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88804e169780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88804e169800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88804e169880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804e169900: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 1: 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 include/linux/skbuff.h:1057 [inline] alloc_skb_with_frags+0xb1/0x580 net/core/skbuff.c:5757 sock_alloc_send_pskb+0x87e/0xcc0 net/core/sock.c:2249 unix_dgram_sendmsg+0x6c3/0x26b0 net/unix/af_unix.c:1643 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_sendmsg+0x26a/0x350 net/socket.c:2398 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 143: 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 skb_free_datagram+0x24/0xd0 net/core/datagram.c:329 unix_dgram_recvmsg+0xb0e/0xfe0 net/unix/af_unix.c:2146 sock_recvmsg_nosec net/socket.c:872 [inline] sock_recvmsg net/socket.c:890 [inline] ____sys_recvmsg net/socket.c:2530 [inline] ___sys_recvmsg net/socket.c:2571 [inline] __sys_recvmsg+0x632/0xc00 net/socket.c:2618 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 ffff8881cf258500 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881cf258500, ffff8881cf2585f0) The buggy address belongs to the page: page:ffffea00073c9600 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea0001ef4080 0000000700000007 ffff8881daa92500 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881cf258400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881cf258480: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff8881cf258500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881cf258580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881cf258600: 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 kfree+0x12b/0x5d0 mm/slub.c:4017 CPU: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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] kfree+0x12b/0x5d0 mm/slub.c:4017 skb_release_all net/core/skbuff.c:666 [inline] __kfree_skb+0x55/0x180 net/core/skbuff.c:680 __skb_queue_purge include/linux/skbuff.h:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 143: 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] __kmalloc_track_caller+0x201/0x2b0 mm/slub.c:4395 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0xd1/0x4d0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1057 [inline] alloc_skb_with_frags+0xb1/0x580 net/core/skbuff.c:5757 sock_alloc_send_pskb+0x87e/0xcc0 net/core/sock.c:2249 unix_dgram_sendmsg+0x6c3/0x26b0 net/unix/af_unix.c:1643 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_sendmsg+0x26a/0x350 net/socket.c:2398 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 195: 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] kfree+0x12b/0x5d0 mm/slub.c:4017 skb_release_all net/core/skbuff.c:666 [inline] __kfree_skb+0x55/0x180 net/core/skbuff.c:680 skb_free_datagram+0x24/0xd0 net/core/datagram.c:329 unix_dgram_recvmsg+0xb0e/0xfe0 net/unix/af_unix.c:2146 sock_recvmsg_nosec net/socket.c:872 [inline] sock_recvmsg net/socket.c:890 [inline] ____sys_recvmsg net/socket.c:2530 [inline] ___sys_recvmsg net/socket.c:2571 [inline] __sys_recvmsg+0x632/0xc00 net/socket.c:2618 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 ffff888049767800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 0 bytes inside of 512-byte region [ffff888049767800, ffff888049767a00) The buggy address belongs to the page: page:ffffea000125d900 refcount:1 mapcount:0 mapping:ffff8881da802500 index:0xffff888049766800 compound_mapcount: 0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 ffffea0005c66208 ffffea0007273508 ffff8881da802500 raw: ffff888049766800 0000000000100001 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888049767700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888049767780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888049767800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888049767880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888049767900: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 143: 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 include/linux/skbuff.h:1057 [inline] alloc_skb_with_frags+0xb1/0x580 net/core/skbuff.c:5757 sock_alloc_send_pskb+0x87e/0xcc0 net/core/sock.c:2249 unix_dgram_sendmsg+0x6c3/0x26b0 net/unix/af_unix.c:1643 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_sendmsg+0x26a/0x350 net/socket.c:2398 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 195: 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 skb_free_datagram+0x24/0xd0 net/core/datagram.c:329 unix_dgram_recvmsg+0xb0e/0xfe0 net/unix/af_unix.c:2146 sock_recvmsg_nosec net/socket.c:872 [inline] sock_recvmsg net/socket.c:890 [inline] ____sys_recvmsg net/socket.c:2530 [inline] ___sys_recvmsg net/socket.c:2571 [inline] __sys_recvmsg+0x632/0xc00 net/socket.c:2618 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 ffff888176679280 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888176679280, ffff888176679370) The buggy address belongs to the page: page:ffffea0005d99e40 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92500 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888176679180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888176679200: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff888176679280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888176679300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888176679380: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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:2806 [inline] dev_alloc_skb include/linux/skbuff.h:2819 [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 22314: 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 ffff8881766793c0 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881766793c0, ffff8881766794b0) The buggy address belongs to the page: page:ffffea0005d99e40 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881daa92500 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888176679280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888176679300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff888176679380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff888176679400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888176679480: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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:2806 [inline] dev_alloc_skb include/linux/skbuff.h:2819 [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 22314: 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 ffff8881d8969000 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881d8969000, ffff8881d89690f0) The buggy address belongs to the page: page:ffffea0007625a40 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0xffff8881d89693c0 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea0005d70cc8 ffffea0001749548 ffff8881daa92500 raw: ffff8881d89693c0 00000000000c0003 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881d8968f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881d8968f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881d8969000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881d8969080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881d8969100: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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:2806 [inline] dev_alloc_skb include/linux/skbuff.h:2819 [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 22314: 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 ffff888199633780 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888199633780, ffff888199633870) The buggy address belongs to the page: page:ffffea0006658cc0 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0xffff888199633000 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea000729db88 ffffea0005d70cc8 ffff8881daa92500 raw: ffff888199633000 00000000000c0007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888199633680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888199633700: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff888199633780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888199633800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888199633880: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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:2806 [inline] dev_alloc_skb include/linux/skbuff.h:2819 [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 22314: 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 ffff8881996338c0 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881996338c0, ffff8881996339b0) The buggy address belongs to the page: page:ffffea0006658cc0 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0xffff888199633000 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea000729db88 ffffea0005d70cc8 ffff8881daa92500 raw: ffff888199633000 00000000000c0007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888199633780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888199633800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc >ffff888199633880: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff888199633900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888199633980: 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: 1 PID: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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:2806 [inline] dev_alloc_skb include/linux/skbuff.h:2819 [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 22314: 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 ffff888199633a00 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888199633a00, ffff888199633af0) The buggy address belongs to the page: page:ffffea0006658cc0 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0xffff888199633000 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea000729db88 ffffea0005d70cc8 ffff8881daa92500 raw: ffff888199633000 00000000000c0007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888199633900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888199633980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff888199633a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888199633a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888199633b00: 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: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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:2806 [inline] dev_alloc_skb include/linux/skbuff.h:2819 [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 22314: 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 ffff888175c33a00 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888175c33a00, ffff888175c33af0) The buggy address belongs to the page: page:ffffea0005d70cc0 refcount:1 mapcount:0 mapping:ffff8881daa92500 index:0xffff888175c33140 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea0006658cc8 ffffea0007625a48 ffff8881daa92500 raw: ffff888175c33140 00000000000c0008 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888175c33900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888175c33980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc >ffff888175c33a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888175c33a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888175c33b00: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ================================================================== ================================================================== 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: 22314 Comm: syz-executor.3 Tainted: G B W 5.4.72-syzkaller-00299-gb34934d40c49 #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:2779 [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:0x45de59 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:00007f716e7f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005 RBP: 00007f716e7f8ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000026 R13: 00007fff116f23ef R14: 00007f716e7f99c0 R15: 000000000118bf2c Allocated by task 22314: 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