CVE-2022-48945: Vulnerability in Linux Linux
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.
AI Analysis
Technical Summary
CVE-2022-48945 is a vulnerability identified in the Linux kernel's media subsystem, specifically within the 'vivid' virtual video driver. The issue arises from improper boundary checking after adjusting the compose->height parameter in the V4L2_SEL_TGT_CROP case. The vulnerability was discovered through syzkaller, a kernel fuzzing tool, which triggered a kernel page fault due to a supervisor write access violation in kernel mode. The root cause is the failure to verify that the composed video frame size does not exceed allocated buffer boundaries, leading to a potential out-of-bounds memory write during a memcpy operation. This can cause a kernel oops or crash, as indicated by the detailed call trace involving vivid_fillbuff and vivid_thread_vid_cap functions. The fix involved adding a boundary check using v4l2_rect_map_inside() to ensure the compose rectangle stays within valid limits. This vulnerability affects specific Linux kernel versions identified by the commit hash ef834f7836ec0502f49f20bbc42f1240577a9c83 and was publicly disclosed on September 23, 2024. No known exploits are currently reported in the wild, and no CVSS score has been assigned yet.
Potential Impact
For European organizations, this vulnerability poses a risk primarily to systems running affected Linux kernel versions with the vivid driver enabled, which is often used for virtual video devices in testing or development environments. Exploitation could lead to denial of service (DoS) via kernel crashes, impacting system availability. In environments where kernel stability is critical, such as telecommunications infrastructure, cloud service providers, or industrial control systems running Linux, this could disrupt operations. Although the vulnerability does not directly indicate privilege escalation or arbitrary code execution, kernel crashes can be leveraged as part of more complex attack chains. Organizations relying on Linux-based servers, embedded devices, or virtualized environments should be aware of this risk. The impact on confidentiality and integrity is limited unless combined with other vulnerabilities. However, the availability impact could be significant in high-availability or real-time systems.
Mitigation Recommendations
To mitigate this vulnerability, European organizations should: 1) Identify and inventory Linux systems running kernel versions containing the affected commit hash or versions prior to the patch. 2) Apply the official Linux kernel patch that adds boundary checking via v4l2_rect_map_inside() as soon as it is available from trusted sources or update to a fixed kernel release. 3) Disable or unload the vivid driver if it is not required, reducing the attack surface. 4) Implement kernel crash monitoring and alerting to detect potential exploitation attempts early. 5) For virtualized environments, ensure that guest kernels are updated and that host systems are protected against guest-induced kernel faults. 6) Conduct thorough testing of media-related subsystems after patching to avoid regressions. 7) Maintain strict access controls to prevent unprivileged users from triggering video device operations that could exploit this vulnerability.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Italy, Spain, Poland, Belgium
CVE-2022-48945: Vulnerability in Linux Linux
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.
AI-Powered Analysis
Technical Analysis
CVE-2022-48945 is a vulnerability identified in the Linux kernel's media subsystem, specifically within the 'vivid' virtual video driver. The issue arises from improper boundary checking after adjusting the compose->height parameter in the V4L2_SEL_TGT_CROP case. The vulnerability was discovered through syzkaller, a kernel fuzzing tool, which triggered a kernel page fault due to a supervisor write access violation in kernel mode. The root cause is the failure to verify that the composed video frame size does not exceed allocated buffer boundaries, leading to a potential out-of-bounds memory write during a memcpy operation. This can cause a kernel oops or crash, as indicated by the detailed call trace involving vivid_fillbuff and vivid_thread_vid_cap functions. The fix involved adding a boundary check using v4l2_rect_map_inside() to ensure the compose rectangle stays within valid limits. This vulnerability affects specific Linux kernel versions identified by the commit hash ef834f7836ec0502f49f20bbc42f1240577a9c83 and was publicly disclosed on September 23, 2024. No known exploits are currently reported in the wild, and no CVSS score has been assigned yet.
Potential Impact
For European organizations, this vulnerability poses a risk primarily to systems running affected Linux kernel versions with the vivid driver enabled, which is often used for virtual video devices in testing or development environments. Exploitation could lead to denial of service (DoS) via kernel crashes, impacting system availability. In environments where kernel stability is critical, such as telecommunications infrastructure, cloud service providers, or industrial control systems running Linux, this could disrupt operations. Although the vulnerability does not directly indicate privilege escalation or arbitrary code execution, kernel crashes can be leveraged as part of more complex attack chains. Organizations relying on Linux-based servers, embedded devices, or virtualized environments should be aware of this risk. The impact on confidentiality and integrity is limited unless combined with other vulnerabilities. However, the availability impact could be significant in high-availability or real-time systems.
Mitigation Recommendations
To mitigate this vulnerability, European organizations should: 1) Identify and inventory Linux systems running kernel versions containing the affected commit hash or versions prior to the patch. 2) Apply the official Linux kernel patch that adds boundary checking via v4l2_rect_map_inside() as soon as it is available from trusted sources or update to a fixed kernel release. 3) Disable or unload the vivid driver if it is not required, reducing the attack surface. 4) Implement kernel crash monitoring and alerting to detect potential exploitation attempts early. 5) For virtualized environments, ensure that guest kernels are updated and that host systems are protected against guest-induced kernel faults. 6) Conduct thorough testing of media-related subsystems after patching to avoid regressions. 7) Maintain strict access controls to prevent unprivileged users from triggering video device operations that could exploit this vulnerability.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Linux
- Date Reserved
- 2024-08-22T01:27:53.624Z
- Cisa Enriched
- true
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 682d982fc4522896dcbe66bc
Added to database: 5/21/2025, 9:09:03 AM
Last enriched: 6/30/2025, 11:57:56 PM
Last updated: 8/15/2025, 6:51:36 AM
Views: 16
Related Threats
CVE-2025-53948: CWE-415 Double Free in Santesoft Sante PACS Server
HighCVE-2025-52584: CWE-122 Heap-based Buffer Overflow in Ashlar-Vellum Cobalt
HighCVE-2025-46269: CWE-122 Heap-based Buffer Overflow in Ashlar-Vellum Cobalt
HighCVE-2025-54862: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Santesoft Sante PACS Server
MediumCVE-2025-54759: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Santesoft Sante PACS Server
MediumActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.