syzbot


WARNING in bpf_xdp_adjust_tail

Status: auto-obsoleted due to no activity on 2023/10/12 14:59
Reported-by: syzbot+b62eebe3254e37ab352a@syzkaller.appspotmail.com
First crash: 626d, last: 477d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/09/17 upstream (ToT) f0b0d403eabb C Didn't crash
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bpf_xdp_adjust_tail (3) bpf net 1 1081d 1077d 0/28 auto-closed as invalid on 2022/04/07 02:43
linux-6.1 WARNING in bpf_xdp_adjust_tail C done 238 464d 626d 3/3 fixed on 2023/10/09 13:09
upstream WARNING in bpf_xdp_adjust_tail (4) bpf C error 466 473d 683d 23/28 fixed on 2023/10/12 12:48
upstream WARNING in bpf_xdp_adjust_tail bpf net 1 1606d 1602d 0/28 auto-closed as invalid on 2020/10/29 00:20
upstream WARNING in bpf_xdp_adjust_tail (2) bpf net 1 1321d 1321d 0/28 auto-closed as invalid on 2021/07/10 12:40
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/01 11:53 0m bisect fix linux-5.15.y error job log
2023/04/28 06:10 33m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
Too BIG xdp->frame_sz = 131072
WARNING: CPU: 0 PID: 3500 at net/core/filter.c:3848 ____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline]
WARNING: CPU: 0 PID: 3500 at net/core/filter.c:3848 bpf_xdp_adjust_tail+0x19b/0x1b0 net/core/filter.c:3837
Modules linked in:
CPU: 0 PID: 3500 Comm: syz-executor216 Not tainted 5.15.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:____bpf_xdp_adjust_tail net/core/filter.c:3848 [inline]
RIP: 0010:bpf_xdp_adjust_tail+0x19b/0x1b0 net/core/filter.c:3837
Code: 0f 8c e0 fe ff ff e8 e4 9d 8c f9 e9 d6 fe ff ff e8 1a 29 43 f9 c6 05 1b d8 93 05 01 48 c7 c7 00 2b 7a 8b 89 ee e8 55 f5 0e f9 <0f> 0b 48 c7 c0 ea ff ff ff e9 7c ff ff ff 0f 1f 80 00 00 00 00 55
RSP: 0018:ffffc900011df760 EFLAGS: 00010246
RAX: b4dd48361c0ff500 RBX: ffffc900011df920 RCX: ffff888078cbbb80
RDX: 0000000000000000 RSI: 0000000080000200 RDI: 0000000000000000
RBP: 0000000000020000 R08: ffffffff8166490c R09: ffffed1017344f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073d8feef
R13: ffff888073d8feef R14: ffffc900011df928 R15: 1ffff9200023bf25
FS:  0000555556b66380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 000000001aa90000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bpf_prog_4add87e5301a4105+0x12/0x8d0
 __bpf_prog_run include/linux/filter.h:625 [inline]
 bpf_prog_run_xdp include/linux/filter.h:800 [inline]
 bpf_prog_run_generic_xdp+0x4ec/0x1030 net/core/dev.c:4735
 netif_receive_generic_xdp net/core/dev.c:4821 [inline]
 do_xdp_generic+0x416/0x6c0 net/core/dev.c:4876
 tun_get_user+0x23c7/0x40f0 drivers/net/tun.c:1915
 tun_chr_write_iter+0x10c/0x1e0 drivers/net/tun.c:2018
 call_write_iter include/linux/fs.h:2103 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xacf/0xe50 fs/read_write.c:594
 ksys_write+0x1a2/0x2c0 fs/read_write.c:647
 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:0x7f949f51e640
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d 61 ea 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffeab1b7888 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f949f51e640
RDX: 000000000000fdef RSI: 0000000020000580 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: bb1414ac00000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (73):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/28 23:50 linux-5.15.y 09996673e313 92476829 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/07/28 23:28 linux-5.15.y 09996673e313 92476829 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/10 01:33 linux-5.15.y d9b4a0c83a2d f08b59ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/10 01:00 linux-5.15.y d9b4a0c83a2d f08b59ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/08 01:12 linux-5.15.y d9b4a0c83a2d d7ea8bc4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/06/17 23:40 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/17 23:10 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/08 20:46 linux-5.15.y d9b4a0c83a2d 4fc6d98d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/07 22:49 linux-5.15.y d9b4a0c83a2d d7ea8bc4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/08/01 13:50 linux-5.15.y 09996673e313 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/07/04 23:43 linux-5.15.y 4af60700a60c f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/07/02 04:19 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/07/01 04:12 linux-5.15.y 4af60700a60c af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/06/17 22:20 linux-5.15.y 471e639e59d1 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/06/06 04:43 linux-5.15.y d7af3e5ba454 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/05/15 02:03 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/29 05:55 linux-5.15.y 115472395b0a fc067f05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/16 09:25 linux-5.15.y 2ddbd0f967b3 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/12 03:46 linux-5.15.y d214f240b0f6 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/10 19:11 linux-5.15.y abddfcf701a5 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/03/07 22:34 linux-5.15.y d9b4a0c83a2d d7ea8bc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_xdp_adjust_tail
2023/08/03 14:58 linux-5.15.y 38d4ca22a528 39a91c18 .config console log report info ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/08/02 20:25 linux-5.15.y 09996673e313 b178af49 .config console log report info ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/08/02 15:02 linux-5.15.y 09996673e313 b178af49 .config console log report info ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/08/01 21:43 linux-5.15.y 09996673e313 df07ffe8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/30 20:25 linux-5.15.y 09996673e313 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/30 18:48 linux-5.15.y 09996673e313 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/30 17:04 linux-5.15.y 09996673e313 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/30 13:14 linux-5.15.y 09996673e313 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/11 06:14 linux-5.15.y d54cfc420586 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/11 04:56 linux-5.15.y d54cfc420586 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/10 17:50 linux-5.15.y d54cfc420586 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/09 14:31 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/08 12:21 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/07 21:17 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/07 17:18 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/07 07:14 linux-5.15.y d54cfc420586 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/07 02:03 linux-5.15.y d54cfc420586 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/06 17:40 linux-5.15.y d54cfc420586 1a2f6297 .config console log report info ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/06 04:29 linux-5.15.y d54cfc420586 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/05 21:30 linux-5.15.y d54cfc420586 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/05 16:59 linux-5.15.y 4af60700a60c ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/05 09:05 linux-5.15.y 4af60700a60c 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/05 06:15 linux-5.15.y 4af60700a60c 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/04 22:40 linux-5.15.y 4af60700a60c f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/04 21:19 linux-5.15.y 4af60700a60c f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/04 18:01 linux-5.15.y 4af60700a60c f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/04 00:21 linux-5.15.y 4af60700a60c 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/03 20:13 linux-5.15.y 4af60700a60c 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/02 03:28 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/01 18:55 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/01 17:47 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/01 14:20 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/01 13:28 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/07/01 04:34 linux-5.15.y 4af60700a60c af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/17 22:29 linux-5.15.y 471e639e59d1 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/10 19:37 linux-5.15.y 7349e40704a0 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/09 21:55 linux-5.15.y 7349e40704a0 9018a337 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/09 11:06 linux-5.15.y 7349e40704a0 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/07 20:29 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/06/05 21:22 linux-5.15.y d7af3e5ba454 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/05/13 14:51 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/29 00:29 linux-5.15.y 115472395b0a fc067f05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/20 21:29 linux-5.15.y 8020ae3c051d 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/12 03:52 linux-5.15.y d214f240b0f6 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/12 03:51 linux-5.15.y d214f240b0f6 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/10 21:34 linux-5.15.y abddfcf701a5 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/10 21:32 linux-5.15.y abddfcf701a5 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
2023/03/07 20:14 linux-5.15.y d9b4a0c83a2d d7ea8bc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in bpf_xdp_adjust_tail
* Struck through repros no longer work on HEAD.