CVE-2022-50826
Last modified
CVE-2022-50826 is a vulnerability of currently unknown severity. 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"). EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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().
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9, < fa6bbb4894b9b947063c6ff90018a954c5f9f4b3; >= 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9, < 611d617bdb6c5d636a9861ec1c98e813fc8a5556; >= 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9, < 5038ee677606106c91564f9c4557d808d14bad70; >= 0d346d2a6f54f06f36b224fd27cd6eafe8c83be9, < dc608edf7d45ba0c2ad14c06eccd66474fec7847 |
| Linux | Linux | 5.14 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50826?
How severe is CVE-2022-50826?
How do I fix CVE-2022-50826?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50820In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50821In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50822In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50823In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50824In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50825In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50827In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50828In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50829In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50830In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50831Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-50832In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50826?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
