Skip to content
FlawDB
Sign in

CVE-2026-142939

UNSCORED

nvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl()

AI summary AI generated

A race in the Linux kernel NVMe-FC target driver lets a subsystem unlink cause a recursive lock and hang the configfs removal, a denial of service.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 8fd604d4b0d7e6cef59b7fa8f43d07314e522097, < e813b4a80292ea70aebdcb0b1b4f30b68bc0b266; >= b8338116689a5b541738a8bb89457e0c6c4d497e, < 1d8ff6495673462f58b4b0352620fc6db89bd10f; >= ccd49adde0547bd6b6c857909d1c4a3ad6ab93c0, < 0b373291c7b56a2807c9260da163649728ccfb65; >= 4049dc96b8de7aeb3addcea039446e464726a525, < b5bfeef31d29972178726ad04721f75731a3284f; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 01b4359d57b76c23c0762f8231e1676ed9f87f7b; >= 4049dc96b8de7aeb3addcea039446e464726a525, < c2cc01c130494e39e61775817d8053b31e471cb7; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 165301b5e2fd765fa05ea1044bbca8ba79820197; 71803b10926e32738ede382b6ef4da345d35a2ab; >= 5.15.150, < 5.15.226; >= 6.1.80, < 6.1.193; …
  • Anyone running Linux 6.8

Vulnerability facts

Affected
Linux >= 8fd604d4b0d7e6cef59b7fa8f43d07314e522097, < e813b4a80292ea70aebdcb0b1b4f30b68bc0b266; >= b8338116689a5b541738a8bb89457e0c6c4d497e, < 1d8ff6495673462f58b4b0352620fc6db89bd10f; >= ccd49adde0547bd6b6c857909d1c4a3ad6ab93c0, < 0b373291c7b56a2807c9260da163649728ccfb65; >= 4049dc96b8de7aeb3addcea039446e464726a525, < b5bfeef31d29972178726ad04721f75731a3284f; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 01b4359d57b76c23c0762f8231e1676ed9f87f7b; >= 4049dc96b8de7aeb3addcea039446e464726a525, < c2cc01c130494e39e61775817d8053b31e471cb7; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 165301b5e2fd765fa05ea1044bbca8ba79820197; 71803b10926e32738ede382b6ef4da345d35a2ab; >= 5.15.150, < 5.15.226; >= 6.1.80, < 6.1.193; …; Linux 6.8
Fixed in
Linux 1d8ff6495673462f58b4b0352620fc6db89bd10f, Linux 0b373291c7b56a2807c9260da163649728ccfb65, Linux 01b4359d57b76c23c0762f8231e1676ed9f87f7b, Linux 165301b5e2fd765fa05ea1044bbca8ba79820197, Linux 5.15.226, Linux 6.1.193
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl() syzbot hit a recursive locking report on subsys->lock when a subsystem is unlinked from an FC port. nvmet_port_del_ctrls() holds subsys->lock while it calls ->delete_ctrl() for each controller. nvmet_fc_delete_ctrl() grabs a reference on the association, queues del_work and then drops the reference. If del_work gets to run to completion before that put, ours is the last reference. Freeing the assoc tears down the queues, the last nvmet_cq_put() drops the last ctrl reference, and nvmet_ctrl_free() goes for subsys->lock again: WARNING: possible recursive locking detected ... nvmet_ctrl_free+0xa6/0x8e0 drivers/nvme/target/core.c:1766 nvmet_cq_put+0x158/0x200 drivers/nvme/target/core.c:848 nvmet_fc_target_assoc_free+0x418/0x2220 drivers/nvme/target/fc.c:1173 nvmet_fc_delete_ctrl+0x717/0x7e0 drivers/nvme/target/fc.c:1581 nvmet_port_del_ctrls+0xfb/0x150 drivers/nvme/target/core.c:311 nvmet_port_subsys_drop_link+0x1e8/0x310 drivers/nvme/target/configfs.c:1119 It's a real hang, not only a lockdep warning. I reproduced it with fcloop by putting an msleep() before the put: rm on the configfs link gets stuck in D state for good. I don't think we need that reference at all. del_work does list_del_rcu() and synchronize_rcu() before it drops the initial reference, so an assoc we find on assoc_list can't go away before rcu_read_unlock(). nvmet_fc_schedule_delete_assoc() doesn't sleep, so just call it inside the RCU section and get rid of the get/put. If the assoc is already being deleted, terminating is set and the call is a no-op, which matches what happened before when the get failed. With the same msleep() in place the patched kernel unlinks cleanly and the assoc is freed from the workqueue.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 8fd604d4b0d7e6cef59b7fa8f43d07314e522097, < e813b4a80292ea70aebdcb0b1b4f30b68bc0b266; >= b8338116689a5b541738a8bb89457e0c6c4d497e, < 1d8ff6495673462f58b4b0352620fc6db89bd10f; >= ccd49adde0547bd6b6c857909d1c4a3ad6ab93c0, < 0b373291c7b56a2807c9260da163649728ccfb65; >= 4049dc96b8de7aeb3addcea039446e464726a525, < b5bfeef31d29972178726ad04721f75731a3284f; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 01b4359d57b76c23c0762f8231e1676ed9f87f7b; >= 4049dc96b8de7aeb3addcea039446e464726a525, < c2cc01c130494e39e61775817d8053b31e471cb7; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 165301b5e2fd765fa05ea1044bbca8ba79820197; 71803b10926e32738ede382b6ef4da345d35a2ab; >= 5.15.150, < 5.15.226; >= 6.1.80, < 6.1.193; …—cvelist
Linux6.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-142939. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142939.md
Affected: Linux >= 8fd604d4b0d7e6cef59b7fa8f43d07314e522097, < e813b4a80292ea70aebdcb0b1b4f30b68bc0b266; >= b8338116689a5b541738a8bb89457e0c6c4d497e, < 1d8ff6495673462f58b4b0352620fc6db89bd10f; >= ccd49adde0547bd6b6c857909d1c4a3ad6ab93c0, < 0b373291c7b56a2807c9260da163649728ccfb65; >= 4049dc96b8de7aeb3addcea…
Fixed in: Linux 1d8ff6495673462f58b4b0352620fc6db89bd10f, Linux 0b373291c7b56a2807c9260da163649728ccfb65, Linux 01b4359d57b76c23c0762f8231e1676ed9f87f7b, Linux 165301b5e2fd765fa05ea1044bbca8ba79820197, Linux 5.15.226, Linux 6.1.193

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-142939 being exploited?

