Skip to contentSkip to conversation

CVE-2026-53099: bpf: Switch CONFIG_CFI_CLANG to CONFIG_CFI

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

bpf: Switch CONFIG_CFI_CLANG to CONFIG_CFI

This was renamed in commit 23ef9d439769 ("kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI") as it is now a compiler-agnostic option. Using the wrong name results in the code getting compiled out. Meaning the CFI failures for btf_dtor_kfunc_t would still trigger.

The Linux kernel CVE team has assigned CVE-2026-53099 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.0 with commit 99fde4d0626176d03cea35c64a063df73816e64d and fixed in 7.0.10 with commit f74fce43dbc059e059b5346a670f697c0e97b1d0
	Issue introduced in 7.0 with commit 99fde4d0626176d03cea35c64a063df73816e64d and fixed in 7.1 with commit 9b0cf064ea0a6bac5e1a5fb43b004fd52fbe2b3b

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-53099

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/btf.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/f74fce43dbc059e059b5346a670f697c0e97b1d0
	https://git.kernel.org/stable/c/9b0cf064ea0a6bac5e1a5fb43b004fd52fbe2b3b