CVE-2022-48945
media: vivid: fix compose size exceed boundary
Description
In the Linux kernel, the following vulnerability has been resolved: media: vivid: fix compose size exceed boundary syzkaller found a bug: BUG: unable to handle page fault for address: ffffc9000a3b1000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 100000067 P4D 100000067 PUD 10015f067 PMD 1121ca067 PTE 0 Oops: 0002 [#1] PREEMPT SMP CPU: 0 PID: 23489 Comm: vivid-000-vid-c Not tainted 6.1.0-rc1+ #512 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:memcpy_erms+0x6/0x10 [...] Call Trace: <TASK> ? tpg_fill_plane_buffer+0x856/0x15b0 vivid_fillbuff+0x8ac/0x1110 vivid_thread_vid_cap_tick+0x361/0xc90 vivid_thread_vid_cap+0x21a/0x3a0 kthread+0x143/0x180 ret_from_fork+0x1f/0x30 </TASK> This is because we forget to check boundary after adjust compose->height int V4L2_SEL_TGT_CROP case. Add v4l2_rect_map_inside() to fix this problem for this case.
INFO
Published Date :
Sept. 23, 2024, 10:15 a.m.
Last Modified :
Oct. 8, 2025, 5:09 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected packages to resolve this vulnerability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48945.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48945 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48945
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48945 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48945 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 08, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.303 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.270 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.229 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.0.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 up to (excluding) 6.1.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.163 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.18 up to (excluding) 4.9.337 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.86 Added Reference Type kernel.org: https://git.kernel.org/stable/c/2f558c5208b0f70c8140e08ce09fcc84da48e789 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/54f259906039dbfe46c550011409fa16f72370f6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5edc3604151919da8da0fb092b71d7dce07d848a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8c0ee15d9a102c732d0745566d254040085d5663 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/94a7ad9283464b75b12516c5512541d467cefcf8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9c7fba9503b826f0c061d136f8f0c9f953ed18b9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ab54081a2843aefb837812fac5488cc8f1696142 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ccb5392c4fea0e7d9f7ab35567e839d74cb3998b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f9d19f3a044ca651b0be52a4bf951ffe74259b9f Types: Patch -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 23, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: media: vivid: fix compose size exceed boundary syzkaller found a bug: BUG: unable to handle page fault for address: ffffc9000a3b1000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 100000067 P4D 100000067 PUD 10015f067 PMD 1121ca067 PTE 0 Oops: 0002 [#1] PREEMPT SMP CPU: 0 PID: 23489 Comm: vivid-000-vid-c Not tainted 6.1.0-rc1+ #512 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:memcpy_erms+0x6/0x10 [...] Call Trace: <TASK> ? tpg_fill_plane_buffer+0x856/0x15b0 vivid_fillbuff+0x8ac/0x1110 vivid_thread_vid_cap_tick+0x361/0xc90 vivid_thread_vid_cap+0x21a/0x3a0 kthread+0x143/0x180 ret_from_fork+0x1f/0x30 </TASK> This is because we forget to check boundary after adjust compose->height int V4L2_SEL_TGT_CROP case. Add v4l2_rect_map_inside() to fix this problem for this case. Added Reference kernel.org https://git.kernel.org/stable/c/8c0ee15d9a102c732d0745566d254040085d5663 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5edc3604151919da8da0fb092b71d7dce07d848a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9c7fba9503b826f0c061d136f8f0c9f953ed18b9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/54f259906039dbfe46c550011409fa16f72370f6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f9d19f3a044ca651b0be52a4bf951ffe74259b9f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ab54081a2843aefb837812fac5488cc8f1696142 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ccb5392c4fea0e7d9f7ab35567e839d74cb3998b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2f558c5208b0f70c8140e08ce09fcc84da48e789 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/94a7ad9283464b75b12516c5512541d467cefcf8 [No types assigned]