Kernel crash via unchecked JPEG table allocation
Published Oct 7, 2025 · Updated Oct 7, 2025
NULL-pointer dereference in the Coda video codec driver in Linux allows local users to crash the kernel during JPEG encoding. In the Coda encode path, two 64-byte kmalloc results for JPEG quantization tables pass to coda_set_jpeg_compression_quality without NULL checks. Triggering the flaw requires local low-privileged access, a Coda-capable video device, JPEG encoding, and an allocation failure; the resulting kernel fault interrupts the host.
Summary
What happened
NULL-pointer dereference in the Coda video codec driver in Linux allows local users to crash the kernel during JPEG encoding. In the Coda encode path, two 64-byte kmalloc results for JPEG quantization tables pass to coda_set_jpeg_compression_quality without NULL checks. Triggering the flaw requires local low-privileged access, a Coda-capable video device, JPEG encoding, and an allocation failure; the resulting kernel fault interrupts the host.
The record
- CVE
- CVE-2022-50509
- Published
- Oct 7, 2025
- Updated
- Oct 7, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 7, 2025CVE publishedPublication date reported by the CVE source.
- Oct 7, 2025Record 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=3.19
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <0209e70ad496c1fcd85c2ec70e6736fd09f95d14
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <11e32126b3e56c3156fb610d793732acd2bdac4f
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <441c05485cf1a29eef05c1fd8281716815283315
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <6e5e5defdb8b0186312c2f855ace175aee6daf9b
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <7a2c66429b04e85fee44d6d9f455327bf23cf49c
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <aa17a252dbde432095e390e2092205d4debb12e1
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <ba9cc9e2035f7a45f5222543265daf7cd51f2530
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <d308c4a035b636756786af91e5f39f9d92d7d42a
- Affected versionversion=cb1d3a336371e35c3920cc50a701c5403c255644 <d9b37ea8869e4e6da90c07a310d819a78cbd23d2
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