# CVE-2023-52747: IB/hfi1: Restore allocated resources on failed copyout

- 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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:23:07.916Z
- Modified: 2026-06-17T06:43:29.460Z
- 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:

IB/hfi1: Restore allocated resources on failed copyout

Fix a resource leak if an error occurs.

(As written by CVE List.)

## Affected

- Linux Linux: from f404ca4c7ea8e650ba09ba87c71c7a89c865d5be before 00d9e212b8a39e6ffcf31b9d2e503d2bf6009d45; from f404ca4c7ea8e650ba09ba87c71c7a89c865d5be before 7896accedf5bf1277d2f305718e36dc8bac7e321; from f404ca4c7ea8e650ba09ba87c71c7a89c865d5be before 79b595d9591426156a9e0635a5b5115508a36fef; from f404ca4c7ea8e650ba09ba87c71c7a89c865d5be before 9bae58d58b6bb73b572356b31a62d2afc7378d12; from f404ca4c7ea8e650ba09ba87c71c7a89c865d5be before 0a4f811f2e5d07bbd0c9226f4afb0a1270a831ae; from f404ca4c7ea8e650ba09ba87c71c7a89c865d5be before 6601fc0d15ffc20654e39486f9bef35567106d68; 4.15 (not affected: before 4.15; from 4.19.273 up to 4.19.*; from 5.4.232 up to 5.4.*; from 5.10.168 up to 5.10.*; from 5.15.94 up to 5.15.*; from 6.1.12 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 4.15 before 4.19.273; from 4.20 before 5.4.232; from 5.5 before 5.10.168; from 5.11 before 5.15.94; from 5.16 before 6.1.12; 6.2

## References

- <https://git.kernel.org/stable/c/00d9e212b8a39e6ffcf31b9d2e503d2bf6009d45> (patch)
- <https://git.kernel.org/stable/c/7896accedf5bf1277d2f305718e36dc8bac7e321> (patch)
- <https://git.kernel.org/stable/c/79b595d9591426156a9e0635a5b5115508a36fef> (patch)
- <https://git.kernel.org/stable/c/9bae58d58b6bb73b572356b31a62d2afc7378d12> (patch)
- <https://git.kernel.org/stable/c/0a4f811f2e5d07bbd0c9226f4afb0a1270a831ae> (patch)
- <https://git.kernel.org/stable/c/6601fc0d15ffc20654e39486f9bef35567106d68> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-52747 · Whole record: https://cve.day/CVE-2023-52747.json · Rebuilt by cve.day 2026-11-25T22:58:33.999Z
