CVE-2026-63864: bpf: Propagate error from visit_tailcall_insn
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
bpf: Propagate error from visit_tailcall_insn
Commit e40f5a6bf88a ("bpf: correct stack liveness for tail calls") added visit_tailcall_insn() but did not check its return value.
The Linux kernel CVE team has assigned CVE-2026-63864 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd and fixed in 7.0.10 with commit 945816e63c8677cf4bfde963a0774432ce8afc85 Issue introduced in 6.19 with commit e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd and fixed in 7.1 with commit 6bd96e40f31dde8f8cd79772b4df0f171cf8a915
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-63864
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/bpf/verifier.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/945816e63c8677cf4bfde963a0774432ce8afc85 https://git.kernel.org/stable/c/6bd96e40f31dde8f8cd79772b4df0f171cf8a915