syzbot


WARNING in sk_skb_reason_drop (2)

Status: internal: reported on 2024/12/16 12:10
Subsystems: net
[Documentation on labels]
Fix commit: cdd0b9132d71 ip: Return drop reason if in_dev is NULL in ip_route_input_rcu().
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-arm32 ci-qemu2-riscv64 ci-upstream-gce-arm64]
First crash: 14d, last: 14d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sk_skb_reason_drop net C done 1447 15d 43d 28/28 fixed on 2024/12/16 09:50

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11148 at net/core/skbuff.c:1219 __sk_skb_reason_drop net/core/skbuff.c:1216 [inline]
WARNING: CPU: 0 PID: 11148 at net/core/skbuff.c:1219 sk_skb_reason_drop+0x90/0x43c net/core/skbuff.c:1241
Modules linked in:
CPU: 0 UID: 0 PID: 11148 Comm: +}[@ Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __sk_skb_reason_drop net/core/skbuff.c:1216 [inline]
pc : sk_skb_reason_drop+0x90/0x43c net/core/skbuff.c:1241
lr : __sk_skb_reason_drop net/core/skbuff.c:1216 [inline]
lr : sk_skb_reason_drop+0x90/0x43c net/core/skbuff.c:1241
sp : ffff80009c9c6da0
x29: ffff80009c9c6da0 x28: ffff0000d57c817f x27: 0000000000000000
x26: 00000000ffffffea x25: ffff0000ef78f418 x24: dfff800000000000
x23: 00000000fffbffea x22: ffff800089f967fc x21: 0000000000000000
x20: 00000000ffffffea x19: ffff0000ef78f3c0 x18: ffff80009c9c7748
x17: 0000000000000000 x16: ffff800080699390 x15: 0000000000000001
x14: 1fffe0001def1e94 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000080000 x10: 0000000000007753 x9 : ffff8000a6ed3000
x8 : 0000000000007754 x7 : ffff800089f82190 x6 : 0000000000000000
x5 : ffff80009c9c6d20 x4 : ffff0000c69fa000 x3 : ffff80008977a0b8
x2 : 0000000000000001 x1 : 00000000fffbffea x0 : 00000000fffc0001
Call trace:
 __sk_skb_reason_drop net/core/skbuff.c:1216 [inline] (P)
 sk_skb_reason_drop+0x90/0x43c net/core/skbuff.c:1241 (P)
 __sk_skb_reason_drop net/core/skbuff.c:1216 [inline] (L)
 sk_skb_reason_drop+0x90/0x43c net/core/skbuff.c:1241 (L)
 kfree_skb_reason include/linux/skbuff.h:1263 [inline]
 ip_rcv_finish_core+0xc7c/0x18f4 net/ipv4/ip_input.c:424
 ip_list_rcv_finish net/ipv4/ip_input.c:610 [inline]
 ip_sublist_rcv+0x2f0/0xc3c net/ipv4/ip_input.c:636
 ip_list_rcv+0x3ec/0x440 net/ipv4/ip_input.c:670
 __netif_receive_skb_list_ptype net/core/dev.c:5715 [inline]
 __netif_receive_skb_list_core+0x5c4/0x748 net/core/dev.c:5762
 __netif_receive_skb_list net/core/dev.c:5814 [inline]
 netif_receive_skb_list_internal+0x844/0xb34 net/core/dev.c:5905
 netif_receive_skb_list+0x64/0x644 net/core/dev.c:5957
 xdp_recv_frames net/bpf/test_run.c:280 [inline]
 xdp_test_run_batch net/bpf/test_run.c:361 [inline]
 bpf_test_run_xdp_live+0x1634/0x1b3c net/bpf/test_run.c:390
 bpf_prog_test_run_xdp+0x6a0/0x103c net/bpf/test_run.c:1318
 bpf_prog_test_run+0x294/0x33c kernel/bpf/syscall.c:4402
 __sys_bpf+0x314/0x5f0 kernel/bpf/syscall.c:5808
 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5895 [inline]
 __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:5895
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
irq event stamp: 849
hardirqs last  enabled at (848): [<ffff80008030c6d0>] __local_bh_enable_ip+0x224/0x44c kernel/softirq.c:387
hardirqs last disabled at (849): [<ffff80008b6858b4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488
softirqs last  enabled at (350): [<ffff8000857d9ed8>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (376): [<ffff800089b785d0>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/16 12:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e7aff49b5da 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in sk_skb_reason_drop
* Struck through repros no longer work on HEAD.