{"id":"CVE-2021-46943","aliases":["CVE-2021-46943"],"related":[],"kind":"vulnerability","state":"published","title":"media: staging/intel-ipu3: Fix set_fmt error handling","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: staging/intel-ipu3: Fix set_fmt error handling\n\nIf there in an error during a set_fmt, do not overwrite the previous\nsizes with the invalid config.\n\nWithout this patch, v4l2-compliance ends up allocating 4GiB of RAM and\ncausing the following OOPs\n\n[   38.662975] ipu3-imgu 0000:00:05.0: swiotlb buffer is full (sz: 4096 bytes)\n[   38.662980] DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:00:05.0\n[   38.663010] general protection fault: 0000 [#1] PREEMPT SMP","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: staging/intel-ipu3: Fix set_fmt error handling\n\nIf there in an error during a set_fmt, do not overwrite the previous\nsizes with the invalid config.\n\nWithout this patch, v4l2-compliance ends up allocating 4GiB of RAM and\ncausing the following OOPs\n\n[   38.662975] ipu3-imgu 0000:00:05.0: swiotlb buffer is full (sz: 4096 bytes)\n[   38.662980] DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:00:05.0\n[   38.663010] general protection fault: 0000 [#1] PREEMPT SMP","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2024-02-27T18:40:29.903Z","modified":"2026-06-17T04:15:56.080Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-131"],"affected":[{"ranges":[{"type":"git","introduced":"6d5f26f2e045f2377b524516194657c00efbbce8","fixed":"a03fb1e8a110658215a4cefc3e2ad53279e496a6","status":"affected"},{"type":"git","introduced":"6d5f26f2e045f2377b524516194657c00efbbce8","fixed":"c6b81b897f6f9445d57f8d47c4e060ec21556137","status":"affected"},{"type":"git","introduced":"6d5f26f2e045f2377b524516194657c00efbbce8","fixed":"34892ea938387d83ffcfb7775ec55f0f80767916","status":"affected"},{"type":"git","introduced":"6d5f26f2e045f2377b524516194657c00efbbce8","fixed":"6fb617e37a39db0a3eca4489431359d0bdf3b9bc","status":"affected"},{"type":"git","introduced":"6d5f26f2e045f2377b524516194657c00efbbce8","fixed":"ad91849996f9dd79741a961fd03585a683b08356","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.118","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.36","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.20","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.3","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.2.0","fixed":"5.4.118"},{"status":"affected","introduced":"5.5.0","fixed":"5.10.36"},{"status":"affected","introduced":"5.11.0","fixed":"5.11.20"},{"status":"affected","introduced":"5.12.0","fixed":"5.12.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a03fb1e8a110658215a4cefc3e2ad53279e496a6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6b81b897f6f9445d57f8d47c4e060ec21556137","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34892ea938387d83ffcfb7775ec55f0f80767916","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fb617e37a39db0a3eca4489431359d0bdf3b9bc","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad91849996f9dd79741a961fd03585a683b08356","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-27T19:34:55.283Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46943","url":"https://www.cve.org/CVERecord?id=CVE-2021-46943","licence":"CVE Terms of Use","modified":"2026-05-11T13:44:54.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46943","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46943","licence":"Public domain","modified":"2026-06-17T04:15:56.080Z"}],"updatedAt":"2026-11-25T22:58:08.579Z","epss":{"score":0.00234,"percentile":0.15338,"date":"2026-12-01T12:00:22.000Z"}}