# CVE-2026-46178: RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:32.222Z
- Modified: 2026-10-19T20:18:36.877Z
- Weaknesses: CWE-401, CWE-772
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq()

Sashiko points out that mlx4_srq_alloc() was not undone during error
unwind, add the missing call to mlx4_srq_free().

(As written by CVE List.)

## Affected

- Linux Linux: from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before 53fd4c03558672ccb167754fbacbf045c7ab335c; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before 0be6ae614ca7fa53e7389e3c7462ed20abbd4192; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before c5dc30da990045105c9762248d23076223e7878a; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before 0dbd619716fb07b7de1acd64fec673ee6e1adde7; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before e01b8c9286c470b71a38acd320106f2c4f2826a1; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before 388617f44d81604a760742a0b5de292d411e63e3; from 225c7b1feef1b41170f7037a5b10a65cd8a42c54 before c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c; 2.6.22 (not affected: before 2.6.22; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.22 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/53fd4c03558672ccb167754fbacbf045c7ab335c> (patch)
- <https://git.kernel.org/stable/c/0be6ae614ca7fa53e7389e3c7462ed20abbd4192> (patch)
- <https://git.kernel.org/stable/c/5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94> (patch)
- <https://git.kernel.org/stable/c/c5dc30da990045105c9762248d23076223e7878a> (patch)
- <https://git.kernel.org/stable/c/0dbd619716fb07b7de1acd64fec673ee6e1adde7> (patch)
- <https://git.kernel.org/stable/c/e01b8c9286c470b71a38acd320106f2c4f2826a1> (patch)
- <https://git.kernel.org/stable/c/388617f44d81604a760742a0b5de292d411e63e3> (patch)
- <https://git.kernel.org/stable/c/c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-46178 · Whole record: https://cve.day/CVE-2026-46178.json · Rebuilt by cve.day 2026-11-25T22:59:22.842Z
