Local kernel memory corruption via oversized stats copy
Published Apr 22, 2026 · Updated Apr 22, 2026
Out-of-bounds write in the Linux kernel macb driver allows local users to corrupt kernel memory through an ethtool statistics request. gem_get_ethtool_stats copies statistics for MACB_MAX_QUEUES into a buffer sized by gem_get_sset_count for only the active queues. The flaw requires low-privileged local access and a macb device with fewer active queues than MACB_MAX_QUEUES; the overwrite corrupts kernel memory.
Summary
What happened
Out-of-bounds write in the Linux kernel macb driver allows local users to corrupt kernel memory through an ethtool statistics request. gem_get_ethtool_stats copies statistics for MACB_MAX_QUEUES into a buffer sized by gem_get_sset_count for only the active queues. The flaw requires low-privileged local access and a macb device with fewer active queues than MACB_MAX_QUEUES; the overwrite corrupts kernel memory.
The record
- CVE
- CVE-2026-31494
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 22, 2026CVE publishedPublication date reported by the CVE source.
- Apr 22, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.16
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <240c5302eed83e34e98db18f6795ee5f40814024
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <72d96e4e24bbefdcfbc68bdb9341a05d8f5cb6e5
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <7ff87da099210856cbfe2f2f7f52ddfa57af4f0c
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <95246341945163ad9a250a87ca5bd1c1252777ae
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <9596759a84e1dbf2670518d85e969208960041f9
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <9738be665544281aa624842812c2fbfed6f88226
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <9d74d10e4e26672e139a8bcf8bf95957bf2d160f
- Affected versionversion=512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <e182fe273cdf5a8931592228196ef514ffac392b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo