media: staging/intel-ipu3: Fix set_fmt error handling (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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
Weaknesses (CWE)
- CWE-131 — Incorrect Calculation of Buffer Size
References
- https://git.kernel.org/stable/c/a03fb1e8a110658215a4cefc3e2ad53279e496a6
- https://git.kernel.org/stable/c/c6b81b897f6f9445d57f8d47c4e060ec21556137
- https://git.kernel.org/stable/c/34892ea938387d83ffcfb7775ec55f0f80767916
- https://git.kernel.org/stable/c/6fb617e37a39db0a3eca4489431359d0bdf3b9bc
- https://git.kernel.org/stable/c/ad91849996f9dd79741a961fd03585a683b08356
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-33591
- GCVE · GCVE-0-2021-46943
CERT-FR advisories
- CERTFR-2024-AVI-0363 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.2.0 < 5.4.118cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5.0 < 5.10.36cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11.0 < 5.11.20cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.12.0 < 5.12.3
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 6d5f26f2e045f2377b524516194657c00efbbce8 < a03fb1e8a110658215a4cefc3e2ad53279e496a6 ; affected 6d5f26f2e045f2377b524516194657c00efbbce8 < c6b81b897f6f9445d57f8d47c4e060ec21556137 ; affected 6d5f26f2e045f2377b524516194657c00efbbce8 < 34892ea938387d83ffcfb7775ec55f0f80767916 ; affected 6d5f26f2e045f2377b524516194657c00efbbce8 < 6fb617e37a39db0a3eca4489431359d0bdf3b9bc ; affected 6d5f26f2e045f2377b524516194657c00efbbce8 < ad91849996f9dd79741a961fd03585a683b08356 |
| Linux · Linux | affected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.4.118 ≤ 5.4.* ; unaffected 5.10.36 ≤ 5.10.* ; unaffected 5.11.20 ≤ 5.11.* ; unaffected 5.12.3 ≤ 5.12.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |