# CVE-2024-47732: crypto: iaa - Fix potential use after free bug

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/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.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2024-10-21T12:14:03.863Z
- Modified: 2026-08-05T11:39:48.573Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

crypto: iaa - Fix potential use after free bug

The free_device_compression_mode(iaa_device, device_mode) function frees
"device_mode" but it iss passed to iaa_compression_modes[i]->free() a few
lines later resulting in a use after free.

The good news is that, so far as I can tell, nothing implements the
->free() function and the use after free happens in dead code.  But, with
this fix, when something does implement it, we'll be ready.  :)

(As written by CVE List.)

## Affected

- Linux Linux: from b190447e0fa3ef7355480d641d078962e03768b4 before b5d534b473e2c8d3e4560be2dd6c12a8eb9d61e9; from b190447e0fa3ef7355480d641d078962e03768b4 before c66f0be993ba52410edab06124c54ecf143b05c1; from b190447e0fa3ef7355480d641d078962e03768b4 before e0d3b845a1b10b7b5abdad7ecc69d45b2aab3209; 6.8 (not affected: before 6.8; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.8 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b5d534b473e2c8d3e4560be2dd6c12a8eb9d61e9> (patch)
- <https://git.kernel.org/stable/c/c66f0be993ba52410edab06124c54ecf143b05c1> (patch)
- <https://git.kernel.org/stable/c/e0d3b845a1b10b7b5abdad7ecc69d45b2aab3209> (patch)

## Sources

- CVE List: [CVE-2024-47732](https://www.cve.org/CVERecord?id=CVE-2024-47732), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-47732](https://nvd.nist.gov/vuln/detail/CVE-2024-47732), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-47732 · Whole record: https://cve.day/CVE-2024-47732.json · Rebuilt by cve.day 2026-11-25T22:58:46.991Z
