[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122417-CVE-2022-50722-06c7@gregkh>
Date: Wed, 24 Dec 2025 13:26:21 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50722: media: ipu3-imgu: Fix NULL pointer dereference in active selection access
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2022-50722 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 and fixed in 5.15.76 with commit 5265cc1202a31f7097691c3483a0d60d624424a5
Issue introduced in 5.14 with commit 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 and fixed in 6.0.6 with commit 740717b756c17190dc2d2ad4c6de1e63f214e0c9
Issue introduced in 5.14 with commit 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 and fixed in 6.1 with commit b9eb3ab6f30bf32f7326909f17949ccb11bab514
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50722
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/staging/media/ipu3/ipu3-v4l2.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/5265cc1202a31f7097691c3483a0d60d624424a5
https://git.kernel.org/stable/c/740717b756c17190dc2d2ad4c6de1e63f214e0c9
https://git.kernel.org/stable/c/b9eb3ab6f30bf32f7326909f17949ccb11bab514
Powered by blists - more mailing lists