[v6.1] WARNING in skb_checksum_help

20 views
Skip to first unread message

syzbot

unread,
Jun 8, 2023, 1:53:04 PM6/8/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 76ba310227d2 Linux 6.1.32
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=113841b3280000
kernel config: https://syzkaller.appspot.com/x/.config?x=662f56cd322cfd0e
dashboard link: https://syzkaller.appspot.com/bug?extid=e1db31216c789f552871
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/18131e2f7e2f/disk-76ba3102.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d71316d229b0/vmlinux-76ba3102.xz
kernel image: https://storage.googleapis.com/syzbot-assets/f0de40c3e8b5/bzImage-76ba3102.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e1db31...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 16753 at net/core/dev.c:3284 skb_checksum_help+0x3d0/0x5b0
Modules linked in:
CPU: 0 PID: 16753 Comm: syz-executor.0 Not tainted 6.1.32-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:skb_checksum_help+0x3d0/0x5b0 net/core/dev.c:3284
Code: 4c 89 ff e8 02 02 00 00 bb ea ff ff ff eb cf 0f 0b 80 3d c6 48 c4 05 01 0f 85 ac 01 00 00 e8 a7 f8 0e f9 bb ea ff ff ff eb b4 <0f> 0b 80 3d ac 48 c4 05 01 0f 85 9f 01 00 00 e8 8c f8 0e f9 bb ea
RSP: 0018:ffffc900032d6f08 EFLAGS: 00010206
RAX: 0000000000000002 RBX: 00000000000006aa RCX: ffff888024bb8000
RDX: ffff8880ad3ef2f4 RSI: 0000000000000688 RDI: 00000000000006aa
RBP: 0000000000000688 R08: ffffffff887adbb5 R09: fffff5200065add2
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11015a7de60
R13: ffff8880ad3ef2f0 R14: dffffc0000000000 R15: ffff8880ad3ef280
FS: 00007f9a7f94d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 00000000785c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ip_do_fragment+0x209/0x1b20 net/ipv4/ip_output.c:774
ip_finish_output_gso net/ipv4/ip_output.c:279 [inline]
__ip_finish_output+0x2bd/0x4b0 net/ipv4/ip_output.c:301
iptunnel_xmit+0x50c/0x930 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x2296/0x2c70 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x759/0xa60 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4850 [inline]
netdev_start_xmit include/linux/netdevice.h:4864 [inline]
xmit_one net/core/dev.c:3595 [inline]
dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3611
__dev_queue_xmit+0x1b97/0x3c90 net/core/dev.c:4261
packet_snd net/packet/af_packet.c:3073 [inline]
packet_sendmsg+0x4750/0x6170 net/packet/af_packet.c:3104
sock_sendmsg_nosec net/socket.c:716 [inline]
sock_sendmsg net/socket.c:736 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482
___sys_sendmsg net/socket.c:2536 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2565
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9a7ec8c169
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:00007f9a7f94d168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f9a7edabf80 RCX: 00007f9a7ec8c169
RDX: 0000000000000000 RSI: 0000000020002ac0 RDI: 0000000000000003
RBP: 00007f9a7ece7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff41a670ef R14: 00007f9a7f94d300 R15: 0000000000022000
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jun 8, 2023, 1:54:48 PM6/8/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d7af3e5ba454 Linux 5.15.115
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16ff29c9280000
kernel config: https://syzkaller.appspot.com/x/.config?x=1b527a384742ac24
dashboard link: https://syzkaller.appspot.com/bug?extid=7ee6817d83a87b7a15ff
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/05a22ee14f2f/disk-d7af3e5b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b062fea2e542/vmlinux-d7af3e5b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/14b4cea9b6c8/bzImage-d7af3e5b.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7ee681...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 10248 at net/core/dev.c:3249 skb_checksum_help+0x3c3/0x560
Modules linked in:
CPU: 0 PID: 10248 Comm: syz-executor.1 Not tainted 5.15.115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:skb_checksum_help+0x3c3/0x560 net/core/dev.c:3249
Code: ff eb e3 e8 0f 7b 4d f9 4c 89 ff e8 b7 01 00 00 bb ea ff ff ff eb cf e8 fb 7a 4d f9 0f 0b bb ea ff ff ff eb c1 e8 ed 7a 4d f9 <0f> 0b bb ea ff ff ff eb b3 44 89 e1 80 e1 07 fe c1 38 c1 0f 8c 5f
RSP: 0018:ffffc9000b9b6ee8 EFLAGS: 00010283
RAX: ffffffff88327e63 RBX: 00000000000006aa RCX: 0000000000040000
RDX: ffffc90003e97000 RSI: 0000000000000ba6 RDI: 0000000000000ba7
RBP: 0000000000000688 R08: ffffffff88327d52 R09: fffff52001736dce
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff88807a8e2bb0 R14: 1ffff1100f51c578 R15: ffff88807a8e2b40
FS: 00007f9c4fbae700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 0000000023627000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ip_do_fragment+0x1cf/0x1f10 net/ipv4/ip_output.c:774
ip_finish_output_gso net/ipv4/ip_output.c:279 [inline]
__ip_finish_output+0x2bd/0x4a0 net/ipv4/ip_output.c:301
iptunnel_xmit+0x50c/0x960 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x1c55/0x24a0 net/ipv4/ip_tunnel.c:810
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x756/0xa60 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:5019 [inline]
netdev_start_xmit include/linux/netdevice.h:5033 [inline]
xmit_one net/core/dev.c:3594 [inline]
dev_hard_start_xmit+0x298/0x7a0 net/core/dev.c:3610
__dev_queue_xmit+0x1cee/0x3230 net/core/dev.c:4225
packet_snd net/packet/af_packet.c:3035 [inline]
packet_sendmsg+0x4478/0x5e70 net/packet/af_packet.c:3066
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412
___sys_sendmsg+0x252/0x2e0 net/socket.c:2466
__sys_sendmsg net/socket.c:2495 [inline]
__do_sys_sendmsg net/socket.c:2504 [inline]
__se_sys_sendmsg+0x19a/0x260 net/socket.c:2502
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f9c5163c169
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:00007f9c4fbae168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f9c5175bf80 RCX: 00007f9c5163c169
RDX: 0000000000000000 RSI: 0000000020002ac0 RDI: 0000000000000003
RBP: 00007f9c51697ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf3cda92f R14: 00007f9c4fbae300 R15: 0000000000022000

