bpf: Switch CONFIG_CFI_CLANG to CONFIG_CFI
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel BPF code uses an outdated configuration option name, causing relevant code to be compiled out and CFI failures for btf_dtor_kfunc_t to persist. The input does not describe what an attacker could do or specify access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their systems; affected versions are not specified.