Kernel memory corruption via oversized composition rectangle
Published Jul 4, 2025 · Updated Aug 5, 2026
Out-of-bounds write in the Linux kernel vivid driver allows local users to corrupt kernel memory through crafted V4L2 ioctls. The driver preserves an oversized compose_cap rectangle when composing is disabled, then uses its stale dimensions in tpg_fill_plane_buffer to copy past the allocated vb2 frame buffer. Access to the vivid /dev/videoN node is required; the deterministic ioctl sequence can disclose or corrupt kernel memory and trigger a kernel panic.
Summary
What happened
Out-of-bounds write in the Linux kernel vivid driver allows local users to corrupt kernel memory through crafted V4L2 ioctls. The driver preserves an oversized compose_cap rectangle when composing is disabled, then uses its stale dimensions in tpg_fill_plane_buffer to copy past the allocated vb2 frame buffer. Access to the vivid /dev/videoN node is required; the deterministic ioctl sequence can disclose or corrupt kernel memory and trigger a kernel panic.
The record
- CVE
- CVE-2025-38226
- Published
- Jul 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 4, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=2f558c5208b0f70c8140e08ce09fcc84da48e789 <5d89aa42534723400fefd46e26e053b9c382b4ee
- Affected versionversion=4.14.303 <4.15
- Affected versionversion=4.19.270 <4.20
- Affected versionversion=4.9.337 <4.10
- Affected versionversion=5.10.163 <5.10.239
- Affected versionversion=5.15.86 <5.15.186
- Affected versionversion=5.4.229 <5.4.296
- Affected versionversion=54f259906039dbfe46c550011409fa16f72370f6 <57597d8db5bbda618ba2145b7e8a7e6f01b6a27e
- Affected versionversion=5edc3604151919da8da0fb092b71d7dce07d848a
- Affected versionversion=6.0.16 <6.1
- Affected versionversion=6.1.2 <6.1.142
- Affected versionversion=6.2
- Affected versionversion=8c0ee15d9a102c732d0745566d254040085d5663
- Affected versionversion=94a7ad9283464b75b12516c5512541d467cefcf8 <00da1c767a6567e56f23dda586847586868ac064
- Affected versionversion=94a7ad9283464b75b12516c5512541d467cefcf8 <c56398885716d97ee9bcadb2bc9663a8c1757a34
- Affected versionversion=94a7ad9283464b75b12516c5512541d467cefcf8 <f6b1b0f8ba0b61d8b511df5649d57235f230c135
- Affected versionversion=94a7ad9283464b75b12516c5512541d467cefcf8 <f83ac8d30c43fd902af7c84c480f216157b60ef0
- Affected versionversion=9c7fba9503b826f0c061d136f8f0c9f953ed18b9
- Affected versionversion=ab54081a2843aefb837812fac5488cc8f1696142 <89b5ab822bf69867c3951dd0eb34b0314c38966b
- Affected versionversion=ccb5392c4fea0e7d9f7ab35567e839d74cb3998b
- Affected versionversion=f9d19f3a044ca651b0be52a4bf951ffe74259b9f <635cea4f44c1ddae208666772c164eab5a6bce39
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