hash(0x0 sw=0 l4=0) proto=0x0003 pkttype=0 iif=0 dev name=tunl0 feat=0x00000006401d7869 sk family=17 type=2 proto=0 ================================================================== BUG: KASAN: use-after-free in netem_enqueue+0x3190/0x3770 net/sched/sch_netem.c:511 Read of size 1 at addr ffff8881f50c9658 by task syz.2.17/476 CPU: 1 PID: 476 Comm: syz.2.17 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report_generic.c:348 netem_enqueue+0x3190/0x3770 net/sched/sch_netem.c:511 dev_qdisc_enqueue net/core/dev.c:3912 [inline] __dev_xmit_skb net/core/dev.c:4001 [inline] __dev_queue_xmit+0xef7/0x3540 net/core/dev.c:4349 dev_queue_xmit+0x17/0x20 include/linux/netdevice.h:3085 tpacket_snd net/packet/af_packet.c:2936 [inline] packet_sendmsg+0x2416/0x51b0 net/packet/af_packet.c:3162 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] sock_write_iter+0x2ea/0x3f0 net/socket.c:1134 call_write_iter include/linux/fs.h:2282 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5ef/0xd00 fs/read_write.c:584 ksys_write+0x14a/0x260 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2bd019e199 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2bd1047028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2bd0425fa0 RCX: 00007f2bd019e199 RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007f2bd02358e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2bd0426038 R14: 00007f2bd0425fa0 R15: 00007ffe6f773c18 The buggy address belongs to the physical page: page:ffffea0007d43240 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1f50c9 flags: 0x4000000000000000(zone=1) raw: 4000000000000000 ffffea0007d43248 ffffea0007d43248 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff8881f50c9500: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8881f50c9580: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8881f50c9600: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8881f50c9680: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8881f50c9700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================