# CVE-2021-46944: media: staging/intel-ipu3: Fix memory leak in imu_fmt

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-02-27T18:40:30.494Z
- Modified: 2026-06-17T04:15:56.273Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: staging/intel-ipu3: Fix memory leak in imu_fmt

We are losing the reference to an allocated memory if try. Change the
order of the check to avoid that.

(As written by CVE List.)

## Affected

- Linux Linux: from 6d5f26f2e045f2377b524516194657c00efbbce8 before ff792ae52005c85a2d829c153e08d99a356e007d; from 6d5f26f2e045f2377b524516194657c00efbbce8 before 517f6f570566a863c2422b843c8b7d099474f6a9; from 6d5f26f2e045f2377b524516194657c00efbbce8 before 14d0e99c3ef6b0648535a31bf2eaabb4eff97b9e; from 6d5f26f2e045f2377b524516194657c00efbbce8 before 74ba0adb5e983503b18a96121d965cad34ac7ce3; from 6d5f26f2e045f2377b524516194657c00efbbce8 before 3630901933afba1d16c462b04d569b7576339223; 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 *)
- linux linux_kernel: from 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.3

## References

- <https://git.kernel.org/stable/c/ff792ae52005c85a2d829c153e08d99a356e007d> (patch)
- <https://git.kernel.org/stable/c/517f6f570566a863c2422b843c8b7d099474f6a9> (patch)
- <https://git.kernel.org/stable/c/14d0e99c3ef6b0648535a31bf2eaabb4eff97b9e> (patch)
- <https://git.kernel.org/stable/c/74ba0adb5e983503b18a96121d965cad34ac7ce3> (patch)
- <https://git.kernel.org/stable/c/3630901933afba1d16c462b04d569b7576339223> (patch)

## Sources

- CVE List: [CVE-2021-46944](https://www.cve.org/CVERecord?id=CVE-2021-46944), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46944](https://nvd.nist.gov/vuln/detail/CVE-2021-46944), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46944 · Whole record: https://cve.day/CVE-2021-46944.json · Rebuilt by cve.day 2026-11-25T22:58:08.580Z
