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

x86/cfi: Fix FineIBT hash offset in cfi_get_func_hash()

The switch of the FineIBT preamble from "subl $hash, %r10d" to the
shorter "subl $hash, %eax" moved the hash immediate from offset 7 to
offset 5 of the preamble. fineibt_preamble_hash was updated to match,
but the open-coded offset in cfi_get_func_hash() was missed and it
still reads the hash at offset 7.

cfi_get_func_hash() is used by the BPF JIT to give a struct_ops
trampoline the CFI hash of the stub function it stands in for. With
FineIBT the trampoline now gets the upper half of the real hash
followed by the first two bytes of the next instruction, so the first
indirect call from the kernel into a struct_ops program,
tcp_init_congestion_control() calling ->init() of a BPF congestion
control for example, fails the FineIBT check and the kernel dies with
a CFI failure.

Move the FineIBT preamble template and its offset defines above
cfi_get_func_hash() and use fineibt_preamble_hash there, so every
reader of the preamble shares one definition of its layout. The
CFI_FINEIBT arm is only built with CONFIG_FINEIBT, the only
configuration in which cfi_mode can take that value.
cfi_get_func_arity() does not need the same treatment: the __bhi_args
call whose displacement it reads still ends at the function address.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

A bug in the Linux kernel’s FineIBT implementation misreads a hash value used by the Control Flow Integrity subsystem. The offset used in cfi_get_func_hash() does not match the new FineIBT preamble layout, so BPF JIT‑compiled stub functions compute an incorrect hash. When the kernel enforces the FineIBT check, the mismatch causes a CFI failure, which results in a kernel panic and an immediate denial of service.

Affected Systems

All Linux kernel builds compiled with CONFIG_FINEIBT enabled are affected. This includes distribution kernels that provide FineIBT support. Any system running a kernel with the faulty configuration can be impacted, regardless of vendor or distribution.

Risk and Exploitability

An attacker who can load a BPF program or otherwise trigger the BPF JIT path may be able to cause the kernel to crash. The EPSS score is not available, the vulnerability is not listed in CISA KEV, and no CVSS score is supplied. The attack requires local or privileged execution to invoke BPF JIT, so the exploitability is limited to scenarios where the attacker can run BPF code within the kernel context. Once triggered, the resulting kernel panic is non‑recoverable without a reboot, resulting in a denial of service for the affected host.

Generated by OpenCVE AI on September 25, 2026 at 14:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the x86/cfi patch correcting the hash offset bug.
  • Disable FineIBT by rebuilding the kernel without CONFIG_FINEIBT or by disabling the feature at boot.
  • Restrict or block the execution of BPF JIT and struct_ops programs from untrusted processes until a patch is applied.

Generated by OpenCVE AI on September 25, 2026 at 14:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: x86/cfi: Fix FineIBT hash offset in cfi_get_func_hash() The switch of the FineIBT preamble from "subl $hash, %r10d" to the shorter "subl $hash, %eax" moved the hash immediate from offset 7 to offset 5 of the preamble. fineibt_preamble_hash was updated to match, but the open-coded offset in cfi_get_func_hash() was missed and it still reads the hash at offset 7. cfi_get_func_hash() is used by the BPF JIT to give a struct_ops trampoline the CFI hash of the stub function it stands in for. With FineIBT the trampoline now gets the upper half of the real hash followed by the first two bytes of the next instruction, so the first indirect call from the kernel into a struct_ops program, tcp_init_congestion_control() calling ->init() of a BPF congestion control for example, fails the FineIBT check and the kernel dies with a CFI failure. Move the FineIBT preamble template and its offset defines above cfi_get_func_hash() and use fineibt_preamble_hash there, so every reader of the preamble shares one definition of its layout. The CFI_FINEIBT arm is only built with CONFIG_FINEIBT, the only configuration in which cfi_mode can take that value. cfi_get_func_arity() does not need the same treatment: the __bhi_args call whose displacement it reads still ends at the function address.
Title x86/cfi: Fix FineIBT hash offset in cfi_get_func_hash()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:22:55.382Z

Reserved: 2026-09-25T10:18:58.204Z

Link: CVE-2026-97944

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:21.870

Modified: 2026-09-25T11:17:21.870

Link: CVE-2026-97944

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T15:00:20Z

Weaknesses