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

CVE-2022-49165
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2db16c6ed72ce644d5639b3ed15e5817442db4ba < eff76b180751e5e55c872d17755680c3b83ba9ab ; affected 2db16c6ed72ce644d5639b3ed15e5817442db4ba < 8d075ede7d24f19dc817c5bd517a53f0524f9031 ; affected 2db16c6ed72ce644d5639b3ed15e5817442db4ba < 4eb591c47c82a6a6ad293ed108c3cb77115fbc25 ; affected 2db16c6ed72ce644d5639b3ed15e5817442db4ba < 417591a766b3c040c346044541ff949c0b2bb7b2
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.33 ≤ 5.15.* ; unaffected 5.16.19 ≤ 5.16.* ; unaffected 5.17.2 ≤ 5.17.* ; unaffected 5.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD