Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38209

CRITICAL 9.8EPSS 41%

nvme-tcp: remove tag set when second admin queue config fails

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < db1da838b6012e4570c6f81e28ffe1d0ff595948; >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < e7143706702a209c814ed2c3fc6486c2a7decf6c
  • Anyone running Linux 6.15

Vulnerability facts

Affected
Linux >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < db1da838b6012e4570c6f81e28ffe1d0ff595948; >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < e7143706702a209c814ed2c3fc6486c2a7decf6c; Linux 6.15
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: remove tag set when second admin queue config fails Commit 104d0e2f6222 ("nvme-fabrics: reset admin connection for secure concatenation") modified nvme_tcp_setup_ctrl() to call nvme_tcp_configure_admin_queue() twice. The first call prepares for DH-CHAP negotitation, and the second call is required for secure concatenation. However, this change triggered BUG KASAN slab-use-after- free in blk_mq_queue_tag_busy_iter(). This BUG can be recreated by repeating the blktests test case nvme/063 a few times [1]. When the BUG happens, nvme_tcp_create_ctrl() fails in the call chain below: nvme_tcp_create_ctrl() nvme_tcp_alloc_ctrl() new=true ... Alloc nvme_tcp_ctrl and admin_tag_set nvme_tcp_setup_ctrl() new=true nvme_tcp_configure_admin_queue() new=true ... Succeed nvme_alloc_admin_tag_set() ... Alloc the tag set for admin_tag_set nvme_stop_keep_alive() nvme_tcp_teardown_admin_queue() remove=false nvme_tcp_configure_admin_queue() new=false nvme_tcp_alloc_admin_queue() ... Fail, but do not call nvme_remove_admin_tag_set() nvme_uninit_ctrl() nvme_put_ctrl() ... Free up the nvme_tcp_ctrl and admin_tag_set The first call of nvme_tcp_configure_admin_queue() succeeds with new=true argument. The second call fails with new=false argument. This second call does not call nvme_remove_admin_tag_set() on failure, due to the new=false argument. Then the admin tag set is not removed. However, nvme_tcp_create_ctrl() assumes that nvme_tcp_setup_ctrl() would call nvme_remove_admin_tag_set(). Then it frees up struct nvme_tcp_ctrl which has admin_tag_set field. Later on, the timeout handler accesses the admin_tag_set field and causes the BUG KASAN slab-use-after-free. To not leave the admin tag set, call nvme_remove_admin_tag_set() when the second nvme_tcp_configure_admin_queue() call fails. Do not return from nvme_tcp_setup_ctrl() on failure. Instead, jump to "destroy_admin" go-to label to call nvme_tcp_teardown_admin_queue() which calls nvme_remove_admin_tag_set().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < db1da838b6012e4570c6f81e28ffe1d0ff595948; >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < e7143706702a209c814ed2c3fc6486c2a7decf6c—cvelist
Linux6.15—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-2025-38209. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38209.md
Affected: Linux >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < db1da838b6012e4570c6f81e28ffe1d0ff595948; >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < e7143706702a209c814ed2c3fc6486c2a7decf6c; Linux 6.15
Fixed in: no fixed version listed yet

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.

References

FAQ

Is CVE-2025-38209 being exploited?

There is no confirmed exploitation: CVE-2025-38209 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38209?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-38209?

Linux >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < db1da838b6012e4570c6f81e28ffe1d0ff595948; >= 104d0e2f622233477ef7e57e59e8a4c3bb062c82, < e7143706702a209c814ed2c3fc6486c2a7decf6c; Linux 6.15.

Is there a fix for CVE-2025-38209?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38209?

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.

Sponsors