VDB

CVE-2026-97944

CVE-2026-97944 PUBLISHED

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

Reported by linux · Published September 25, 2026

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.

EPSS 0.17% · 5.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxcd9b4595d6283f9b8a35d7ae607508de45a351ce, 67cf94c30a8b5ebc839f282f5c5a522b35903524, 5a5d26f2cfe13467166219f6bf58099326912ddb

Risk scores

EPSS Score
0.17%
5.9th percentile

Affected products

VendorProductVersions
LinuxLinux85a2d4a890dce3cfc9c14aa91afc3dd7af8e3bf5, 85a2d4a890dce3cfc9c14aa91afc3dd7af8e3bf5, 85a2d4a890dce3cfc9c14aa91afc3dd7af8e3bf5
LinuxLinux6.18, 0, 6.18.53
LinuxLinux7.3, 0, 6.18.53
linuxlinux_kernel6.18, 6.18, 6.18

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97944
vulnetix vdb fixes CVE-2026-97944

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97944/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›