CVE-2026-80607: tracing/probes: Remove WARN_ON_ONCE from parse_btf_arg
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tracing/probes: Remove WARN_ON_ONCE from parse_btf_arg
Sashiko found that user can cause this WARN_ON_ONCE() easily with adding a kprobe event based on a raw address with BTF parameter.
Since this is not an unexpected condition, remove the WARN_ON_ONCE().
The Linux kernel CVE team has assigned CVE-2026-80607 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.5 with commit b576e09701c7d045bbe5cd85d53e2f34426aa214 and fixed in 6.18.40 with commit f148f86c65b8f9ef2466ad8506e721749e4957fb Issue introduced in 6.5 with commit b576e09701c7d045bbe5cd85d53e2f34426aa214 and fixed in 7.1.5 with commit 8a662d8c05e2cf16f7a047c81bc1eb5d3b29bacd Issue introduced in 6.5 with commit b576e09701c7d045bbe5cd85d53e2f34426aa214 and fixed in 7.2 with commit 251a8fe1b9aedccd298b77bc28426d564c5a923f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80607
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/trace/trace_probe.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f148f86c65b8f9ef2466ad8506e721749e4957fb https://git.kernel.org/stable/c/8a662d8c05e2cf16f7a047c81bc1eb5d3b29bacd https://git.kernel.org/stable/c/251a8fe1b9aedccd298b77bc28426d564c5a923f