CVE-2021-46943
JSON

7.8high

media: staging/intel-ipu3: Fix set_fmt error handling

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: media: staging/intel-ipu3: Fix set_fmt error handling If there in an error during a set_fmt, do not overwrite the previous sizes with the invalid config. Without this patch, v4l2-compliance ends up allocating 4GiB of RAM and causing the following OOPs [ 38.662975] ipu3-imgu 0000:00:05.0: swiotlb buffer is full (sz: 4096 bytes) [ 38.662980] DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:00:05.0 [ 38.663010] general protection fault: 0000 [#1] PREEMPT SMP

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6d5f26f2e045f2377b524516194657c00efbbce8 before a03fb1e8a110658215a4cefc3e2ad53279e496a6, from 6d5f26f2e045f2377b524516194657c00efbbce8 before c6b81b897f6f9445d57f8d47c4e060ec21556137, from 6d5f26f2e045f2377b524516194657c00efbbce8 before 34892ea938387d83ffcfb7775ec55f0f80767916, from 6d5f26f2e045f2377b524516194657c00efbbce8 before 6fb617e37a39db0a3eca4489431359d0bdf3b9bc, from 6d5f26f2e045f2377b524516194657c00efbbce8 before ad91849996f9dd79741a961fd03585a683b08356, 5.2
Not affected: before 5.2, from 5.4.118 up to 5.4.*, from 5.10.36 up to 5.10.*, from 5.11.20 up to 5.11.*, from 5.12.3 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.2.0 before 5.4.118, from 5.5.0 before 5.10.36, from 5.11.0 before 5.11.20, from 5.12.0 before 5.12.3NVD

Classification

CWE-131

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: media: staging/intel-ipu3: Fix set_fmt error handling If there in an error during a set_fmt, do not overwrite the previous sizes with the invalid config. Without this patch, v4l2-compliance ends up allocating 4GiB of RAM and causing the following OOPs [ 38.662975] ipu3-imgu 0000:00:05.0: swiotlb buffer is full (sz: 4096 bytes) [ 38.662980] DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:00:05.0 [ 38.663010] general protection fault: 0000 [#1] PREEMPT SMP

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: medios: staging/intel-ipu3: Corrija el manejo de errores set_fmt Si ocurre un error durante un set_fmt, no sobrescriba los tamaños anteriores con la configuración no válida. Sin este parche, el cumplimiento de v4l2 termina asignando 4 GiB de RAM y provocando los siguientes OOP [38.662975] ipu3-imgu 0000:00:05.0: el búfer swiotlb está lleno (sz: 4096 bytes) [38.662980] DMA: Fuera de SW-IOMMU espacio para 4096 bytes en el dispositivo 0000:00:05.0 [38.663010] falla de protección general: 0000 [#1] PREEMPT SMP

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46943 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-46943 changed 2026-06-17Public domain