# CVE-2026-46178: RDMA/mlx4: Fix resource leak on error in mlx4\_ib\_create\_srq()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-401, CWE-772
- **Published:** 2026-05-28T09:36:32.222Z
- **Modified:** 2026-10-19T20:18:36.877Z

## Who should check

- Anyone running Linux \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 53fd4c03558672ccb167754fbacbf045c7ab335c; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 0be6ae614ca7fa53e7389e3c7462ed20abbd4192; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< c5dc30da990045105c9762248d23076223e7878a; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 0dbd619716fb07b7de1acd64fec673ee6e1adde7; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< e01b8c9286c470b71a38acd320106f2c4f2826a1; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 388617f44d81604a760742a0b5de292d411e63e3; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c
- Anyone running Linux 2.6.22

## 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().

## Affected and fixed versions

- Linux: \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 53fd4c03558672ccb167754fbacbf045c7ab335c; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 0be6ae614ca7fa53e7389e3c7462ed20abbd4192; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< c5dc30da990045105c9762248d23076223e7878a; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 0dbd619716fb07b7de1acd64fec673ee6e1adde7; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< e01b8c9286c470b71a38acd320106f2c4f2826a1; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 388617f44d81604a760742a0b5de292d411e63e3; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c (cvelist)
- Linux: 2.6.22 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46178. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46178.md
Affected: Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, < 53fd4c03558672ccb167754fbacbf045c7ab335c; >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, < 0be6ae614ca7fa53e7389e3c7462ed20abbd4192; >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, < 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94; >= 225c7b1feef1b41170f7037…
Fixed in: Linux 53fd4c03558672ccb167754fbacbf045c7ab335c, Linux 0be6ae614ca7fa53e7389e3c7462ed20abbd4192, Linux 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94, Linux 0dbd619716fb07b7de1acd64fec673ee6e1adde7, Linux 388617f44d81604a760742a0b5de292d411e63e3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46178 being exploited?

There is no confirmed exploitation: CVE-2026-46178 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46178?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46178?

Linux \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 53fd4c03558672ccb167754fbacbf045c7ab335c; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 0be6ae614ca7fa53e7389e3c7462ed20abbd4192; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< c5dc30da990045105c9762248d23076223e7878a; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 0dbd619716fb07b7de1acd64fec673ee6e1adde7; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< e01b8c9286c470b71a38acd320106f2c4f2826a1; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< 388617f44d81604a760742a0b5de292d411e63e3; \>= 225c7b1feef1b41170f7037a5b10a65cd8a42c54, \< c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c; Linux 2.6.22.

### Is there a fix for CVE-2026-46178?

Yes. Fixed in Linux 53fd4c03558672ccb167754fbacbf045c7ab335c, Linux 0be6ae614ca7fa53e7389e3c7462ed20abbd4192, Linux 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94, Linux 0dbd619716fb07b7de1acd64fec673ee6e1adde7, Linux 388617f44d81604a760742a0b5de292d411e63e3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-46178?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46178>

HTML: <https://flawdb.com/CVE-2026-46178> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46178>
