syzbot


WARNING in bpf_probe_read_compat

Status: upstream: reported C repro on 2023/11/02 23:51
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+c8d08ea57cf6eedbc51c@syzkaller.appspotmail.com
First crash: 117d, last: 11m
Fix commit to backport (bisect log) :
tree: upstream
commit d319f344561de23e810515d109c7278919bff7b0
Author: Alexei Starovoitov <ast@kernel.org>
Date: Mon Apr 10 17:43:44 2023 +0000

  mm: Fix copy_from_user_nofault().

  
Bug presence (2)
Date Name Commit Repro Result
2023/11/03 linux-5.15.y (ToT) 12952a23a5da C [report] WARNING in bpf_probe_read_compat
2023/11/03 upstream (ToT) bc3012f4e3a9 C Didn't crash
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/11/04 00:14 5h04m fix candidate upstream job log (1)

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:226
Code: db 48 c7 c0 f2 ff ff ff 48 0f 44 c5 eb 0c e8 7b e6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 64 e6 d5 ff <0f> 0b e9 1e ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ef fe ff
RSP: 0018:ffffc900000079b0 EFLAGS: 00010246
RAX: ffffffff81aa475c RBX: 0000000000000000 RCX: ffffffff8c6bd5c0
RDX: 0000000080000102 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aa466d R09: fffffbfff18d7ab9
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000007a28
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555571fdca8 CR3: 000000000c68e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
 ____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
 bpf_probe_read_compat+0xe4/0x180 kernel/trace/bpf_trace.c:277
 </IRQ>
 <TASK>
 </TASK>

Crashes (1698):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/03 03:05 linux-5.15.y 6139f2a02fe0 60bf9982 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2023/11/23 12:02 linux-5.15.y 2a910f4af54d fc59b78e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2023/11/14 22:08 linux-5.15.y 80529b4968a8 cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2023/11/03 06:30 linux-5.15.y 12952a23a5da c4ac074c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2023/11/03 00:11 linux-5.15.y 12952a23a5da c4ac074c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/28 00:26 linux-5.15.y 458ce51d0356 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 23:01 linux-5.15.y 458ce51d0356 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/27 18:09 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 16:36 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 15:10 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 13:44 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 13:38 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/27 12:31 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 11:13 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/27 09:23 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 08:56 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 07:02 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 04:07 linux-5.15.y 458ce51d0356 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 02:35 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/27 01:23 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/26 23:21 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 22:58 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 20:58 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 19:32 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/26 18:11 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 15:48 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/26 14:41 linux-5.15.y 458ce51d0356 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 13:40 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/26 11:18 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 10:17 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 09:08 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 07:55 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/26 04:30 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/26 01:00 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 23:37 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 22:24 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 19:39 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 18:21 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 16:34 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/25 14:45 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 12:48 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 08:36 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 05:02 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/25 02:51 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 01:04 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/25 00:11 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/24 23:09 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
2024/02/24 22:01 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2024/02/24 20:46 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_compat
2023/11/02 23:50 linux-5.15.y 12952a23a5da c4ac074c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_compat
* Struck through repros no longer work on HEAD.