syzbot

unread,
Jun 8, 2023, 2:17:47 PM6/8/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 76ba310227d2 Linux 6.1.32
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=126600d9280000
kernel config: https://syzkaller.appspot.com/x/.config?x=662f56cd322cfd0e
dashboard link: https://syzkaller.appspot.com/bug?extid=e1db31216c789f552871
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11b2708b280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16002c8d280000
netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3539 at net/core/dev.c:3284 skb_checksum_help+0x3d0/0x5b0
Modules linked in:
CPU: 1 PID: 3539 Comm: syz-executor266 Not tainted 6.1.32-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:skb_checksum_help+0x3d0/0x5b0 net/core/dev.c:3284
Code: 4c 89 ff e8 02 02 00 00 bb ea ff ff ff eb cf 0f 0b 80 3d c6 48 c4 05 01 0f 85 ac 01 00 00 e8 a7 f8 0e f9 bb ea ff ff ff eb b4 <0f> 0b 80 3d ac 48 c4 05 01 0f 85 9f 01 00 00 e8 8c f8 0e f9 bb ea
RSP: 0018:ffffc90003a2ef08 EFLAGS: 00010212
RAX: 0000000000000000 RBX: 0000000000000621 RCX: ffff88807c311dc0
RDX: ffff888022dfc074 RSI: 0000000000000519 RDI: 0000000000000621
RBP: 0000000000000519 R08: ffffffff887adbb5 R09: fffff52000745dd2
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110045bf810
R13: ffff888022dfc070 R14: dffffc0000000000 R15: ffff888022dfc000
FS: 000055555564f300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 0000000071b22000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ip_do_fragment+0x209/0x1b20 net/ipv4/ip_output.c:774
ip_finish_output_gso net/ipv4/ip_output.c:279 [inline]
__ip_finish_output+0x2bd/0x4b0 net/ipv4/ip_output.c:301
iptunnel_xmit+0x50c/0x930 net/ipv4/ip_tunnel_core.c:82
ip_tunnel_xmit+0x2296/0x2c70 net/ipv4/ip_tunnel.c:813
__gre_xmit net/ipv4/ip_gre.c:469 [inline]
ipgre_xmit+0x759/0xa60 net/ipv4/ip_gre.c:661
__netdev_start_xmit include/linux/netdevice.h:4850 [inline]
netdev_start_xmit include/linux/netdevice.h:4864 [inline]
xmit_one net/core/dev.c:3595 [inline]
dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3611
__dev_queue_xmit+0x1b97/0x3c90 net/core/dev.c:4261
packet_snd net/packet/af_packet.c:3073 [inline]
packet_sendmsg+0x4750/0x6170 net/packet/af_packet.c:3104
sock_sendmsg_nosec net/socket.c:716 [inline]
sock_sendmsg net/socket.c:736 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482
___sys_sendmsg net/socket.c:2536 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2565
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fa271fbe569
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcd0d2a688 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffcd0d2a698 RCX: 00007fa271fbe569
RDX: 0000000000000000 RSI: 0000000020002ac0 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffcd0d2a6a0
R13: 00007ffcd0d2a6c0 R14: 0000000000000000 R15: 0000000000000000
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Jun 8, 2023, 2:28:05 PM6/8/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: d7af3e5ba454 Linux 5.15.115
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1267af93280000
kernel config: https://syzkaller.appspot.com/x/.config?x=1b527a384742ac24
dashboard link: https://syzkaller.appspot.com/bug?extid=7ee6817d83a87b7a15ff
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14b841b3280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1134c853280000
netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3499 at net/core/dev.c:3249 skb_checksum_help+0x3c3/0x560
Modules linked in:
CPU: 1 PID: 3499 Comm: syz-executor330 Not tainted 5.15.115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:skb_checksum_help+0x3c3/0x560 net/core/dev.c:3249
Code: ff eb e3 e8 0f 7b 4d f9 4c 89 ff e8 b7 01 00 00 bb ea ff ff ff eb cf e8 fb 7a 4d f9 0f 0b bb ea ff ff ff eb c1 e8 ed 7a 4d f9 <0f> 0b bb ea ff ff ff eb b3 44 89 e1 80 e1 07 fe c1 38 c1 0f 8c 5f
RSP: 0018:ffffc90002fbeee8 EFLAGS: 00010293
RAX: ffffffff88327e63 RBX: 00000000000006aa RCX: ffff888013991dc0
RDX: 0000000000000000 RSI: 0000000000000688 RDI: 00000000000006aa
RBP: 0000000000000688 R08: ffffffff88327d52 R09: fffff520005f7dce
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888019d632f0 R14: 1ffff110033ac660 R15: ffff888019d63280
FS: 0000555556c63300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 000000001e710000 CR4: 00000000003506e0
RIP: 0033:0x7f2d0d57b569
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd20c74dc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffd20c74dd8 RCX: 00007f2d0d57b569
RDX: 0000000000000000 RSI: 0000000020002ac0 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffd20c74de0
R13: 00007ffd20c74e00 R14: 0000000000000000 R15: 0000000000000000
Reply all
Reply to author
Forward
0 new messages