---
id: CVE-2026-46178
title: 'RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq()'
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    53fd4c03558672ccb167754fbacbf045c7ab335c
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    0be6ae614ca7fa53e7389e3c7462ed20abbd4192
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    c5dc30da990045105c9762248d23076223e7878a
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    0dbd619716fb07b7de1acd64fec673ee6e1adde7
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    e01b8c9286c470b71a38acd320106f2c4f2826a1
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    388617f44d81604a760742a0b5de292d411e63e3
  - >-
    Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 <
    c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c
  - Linux 2.6.22
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T15:20:49.101284Z'
published: '2026-05-28'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:31:06.766Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-46178'
references:
  - url: 'https://git.kernel.org/stable/c/53fd4c03558672ccb167754fbacbf045c7ab335c'
  - url: 'https://git.kernel.org/stable/c/0be6ae614ca7fa53e7389e3c7462ed20abbd4192'
  - url: 'https://git.kernel.org/stable/c/5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94'
  - url: 'https://git.kernel.org/stable/c/c5dc30da990045105c9762248d23076223e7878a'
  - url: 'https://git.kernel.org/stable/c/0dbd619716fb07b7de1acd64fec673ee6e1adde7'
  - url: 'https://git.kernel.org/stable/c/e01b8c9286c470b71a38acd320106f2c4f2826a1'
  - url: 'https://git.kernel.org/stable/c/388617f44d81604a760742a0b5de292d411e63e3'
  - url: 'https://git.kernel.org/stable/c/c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c'
tags:
  - cve.org
epss: 0.00176
epssPercentile: 0.06633
ingestedAt: '2026-10-16T17:24:46.710Z'
---

## Overview

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

- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < 53fd4c03558672ccb167754fbacbf045c7ab335c`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < 0be6ae614ca7fa53e7389e3c7462ed20abbd4192`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < 5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < c5dc30da990045105c9762248d23076223e7878a`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < 0dbd619716fb07b7de1acd64fec673ee6e1adde7`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < e01b8c9286c470b71a38acd320106f2c4f2826a1`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < 388617f44d81604a760742a0b5de292d411e63e3`
- `Linux >= 225c7b1feef1b41170f7037a5b10a65cd8a42c54 < c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c`
- `Linux 2.6.22`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
