CVE-2025-38285 Information
Description
In the Linux kernel the following vulnerability has been resolved:
bpf: Fix WARN() in get_bpf_raw_tp_regs
syzkaller reported an issue:
WARNING: CPU: 3 PID: 5971 at kernel/trace/bpf_trace.c:1861 get_bpf_raw_tp_regs+0xa4/0x100 kernel/trace/bpf_trace.c:1861
Modules linked in:
CPU: 3 UID: 0 PID: 5971 Comm: syz-executor205 Not tainted 6.15.0-rc5-syzkaller-00038-g707df3375124 0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9 2009) BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:get_bpf_raw_tp_regs+0xa4/0x100 kernel/trace/bpf_trace.c:1861
RSP: 0018:ffffc90003636fa8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff81c6bc4c
RDX: ffff888032efc880 RSI: ffffffff81c6bc83 RDI: 0000000000000005
RBP: ffff88806a730860 R08: 0000000000000005 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000004
R13: 0000000000000001 R14: ffffc90003637008 R15: 0000000000000900
FS: 0000000000000000(0000) GS:ffff8880d6cdf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7baee09130 CR3: 0000000029f5a000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Tracepoint like trace_mmap_lock_acquire_returned may cause nested call as the corner case show above which will be resolved with more general method in the future. As a result WARN_ON_ONCE will be triggered. As Alexei suggested remove the WARN_ON_ONCE first.
Reference
https://git.kernel.org/stable/c/147ea936fc6fa8fe0c93f0df918803a5375ca535 https://git.kernel.org/stable/c/18e8cbbae79cb35bdce8a01c889827b9799c762e https://git.kernel.org/stable/c/3880cdbed1c4607e378f58fa924c5d6df900d1d3 https://git.kernel.org/stable/c/44ebe361abb322d2afd77930fa767a99f271c4d1 https://git.kernel.org/stable/c/6d8f39875a10a194051c3eaefebc7ac06a34aaf3 https://git.kernel.org/stable/c/c98cdf6795a36bca163ebb40411fef1687b9eb13 https://git.kernel.org/stable/c/e167414beabb1e941fe563a96becc98627d5bdf6 https://git.kernel.org/stable/c/ee90be48edb3dac612e0b7f5332482a9e8be2696
Related CNNVD
CNNVD-202507-1408 (Published: 2025-07-10)
Share on: