PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31494 Linux CVE debrief

A potential mismatch between the memory reserved for statistics and the amount of memory written in the Linux kernel's macb driver can result in an out-of-bounds write. The issue arises from the gem_get_ethtool_stats function, which indiscriminately copies data using the maximum number of queues, leading to a potential out-of-bounds write when the number of active queues is less than the maximum. This vulnerability has been resolved by making sure the copied size only considers the active number of queues. Users of affected Linux kernel versions should apply patches to mitigate this vulnerability.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-07-28
Advisory published
2026-07-14
Advisory updated
2026-07-28

Who should care

Users of Linux kernel versions 4.16.1 to 5.10.253, 5.11 to 5.15.203, 5.16 to 6.1.168, 6.2 to 6.6.131, 6.7 to 6.12.80, 6.13 to 6.18.21, 6.19 to 6.19.11, and 7.0 rc1 to rc7 should apply patches to mitigate this vulnerability. Operators, platform administrators, vulnerability management teams, and security teams should review the vulnerability and apply patches or mitigations as necessary.

Technical summary

The Linux kernel's macb driver is vulnerable to an out-of-bounds write due to a mismatch between the memory reserved for statistics and the amount of memory written. The gem_get_ethtool_stats function copies data using the maximum number of queues, which can lead to an out-of-bounds write when the number of active queues is less than the maximum. This issue has been resolved by making sure the copied size only considers the active number of queues.

Defensive priority

High priority should be given to patching Linux kernel versions 4.16.1 to 5.10.253, 5.11 to 5.15.203, 5.16 to 6.1.168, 6.2 to 6.6.131, 6.7 to 6.12.80, 6.13 to 6.18.21, 6.19 to 6.19.11, and 7.0 rc1 to rc7.

Recommended defensive actions

  • Apply patches from Linux kernel stable branches
  • Inventory Linux kernel versions for potential exposure
  • Monitor for potential out-of-bounds write attempts
  • Consider compensating controls for affected systems
  • Review 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
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record was published on 2026-04-22T14:16:47.293Z and was last modified on 2026-07-14T13:18:43.183Z. The NVD entry is currently Modified. This information is based on the supplied source corpus and has not been independently verified. Defenders should verify the accuracy of this information with official sources.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31494 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-31494 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/240c5302eed83e34e98db18f6795ee5f40814024

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/72d96e4e24bbefdcfbc68bdb9341a05d8f5cb6e5

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

  • Mitigation or vendor reference

    Unverified legacy reference

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

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/95246341945163ad9a250a87ca5bd1c1252777ae

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9596759a84e1dbf2670518d85e969208960041f9

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9738be665544281aa624842812c2fbfed6f88226

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9d74d10e4e26672e139a8bcf8bf95957bf2d160f

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

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.