CVE-2022-50826
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection()
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().
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 | affected | git | fa6bbb4894b9b947063c6ff90018a954c5f9f4b3 | Unavailable | None listed |
| 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 | affected | git | 611d617bdb6c5d636a9861ec1c98e813fc8a5556 | Unavailable | None listed |
| 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 | affected | git | 5038ee677606106c91564f9c4557d808d14bad70 | Unavailable | None listed |
| 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9 | affected | git | dc608edf7d45ba0c2ad14c06eccd66474fec7847 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.14 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.14 | Unavailable | None listed |
| 5.15.87 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.0.18 | unaffected | semver | Unavailable | 6.0.* | None listed |
| 6.1.4 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |