← CVE Intelligence

CVE-2022-50722

media: ipu3-imgu: Fix NULL pointer dereference in active selection access PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 before 5265cc1202a31f7097691c3483a0d60d624424a5; affected 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 before 740717b756c17190dc2d2ad4c6de1e63f214e0c9; affected 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 before b9eb3ab6f30bf32f7326909f17949ccb11bab514
Linux / Linuxaffected 5.14; unaffected 0 before 5.14; unaffected 5.15.76 through 5.15.*; unaffected 6.0.6 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References