CVE-2021-46943

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

State
Published
Severity
Not scored
Published
Feb 27, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6d5f26f2e045f2377b524516194657c00efbbce8 to before a03fb1e8a110658215a4cefc3e2ad53279e496a6Affected
  • 6d5f26f2e045f2377b524516194657c00efbbce8 to before c6b81b897f6f9445d57f8d47c4e060ec21556137Affected
  • 6d5f26f2e045f2377b524516194657c00efbbce8 to before 34892ea938387d83ffcfb7775ec55f0f80767916Affected
  • 6d5f26f2e045f2377b524516194657c00efbbce8 to before 6fb617e37a39db0a3eca4489431359d0bdf3b9bcAffected
  • 6d5f26f2e045f2377b524516194657c00efbbce8 to before ad91849996f9dd79741a961fd03585a683b08356Affected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 5.4.118 through 5.4.*Not affected
  • 5.10.36 through 5.10.*Not affected
  • 5.11.20 through 5.11.*Not affected
  • 5.12.3 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.