syzbot


WARNING in check_map_prog_compatibility

Status: upstream: reported C repro on 2023/03/07 20:33
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+3d7af5d2cc62b29ab2ed@syzkaller.appspotmail.com
First crash: 555d, last: 5h47m
Fix commit to backport (bisect log) :
tree: upstream
commit 96da3f7d489d11b43e7c1af90d876b9a2492cca8
Author: Alexei Starovoitov <ast@kernel.org>
Date: Fri Sep 2 21:10:54 2022 +0000

  bpf: Remove tracing program restriction on map types

  
Bug presence (2)
Date Name Commit Repro Result
2023/05/02 linux-5.15.y (ToT) 8a7f2a5c5aa1 C [report] WARNING in check_map_prog_compatibility
2023/05/02 upstream (ToT) 865fdb08197e C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in check_map_prog_compatibility bpf C inconclusive done 128 718d 881d 22/28 fixed on 2023/02/24 13:50
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/08/14 03:15 5h38m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
trace type BPF program uses run-time allocation
WARNING: CPU: 1 PID: 3564 at kernel/bpf/verifier.c:11726 check_map_prog_compatibility+0x720/0x8c0 kernel/bpf/verifier.c:11726
Modules linked in:
CPU: 1 PID: 3564 Comm: syz-executor158 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:check_map_prog_compatibility+0x720/0x8c0 kernel/bpf/verifier.c:11726
Code: ed e9 ec fc ff ff e8 af c0 ee ff 31 ed e9 e0 fc ff ff e8 a3 c0 ee ff c6 05 79 13 44 0c 01 48 c7 c7 40 38 91 8a e8 20 63 ba ff <0f> 0b e9 4a fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4f f9 ff
RSP: 0018:ffffc90002db7348 EFLAGS: 00010246
RAX: 08dcac1b34cb8800 RBX: 0000000000000011 RCX: ffff888021875940
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffff888015583028 R08: ffffffff8166892c R09: fffff520005b6da9
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000d3e038
R13: ffff888015583000 R14: ffff8880740fc000 R15: dffffc0000000000
FS:  000055555568f380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa7ad2ec0d0 CR3: 000000001f72d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 resolve_pseudo_ldimm64+0x682/0x1240 kernel/bpf/verifier.c:11895
 bpf_check+0x4341/0x12d00 kernel/bpf/verifier.c:14101
 bpf_prog_load+0x12b3/0x1b60 kernel/bpf/syscall.c:2353
 __sys_bpf+0x343/0x670 kernel/bpf/syscall.c:4651
 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4753 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa7ad274df9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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:00007ffe16af31b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa7ad274df9
RDX: 0000000000000090 RSI: 00000000200000c0 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (7406):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/11 21:26 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/06/20 21:19 linux-5.15.y 4878aadf2d15 dac2aa43 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/06/09 00:07 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/05/19 05:29 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/05/19 03:49 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/03/28 23:46 linux-5.15.y 9465fef4ae35 e91187ee .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/03/12 05:26 linux-5.15.y 574362648507 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/01/21 05:21 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2023/12/02 14:59 linux-5.15.y a78d278e01b1 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/03/09 05:47 linux-5.15.y d9b4a0c83a2d 4fc6d98d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/08/24 13:08 linux-5.15.y f6f7927ac664 4d7ae7ab .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/08/24 12:31 linux-5.15.y f6f7927ac664 4d7ae7ab .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/07/19 18:32 linux-5.15.y d54cfc420586 022df2bb .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2023/07/12 04:01 linux-5.15.y d54cfc420586 2f19aa4f .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/06/16 12:36 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/03/08 01:26 linux-5.15.y d9b4a0c83a2d d7ea8bc4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/13 13:29 linux-5.15.y 3a5928702e71 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/13 12:48 linux-5.15.y 3a5928702e71 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/13 06:28 linux-5.15.y 3a5928702e71 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 22:46 linux-5.15.y 3a5928702e71 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/12 08:12 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 07:18 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 06:04 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 05:01 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 03:59 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 03:12 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 02:10 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 02:09 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/12 01:01 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 23:56 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 23:30 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 22:30 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 18:23 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/11 18:23 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/11 17:03 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/11 15:41 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 14:13 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 13:55 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 12:51 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 11:30 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 10:25 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 08:39 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 07:35 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/11 00:37 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
2024/09/10 19:57 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 18:55 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 18:21 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 13:34 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 11:28 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 10:09 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 10:09 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 08:55 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 07:54 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 06:25 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 05:46 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 04:31 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/10 00:20 linux-5.15.y 14e468424d3e 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/09 23:28 linux-5.15.y 14e468424d3e 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2024/09/09 22:13 linux-5.15.y 14e468424d3e 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in check_map_prog_compatibility
2023/03/07 20:33 linux-5.15.y d9b4a0c83a2d d7ea8bc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_map_prog_compatibility
* Struck through repros no longer work on HEAD.