Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97944 Overview
CVE-2026-97944 is a Linux kernel vulnerability in the x86 Control Flow Integrity (CFI) implementation. The flaw lives in cfi_get_func_hash() within the FineIBT preamble handling code. A prior change shortened the FineIBT preamble instruction from subl $hash, %r10d to subl $hash, %eax, moving the hash immediate from offset 7 to offset 5. The fineibt_preamble_hash constant was updated, but the open-coded offset inside cfi_get_func_hash() was not. The BPF JIT uses this helper to assign a CFI hash to struct_ops trampolines, so the first indirect call from the kernel into a BPF struct_ops program fails the FineIBT check and the kernel dies with a CFI failure.
Critical Impact
Any BPF struct_ops program (for example a BPF TCP congestion control module invoked by tcp_init_congestion_control()) triggers a kernel CFI failure on FineIBT-enabled x86 systems, producing a kernel panic and denial of service.
Affected Products
- Linux kernel builds on x86_64 with CONFIG_FINEIBT enabled
- Kernel configurations using the BPF JIT with struct_ops trampolines
- Workloads relying on BPF-based TCP congestion control or similar struct_ops consumers
Discovery Timeline
- 2026-09-25 - CVE-2026-97944 published to the National Vulnerability Database
- 2026-09-25 - Last updated in the NVD database
Technical Details for CVE-2026-97944
Vulnerability Analysis
FineIBT is the kernel's software CFI scheme layered on top of Intel Indirect Branch Tracking (IBT). Each indirect-call target is prefixed by a preamble that subtracts a per-type hash from a register and compares the result, trapping on mismatch. When the preamble instruction was shortened to use %eax instead of %r10d, the four-byte hash immediate shifted from byte offset 7 to byte offset 5 within the preamble.
cfi_get_func_hash() continued to read the hash from the old offset 7. The BPF JIT uses this helper to copy the CFI hash of a stub function into a dynamically generated struct_ops trampoline. The trampoline therefore received the upper half of the real hash concatenated with the first two bytes of the following instruction. The first indirect call from the kernel through that trampoline, such as tcp_init_congestion_control() dispatching to the ->init() member of a BPF congestion control module, fails the FineIBT check and the kernel traps with a CFI failure. This is a kernel-side control-flow integrity enforcement bug that manifests as a denial of service [CWE-682: Incorrect Calculation].
Root Cause
The root cause is a duplicated, open-coded constant. The preamble layout was defined in one place (fineibt_preamble_hash) and separately hardcoded as a numeric offset inside cfi_get_func_hash(). When the preamble changed, only one location was updated, producing a layout drift between the writer of the hash and this reader.
Attack Vector
The condition is reached through legitimate kernel code paths rather than through an external network vector. Loading a BPF struct_ops program, such as a BPF TCP congestion control implementation, and triggering its first indirect dispatch is sufficient to crash a FineIBT-enabled kernel. A local user with the privileges required to load BPF struct_ops programs can therefore induce a kernel panic.
No synthetic exploitation code is reproduced here. Refer to the upstream fix in Kernel Commit 5a5d26f, Kernel Commit 67cf94c, and Kernel Commit cd9b459 for the exact source changes.
Detection Methods for CVE-2026-97944
Indicators of Compromise
- Kernel panic or oops entries referencing CFI failure on x86_64 hosts booted with FineIBT enabled.
- Crash backtraces that include cfi_get_func_hash, BPF JIT trampoline symbols, or tcp_init_congestion_control immediately before the fault.
- Repeated host reboots correlated with loading or activating a BPF struct_ops program such as a BPF TCP congestion control module.
Detection Strategies
- Inventory kernels built with CONFIG_FINEIBT=y and cross-reference against the fixed stable commits listed above.
- Audit workloads that use BPF struct_ops, including custom TCP congestion control, scheduler, or networking hooks.
- Review dmesg and persistent crash logs for CFI violation messages tied to BPF-generated code regions.
Monitoring Recommendations
- Centralize kernel log collection and alert on CFI failure strings alongside BPF subsystem symbols.
- Track unexpected node reboots on hosts that load third-party or newly deployed BPF programs.
- Monitor BPF program load events through bpf() syscall auditing to correlate crashes with specific struct_ops attachments.
How to Mitigate CVE-2026-97944
Immediate Actions Required
- Apply the stable kernel updates that include the fix to cfi_get_func_hash() across all affected x86_64 systems with FineIBT enabled.
- Pause rollout of BPF struct_ops programs on unpatched FineIBT kernels until the fix is in place.
- Validate that congestion control modules loaded via BPF are either disabled or operating on patched kernels.
Patch Information
The fix moves the FineIBT preamble template and its offset defines above cfi_get_func_hash() and switches that function to use fineibt_preamble_hash, giving every reader of the preamble a single shared layout definition. The CFI_FINEIBT arm is only compiled when CONFIG_FINEIBT is set. See Kernel Commit 5a5d26f, Kernel Commit 67cf94c, and Kernel Commit cd9b459 for the backports.
Workarounds
- Boot affected kernels without FineIBT (for example by disabling CONFIG_FINEIBT in custom builds or using the appropriate cfi= boot option) if patching cannot be scheduled immediately.
- Avoid loading BPF struct_ops programs, including BPF-based TCP congestion control, on unpatched FineIBT kernels.
- Restrict CAP_BPF and CAP_SYS_ADMIN on exposed hosts to limit which users can attach struct_ops programs.
# Verify whether a running kernel was built with FineIBT enabled
grep -E 'CONFIG_FINEIBT|CONFIG_CFI_CLANG' /boot/config-$(uname -r)
# Inspect kernel logs for CFI failures linked to BPF trampolines
dmesg | grep -iE 'cfi failure|fineibt|bpf'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

