ci starts bisection 2023-01-28 14:56:16.254894828 +0000 UTC m=+503090.200956892 bisecting fixing commit since 97ee9d1c16963375eefdf964c429897d27e28956 building syzkaller on e080de16713b9dbf308cdd7bcb85b58293e46e33 ensuring issue is reproducible on original commit 97ee9d1c16963375eefdf964c429897d27e28956 testing commit 97ee9d1c16963375eefdf964c429897d27e28956 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2da50181286be48f75f8dbdeb1a5f373ae39c8cba99b1f650aae6d2f89693672 all runs: crashed: KASAN: use-after-free Read in __skb_flow_dissect testing current HEAD ab072681eabe1ce0a9a32d4baa1a27a2d046bc4a testing commit ab072681eabe1ce0a9a32d4baa1a27a2d046bc4a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c62a903f7b457c6d23631e13db546ed92570f4ca5f1a700fbef26d79d07690f0 all runs: crashed: KASAN: use-after-free Read in __skb_flow_dissect revisions tested: 2, total time: 25m59.923792419s (build: 18m49.165148258s, test: 6m9.011904545s) the crash still happens on HEAD commit msg: Merge tag 'irq_urgent_for_v6.2_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip crash: KASAN: use-after-free Read in __skb_flow_dissect ================================================================== BUG: KASAN: use-after-free in __skb_flow_dissect+0xd18/0x5670 net/core/flow_dissector.c:1092 Read of size 1 at addr ffff88816c54000e by task syz-executor.0/5628 CPU: 1 PID: 5628 Comm: syz-executor.0 Not tainted 6.2.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x5b/0x81 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:306 [inline] print_report+0x15e/0x461 mm/kasan/report.c:417 kasan_report+0xbf/0x1f0 mm/kasan/report.c:517 __skb_flow_dissect+0xd18/0x5670 net/core/flow_dissector.c:1092 skb_flow_dissect_flow_keys include/linux/skbuff.h:1498 [inline] ___skb_get_hash net/core/flow_dissector.c:1700 [inline] __skb_get_hash+0xb0/0x3d0 net/core/flow_dissector.c:1766 skb_get_hash include/linux/skbuff.h:1540 [inline] ip_tunnel_xmit+0x12ef/0x2870 net/ipv4/ip_tunnel.c:730 ipip_tunnel_xmit+0x324/0x420 net/ipv4/ipip.c:307 __netdev_start_xmit include/linux/netdevice.h:4865 [inline] netdev_start_xmit include/linux/netdevice.h:4879 [inline] xmit_one net/core/dev.c:3583 [inline] dev_hard_start_xmit+0x175/0x760 net/core/dev.c:3599 __dev_queue_xmit+0x2430/0x31f0 net/core/dev.c:4249 neigh_output include/net/neighbour.h:546 [inline] ip_finish_output2+0x5fc/0x1be0 net/ipv4/ip_output.c:228 iptunnel_xmit+0x5f4/0x990 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x14b5/0x2870 net/ipv4/ip_tunnel.c:813 ipgre_xmit+0x5f2/0x820 net/ipv4/ip_gre.c:661 __netdev_start_xmit include/linux/netdevice.h:4865 [inline] netdev_start_xmit include/linux/netdevice.h:4879 [inline] xmit_one net/core/dev.c:3583 [inline] dev_hard_start_xmit+0x175/0x760 net/core/dev.c:3599 __dev_queue_xmit+0x2430/0x31f0 net/core/dev.c:4249 dev_queue_xmit include/linux/netdevice.h:3035 [inline] __bpf_tx_skb net/core/filter.c:2117 [inline] __bpf_redirect_no_mac net/core/filter.c:2147 [inline] __bpf_redirect+0x63c/0xd70 net/core/filter.c:2170 ____bpf_clone_redirect net/core/filter.c:2437 [inline] bpf_clone_redirect+0x26f/0x3f0 net/core/filter.c:2409 ___bpf_prog_run+0x3108/0x76e0 kernel/bpf/core.c:1820 __bpf_prog_run512+0x94/0xd0 kernel/bpf/core.c:2045 bpf_dispatcher_nop_func include/linux/bpf.h:1082 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_test_run+0x3f5/0x890 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xa03/0x1cc0 net/bpf/test_run.c:1187 bpf_prog_test_run kernel/bpf/syscall.c:3634 [inline] __sys_bpf+0xfc8/0x3cb0 kernel/bpf/syscall.c:4987 __do_sys_bpf kernel/bpf/syscall.c:5073 [inline] __se_sys_bpf kernel/bpf/syscall.c:5071 [inline] __x64_sys_bpf+0x74/0xb0 kernel/bpf/syscall.c:5071 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb9a208c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb9a13fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fb9a21abf80 RCX: 00007fb9a208c0d9 RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007fb9a20e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd42c6d4ef R14: 00007fb9a13fe300 R15: 0000000000022000 The buggy address belongs to the physical page: page:ffffea0005b15000 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x16c540 flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff) raw: 057ff00000000000 ffffea0005b15008 ffffea0005b15008 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: ffff88816c53ff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88816c53ff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88816c540000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88816c540080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88816c540100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================