CVE-2026-139787

Not scored yetLast modified Nov 30, 2026

Description

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

nvme-tcp: fix use-after-free in nvme_tcp_free_ctrl()

nvme_tcp_free_ctrl() reads ctrl->ctrl.opts to know how many queue mutexes to destroy. When creating the controller fails, nvmf_create_ctrl() frees opts as soon as nvme_tcp_create_ctrl() returns, but a concurrent open of the character device can hold the last reference to the controller. With CONFIG_DEBUG_KOBJECT_RELEASE, which delays the release, every failed connect reads freed memory:

BUG: KASAN: slab-use-after-free in nvme_tcp_free_ctrl+0x38b/0x430 Read of size 4 at addr ffff888005b93740 by task kworker/2:1/51

Keep the size of the queue array in the controller and use it instead.

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-1397887.0In the Linux kernel, the following vulnerability has been resolved: cipso: stop modifying live ip_options_rcu cipso_v4_delopt() operates oCVE-2026-139789In the Linux kernel, the following vulnerability has been resolved: hugetlbfs: enforce F_SEAL_EXEC in setattr F_SEAL_EXEC is enforced by sCVE-2026-139794.3Inappropriate implementation in Paint in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to perform UI spoofing via a craftedCVE-2026-139790In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jCVE-2026-139791In the Linux kernel, the following vulnerability has been resolved: net: Use a dedicated flag to track disabled napi instances Trying to dCVE-2026-1397927.0In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Prevent O_APPEND open on OSS streams ALSA PCM core accepts CVE-2026-139793In the Linux kernel, the following vulnerability has been resolved: inet: frags: bound the wmem charge of the socket completing a reassemblCVE-2026-139794In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to fetch ino via ino_of_node() under cache lock In f2fs_writCVE-2026-139795In the Linux kernel, the following vulnerability has been resolved: net: mana: Add support to process throttled EQEs When an event queue nCVE-2026-139796In the Linux kernel, the following vulnerability has been resolved: ocfs2/heartbeat: serialize concurrent writes to a region's dev attributCVE-2026-139797In the Linux kernel, the following vulnerability has been resolved: ocfs2/cluster: hold a reference on the heartbeat thread Since commit 6CVE-2026-139798In the Linux kernel, the following vulnerability has been resolved: mm: do not unintentionally overwrite atomic VMA flags Patch series "mm
CVE-2026-139787: Unscored | Vulnix