CVE-2022-49165

media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers If the application queues an NV12M jpeg as output buffer, but then queues a single planar capture buffer, the kernel will crash with "Unable to handle kernel NULL pointer dereference" in mxc_jpeg_addrs, prevent this by finishing the job with error.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.335.13 ≤ v < 5.16.195.13 ≤ v < 5.17.25.13 ≤ v < 5.185.16 ≤ v < 5.16.195.17 ≤ v < 5.17.22db16c6ed72ce644d5639b3ed15e5817442db4ba5.13
Vendor states this is fixed in 417591a766b3c040c346044541ff949c0b2bb7b2 (fixed)
Vendor states this is fixed in 4eb591c47c82a6a6ad293ed108c3cb77115fbc25 (fixed)
Vendor states this is fixed in 8d075ede7d24f19dc817c5bd517a53f0524f9031 (fixed)
Vendor states this is fixed in eff76b180751e5e55c872d17755680c3b83ba9ab (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/417591a766b3c040c346044541ff949c0b2bb7b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4eb591c47c82a6a6ad293ed108c3cb77115fbc25
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8d075ede7d24f19dc817c5bd517a53f0524f9031
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eff76b180751e5e55c872d17755680c3b83ba9ab

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card