PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-80876 Linux CVE debrief

A Linux kernel vulnerability causes incorrect event length calculation when RB_FORCE_8BYTE_ALIGNMENT is true, affecting ftrace selftest on certain architectures. The issue arises from the incorrect subtraction of the event array length in ring_buffer_event_length() for small events on architectures with RB_FORCE_8BYTE_ALIGNMENT=true, leading to a 4-byte discrepancy in reported data length. This discrepancy was observed in a riscv64 kernel with CONFIG_HAVE_64BIT_ALIGNED_ACCESS set to y during ftrace selftest trace_marker_raw.tc. The patch addresses this by adding RB_FORCE_8BYTE_ALIGNMENT as a condition to subtract the size of the length field whenever RB_FORCE_8BYTE_ALIGNMENT is

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-04
Original CVE updated
2026-11-06
Advisory published
2026-09-04
Advisory updated
2026-11-06

Who should care

Linux kernel maintainers and users on affected architectures, particularly those with RB_FORCE_8BYTE_ALIGNMENT=true, should verify event length calculation and apply the patch to prevent incorrect event length calculation. This includes operators, platform administrators, vulnerability management teams, and security teams responsible for maintaining and securing Linux kernel deployments.

Why it matters

Linux kernel vulnerability CVE-2026-80876 causes incorrect event length calculation, affecting ftrace selftest on certain architectures.

  • Verify event length calculation on affected architectures
  • Apply patch to prevent incorrect event length calculation

Technical summary

The Linux kernel vulnerability causes incorrect event length calculation when RB_FORCE_8BYTE_ALIGNMENT is true, affecting ftrace selftest on certain architectures. The issue arises from the incorrect subtraction of the event array length in ring_buffer_event_length() for small events on architectures with RB_FORCE_8BYTE_ALIGNMENT=true, leading to a 4-byte discrepancy in reported data length. The patch addresses this by adding RB_FORCE_8BYTE_ALIGNMENT as a condition to subtract the size of the length field whenever RB_FORCE_8BYTE_ALIGNMENT is true.

Defensive priority

Verify and apply patch for Linux kernel on affected architectures

Recommended defensive actions

  • Verify Linux kernel version and apply patch if necessary
  • Review system configurations for affected architectures
  • Verify event length calculation on affected architectures
  • Apply patch to prevent incorrect event length calculation
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The issue is observed in a riscv64 kernel with CONFIG_HAVE_64BIT_ALIGNED_ACCESS set to y, during ftrace selftest trace_marker_raw.tc. The patch fixes the event length calculation for small events on architectures with RB_FORCE_8BYTE_ALIGNMENT=true. This was verified through testing and review of the Linux kernel patch. Defenders should verify event length calculation on affected architectures and apply the patch to prevent incorrect event length calculation.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-80876 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-80876 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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/14057268e79654c3e8ea2c9b5204cb9644b2964d

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

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/24c3fa71f9947b0e1f3b954db1b769b44140192e

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

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3a63a11897c7ba32d1be7a3fdbc48a8b01cf4992

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

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/7c9f0ccf9f04142458d2ac3d39414f4acae242f0

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

  • Source reference

    Unverified legacy reference

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

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

  • Source reference

    Unverified legacy reference

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

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

  • Source reference

    Unverified legacy reference

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

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

  • Source reference

    Unverified legacy reference

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

    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.