There is no confirmed exploitation: CVE-2026-142939 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-142939?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-142939?

Linux >= 8fd604d4b0d7e6cef59b7fa8f43d07314e522097, < e813b4a80292ea70aebdcb0b1b4f30b68bc0b266; >= b8338116689a5b541738a8bb89457e0c6c4d497e, < 1d8ff6495673462f58b4b0352620fc6db89bd10f; >= ccd49adde0547bd6b6c857909d1c4a3ad6ab93c0, < 0b373291c7b56a2807c9260da163649728ccfb65; >= 4049dc96b8de7aeb3addcea039446e464726a525, < b5bfeef31d29972178726ad04721f75731a3284f; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 01b4359d57b76c23c0762f8231e1676ed9f87f7b; >= 4049dc96b8de7aeb3addcea039446e464726a525, < c2cc01c130494e39e61775817d8053b31e471cb7; >= 4049dc96b8de7aeb3addcea039446e464726a525, < 165301b5e2fd765fa05ea1044bbca8ba79820197; 71803b10926e32738ede382b6ef4da345d35a2ab; >= 5.15.150, < 5.15.226; >= 6.1.80, < 6.1.193; …; Linux 6.8.

Is there a fix for CVE-2026-142939?

Yes. Fixed in Linux 1d8ff6495673462f58b4b0352620fc6db89bd10f, Linux 0b373291c7b56a2807c9260da163649728ccfb65, Linux 01b4359d57b76c23c0762f8231e1676ed9f87f7b, Linux 165301b5e2fd765fa05ea1044bbca8ba79820197, Linux 5.15.226, Linux 6.1.193. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-142939?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors