# CVE-2021-47453: ice: Avoid crash from unnecessary IDA free

- 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.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-05-22T06:19:43.374Z
- Modified: 2026-06-17T04:17:30.550Z
- 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:

ice: Avoid crash from unnecessary IDA free

In the remove path, there is an attempt to free the aux_idx IDA whether
it was allocated or not.  This can potentially cause a crash when
unloading the driver on systems that do not initialize support for RDMA.
But, this free cannot be gated by the status bit for RDMA, since it is
allocated if the driver detects support for RDMA at probe time, but the
driver can enter into a state where RDMA is not supported after the IDA
has been allocated at probe time and this would lead to a memory leak.

Initialize aux_idx to an invalid value and check for a valid value when
unloading to determine if an IDA free is necessary.

(As written by CVE List.)

## Affected

- Linux Linux: from d25a0fc41c1f927bb914e72a03c1898052557406 before 777682e59840e24e6c5672197e6ffbcf4bff823b; from d25a0fc41c1f927bb914e72a03c1898052557406 before 73e30a62b19b9fbb4e6a3465c59da186630d5f2e; 5.14 (not affected: before 5.14; from 5.14.15 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 5.14 before 5.14.15; 5.15

## References

- <https://git.kernel.org/stable/c/777682e59840e24e6c5672197e6ffbcf4bff823b> (patch)
- <https://git.kernel.org/stable/c/73e30a62b19b9fbb4e6a3465c59da186630d5f2e> (patch)

## Sources

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

---

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