CVE-2022-50826 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection() Calling v4l2_subdev_get_try_crop() and v4l2_subdev_get_try_compose() with a subdev state of NULL leads to a NULL pointer dereference. This can currently happen in imgu_subdev_set_selection() when the state passed in is NULL, as this method first gets pointers to both the "try" and "active" states and only then decides which to use. The same issue has been addressed for imgu_subdev_get_selection() with commit 30d03a0de650 ("ipu3-imgu: Fix NULL pointer dereference in active selection access"). However the issue still persists in imgu_subdev_set_selection(). Therefore, apply a similar fix as done in the aforementioned commit to imgu_subdev_set_selection(). To keep things a bit cleaner, introduce helper functions for "crop" and "compose" access and use them in both imgu_subdev_set_selection() and imgu_subdev_get_selection().
A NULL pointer dereference vulnerability has been identified in the Linux kernel's IPU3 Image Processing Unit driver, specifically within the 'imgu_subdev_set_selection()' function. This issue arises when the function is called with a NULL subdevice state, leading to a crash. The vulnerability exists in several Linux kernel versions, including 5.14 and later. The problem occurs because 'imgu_subdev_set_selection()' first retrieves pointers to the 'try' and 'active' states before deciding which one to use. If the state is NULL, it causes a dereference error. Although a similar issue in 'imgu_subdev_get_selection()' has been addressed, the problem in 'imgu_subdev_set_selection()' persists, creating a potential denial-of-service scenario.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The official Linux kernel Git repository can be used to download the patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/5038ee677606106c91564f9c4557d808d14bad70 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/611d617bdb6c5d636a9861ec1c98e813fc8a5556 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dc608edf7d45ba0c2ad14c06eccd66474fec7847 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/fa6bbb4894b9b947063c6ff90018a954c5f9f4b3 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion