CVE-2026-100074: bpf: Mark bpf_refcount field as unique
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
bpf: Mark bpf_refcount field as unique
BPF_REFCOUNT is not marked as a unique field, while it should be. Fix this oversight.
The Linux kernel CVE team has assigned CVE-2026-100074 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.4 with commit d54730b50bae1f3119bd686d551d66f0fcc387ca and fixed in 6.18.52 with commit e42cede6f90177f4f92f80d3de18f628e61d2087 Issue introduced in 6.4 with commit d54730b50bae1f3119bd686d551d66f0fcc387ca and fixed in 7.2.6 with commit 641f814965d733936ca3618d4d5a12a8fa9be00e Issue introduced in 6.4 with commit d54730b50bae1f3119bd686d551d66f0fcc387ca and fixed in 7.3-rc1 with commit 61e655391cb19c31f94ecd4354f624c81ce4cf75
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-100074
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/e42cede6f90177f4f92f80d3de18f628e61d2087 https://git.kernel.org/stable/c/641f814965d733936ca3618d4d5a12a8fa9be00e https://git.kernel.org/stable/c/61e655391cb19c31f94ecd4354f624c81ce4cf75