CVE-2026-139665

Not scored yetLast modified Nov 30, 2026

Description

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

RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()

ib_add_sub_device() links a new sub-device into its parent's sub-device list with:

list_add_tail(&parent->subdev_list_head, &sub->subdev_list);

list_add_tail(new, head) expects the node to insert as the first argument and the list head as the second, so the call above does the opposite of what was intended: it treats the parent's list head as the new node and the sub-device's node as the list head.

Because _ib_alloc_device() initialises subdev_list to a self-referencing empty head, the misplaced insertion does not crash, but it corrupts the parent->subdev_list_head list. After adding two or more sub-devices, only the last one is reachable through the parent's head, and ib_del_sub_device_and_put()'s list_del() on &sub->subdev_list rewrites the head pointers, potentially severing earlier sub-devices from the chain. During parent teardown, the reverse iteration over subdev_list_head then skips the orphaned sub-devices, so their del_sub_dev() callbacks are never invoked and ib_device_put() on the parent is never paired, leaking both the HW sub-devices and a refcount.

Swap the arguments to match the documented intent: insert the sub-device node into the parent's list head.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139666In the Linux kernel, the following vulnerability has been resolved: interconnect: exynos: Remove the PM QoS request on unbind The Exynos iCVE-2026-139667In the Linux kernel, the following vulnerability has been resolved: crypto: atmel-sha - reject initialization without a device A transformCVE-2026-139668In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix active_devs leak on crypto alg registration failure CVE-2026-139669In the Linux kernel, the following vulnerability has been resolved: cxl/region: Unregister the pmem region when the bridge is unbound RemoCVE-2026-139678.8Heap buffer overflow in V8 in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbox via CVE-2026-139670In the Linux kernel, the following vulnerability has been resolved: cxl/port: Fix uninitialized coordinates reported for RCDs cxl_endpointCVE-2026-139671In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: do not warn when a sync request is rejected amdxdna_drmCVE-2026-139672In the Linux kernel, the following vulnerability has been resolved: media: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link() deCVE-2026-139673In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/atom: bound the VBIOS date, part number, version and build gCVE-2026-139674In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: bound SCLK FCW range entries to the table size atomctrl_geCVE-2026-139675In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: reserve eviction-fence slot at WPTR caller Root cause analCVE-2026-139676In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering Call free_i
CVE-2026-139665: Unscored | Vulnix