CVE-2026-43282: RDMA/ionic: Fix potential NULL pointer dereference in ionic_query_port
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
RDMA/ionic: Fix potential NULL pointer dereference in ionic_query_port
The function ionic_query_port() calls ib_device_get_netdev() without checking the return value which could lead to NULL pointer dereference, Fix it by checking the return value and return -ENODEV if the 'ndev' is NULL.
The Linux kernel CVE team has assigned CVE-2026-43282 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit 2075bbe8ef03914aa2211035eec45d1d3a5c4ff2 and fixed in 6.18.16 with commit 2b96156c927cd83c109e2e3946e6111dce73231f Issue introduced in 6.18 with commit 2075bbe8ef03914aa2211035eec45d1d3a5c4ff2 and fixed in 6.19.6 with commit 81932a46dfd0db10a03f46f0b1c7ef946ac4552f Issue introduced in 6.18 with commit 2075bbe8ef03914aa2211035eec45d1d3a5c4ff2 and fixed in 7.0 with commit fd80bd7105f88189f47d465ca8cb7d115570de30
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-43282
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/ionic/ionic_ibdev.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/2b96156c927cd83c109e2e3946e6111dce73231f https://git.kernel.org/stable/c/81932a46dfd0db10a03f46f0b1c7ef946ac4552f https://git.kernel.org/stable/c/fd80bd7105f88189f47d465ca8cb7d115570de30