syzbot


kernel BUG in validate_xmit_skb (2)

Status: upstream: reported C repro on 2024/04/06 15:44
Reported-by: syzbot+7a364a716e54541201ed@syzkaller.appspotmail.com
First crash: 44d, last: 18d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at net/core/dev.c:LINE! (2) C error 90 584d 1256d 0/1 upstream: reported C repro on 2020/12/11 13:29
linux-4.14 kernel BUG in validate_xmit_skb 1 1196d 1196d 0/1 auto-closed as invalid on 2021/06/10 04:03
upstream kernel BUG at net/core/dev.c:LINE! (4) C done done 432 888d 1275d 20/26 fixed on 2022/03/08 16:11
android-54 kernel BUG in validate_xmit_skb 2 326d 362d 0/2 auto-obsoleted due to no activity on 2023/09/27 09:58
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/05/02 22:15 7m retest repro android12-5.4 report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/dev.c:2873!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 356 Comm: syz-executor306 Not tainted 5.4.268-syzkaller-00012-gd0d34dcb02cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:skb_checksum_help+0x873/0x880 net/core/dev.c:2873
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c d0 fc ff ff 48 89 df e8 2e 2b 16 fe e9 c3 fc ff ff e8 44 57 e6 fd 0f 0b e8 3d 57 e6 fd <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 41 54 53
RSP: 0018:ffff8881db846ca8 EFLAGS: 00010293
RAX: ffffffff837defe3 RBX: 0000000000002997 RCX: ffff8881de7a3f00
RDX: 0000000000000000 RSI: 0000000000002997 RDI: 0000000000003536
RBP: 0000000000003536 R08: ffffffff837dea5f R09: ffffed103b708d86
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f3aee570
R13: 0000000000003534 R14: ffff8881f3aee500 R15: 1ffff1103e75dcae
FS:  000055555640d380(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000d000 CR3: 00000001db80b000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 skb_csum_hwoffload_help net/core/dev.c:3271 [inline]
 validate_xmit_skb+0x654/0xc50 net/core/dev.c:3314
 __dev_queue_xmit+0xf7d/0x27e0 net/core/dev.c:3794
 neigh_hh_output include/net/neighbour.h:502 [inline]
 neigh_output include/net/neighbour.h:516 [inline]
 ip_finish_output2+0xb4f/0xfc0 net/ipv4/ip_output.c:236
 NF_HOOK_COND include/linux/netfilter.h:292 [inline]
 ip_output+0x19b/0x3a0 net/ipv4/ip_output.c:440
 iptunnel_xmit+0x476/0x850 net/ipv4/ip_tunnel_core.c:78
 ip_tunnel_xmit+0x1aa7/0x26a0 net/ipv4/ip_tunnel.c:817
 __gre_xmit net/ipv4/ip_gre.c:442 [inline]
 ipgre_xmit+0x81a/0xbf0 net/ipv4/ip_gre.c:637
 __netdev_start_xmit include/linux/netdevice.h:4538 [inline]
 netdev_start_xmit include/linux/netdevice.h:4552 [inline]
 xmit_one net/core/dev.c:3221 [inline]
 dev_hard_start_xmit+0x1b7/0x6b0 net/core/dev.c:3237
 __dev_queue_xmit+0x14da/0x27e0 net/core/dev.c:3802
 packet_snd net/packet/af_packet.c:3009 [inline]
 packet_sendmsg+0x4747/0x6100 net/packet/af_packet.c:3038
 sock_sendmsg_nosec net/socket.c:638 [inline]
 __sock_sendmsg net/socket.c:650 [inline]
 ____sys_sendmsg+0x5ac/0x8f0 net/socket.c:2306
 ___sys_sendmsg net/socket.c:2360 [inline]
 __sys_sendmsg+0x28b/0x380 net/socket.c:2406
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace df8c96075c43db1e ]---
RIP: 0010:skb_checksum_help+0x873/0x880 net/core/dev.c:2873
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c d0 fc ff ff 48 89 df e8 2e 2b 16 fe e9 c3 fc ff ff e8 44 57 e6 fd 0f 0b e8 3d 57 e6 fd <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 41 54 53
RSP: 0018:ffff8881db846ca8 EFLAGS: 00010293
RAX: ffffffff837defe3 RBX: 0000000000002997 RCX: ffff8881de7a3f00
RDX: 0000000000000000 RSI: 0000000000002997 RDI: 0000000000003536
RBP: 0000000000003536 R08: ffffffff837dea5f R09: ffffed103b708d86
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f3aee570
R13: 0000000000003534 R14: ffff8881f3aee500 R15: 1ffff1103e75dcae
FS:  000055555640d380(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000d000 CR3: 00000001db80b000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/06 15:40 android12-5.4 d0d34dcb02cc ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in validate_xmit_skb
2024/04/18 12:10 android12-5.4 2d5d8240a7cb af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in validate_xmit_skb
2024/04/15 05:00 android12-5.4 d0d34dcb02cc c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in validate_xmit_skb
2024/04/06 15:22 android12-5.4 d0d34dcb02cc ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in validate_xmit_skb
* Struck through repros no longer work on HEAD.