media: ipu3-imgu: Fix NULL pointer dereference in active selection access (Linux Linux)

CVE-2022-50722
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: media: ipu3-imgu: Fix NULL pointer dereference in active selection access What the IMGU driver did was that it first acquired the pointers to active and try V4L2 subdev state, and only then figured out which one to use. The problem with that approach and a later patch (see Fixes: tag) is that as sd_state argument to v4l2_subdev_get_try_crop() et al is NULL, there is now an attempt to dereference that. Fix this. Also rewrap lines a little.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 < 5265cc1202a31f7097691c3483a0d60d624424a5 ; affected 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 < 740717b756c17190dc2d2ad4c6de1e63f214e0c9 ; affected 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 < b9eb3ab6f30bf32f7326909f17949ccb11bab514
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.76 ≤ 5.15.* ; unaffected 6.0.6 ≤ 6.0.* ; unaffected 6.1 ≤ *

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