CVE-2026-23289: IB/mthca: Add missed mthca_unmap_user_db() for mthca_create_srq()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
IB/mthca: Add missed mthca_unmap_user_db() for mthca_create_srq()
Fix a user triggerable leak on the system call failure path.
The Linux kernel CVE team has assigned CVE-2026-23289 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.14 with commit ec34a922d243c3401a694450734e9effb2bafbfe and fixed in 6.1.167 with commit f67f1ad4029e9fa183141546de31987b254c9292 Issue introduced in 2.6.14 with commit ec34a922d243c3401a694450734e9effb2bafbfe and fixed in 6.6.130 with commit d0148965dbca8cc8efa7e3d6e99940487bf661c0 Issue introduced in 2.6.14 with commit ec34a922d243c3401a694450734e9effb2bafbfe and fixed in 6.12.77 with commit da8eaa73bc37d004350ba68eb18b6ade8e49db52 Issue introduced in 2.6.14 with commit ec34a922d243c3401a694450734e9effb2bafbfe and fixed in 6.18.17 with commit deee46b37ebd8cc5ff810127883fca90f2412a7b Issue introduced in 2.6.14 with commit ec34a922d243c3401a694450734e9effb2bafbfe and fixed in 6.19.7 with commit 972b72d7e2d8fe1400f1c7a8304c282c539b7e02 Issue introduced in 2.6.14 with commit ec34a922d243c3401a694450734e9effb2bafbfe and fixed in 7.0-rc2 with commit 117942ca43e2e3c3d121faae530989931b7f67e1
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23289
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/infiniband/hw/mthca/mthca_provider.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f67f1ad4029e9fa183141546de31987b254c9292 https://git.kernel.org/stable/c/d0148965dbca8cc8efa7e3d6e99940487bf661c0 https://git.kernel.org/stable/c/da8eaa73bc37d004350ba68eb18b6ade8e49db52 https://git.kernel.org/stable/c/deee46b37ebd8cc5ff810127883fca90f2412a7b https://git.kernel.org/stable/c/972b72d7e2d8fe1400f1c7a8304c282c539b7e02 https://git.kernel.org/stable/c/117942ca43e2e3c3d121faae530989931b7f67e1