PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45927 Linux CVE debrief

A Time-of-Check-Time-of-Use (TOCTOU) vulnerability in the Linux kernel's BPF subsystem allowed userspace to cache a map hash before modifying map contents, potentially tricking trusted loaders into verifying stale hashes against modified data. The fix enforces that map hashes are only calculated when maps are frozen (immutable), preventing the race condition.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 4.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-25
Advisory published
2026-05-27
Advisory updated
2026-06-25

Who should care

Linux system administrators, kernel security teams, developers of trusted loading mechanisms for BPF programs, and organizations relying on BPF map hash integrity for supply chain or attestation workflows

Technical summary

The Linux kernel's bpf_map_get_info_by_fd function previously calculated and cached BPF map hashes regardless of whether the map was frozen (immutable). This created a TOCTOU window where userspace could: (1) call BPF_OBJ_GET_INFO_BY_FD to cache the hash, (2) modify map contents, and (3) present the modified map with the now-stale hash to a trusted loader. The fix returns -EPERM when hash calculation is requested for unfrozen maps, ensuring hashes only represent final immutable states.

Defensive priority

medium

Recommended defensive actions

  • Audit systems for unpatched Linux kernels with BPF map hash functionality
  • Review trusted loader implementations that rely on BPF map hashes for integrity verification
  • Apply kernel updates containing the referenced stable commits when available
  • Consider additional integrity verification mechanisms beyond BPF map hashes for security-critical loading scenarios

Evidence notes

The vulnerability description indicates this was resolved in the Linux kernel by requiring frozen map state before hash calculation. Multiple stable kernel commits are referenced. No CVSS score or severity has been assigned by NVD as of the modified date.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45927 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45927

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45927 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45927

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/7752d36343862323bbeea4ce3adf0ec2ed86e122

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a2c86aa621c22f2a7e26c654f936d65cfff0aa91

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/f415e114b58fe02c41191e47f24bdabb438daf72

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.