CVE-2026-99516
published high CVSS 3.1 · 7.1nvmet-fc: fix use-after-free in nvmet_fc_ls_create_connection()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 3bc95d8fd1f503b832d778c0c23da6108897167e · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 0cd9f4beec82be7a9a4b2797e0f12ea2f0a54082 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 71a9218bcea2e70e44a12655568d14369725ef65 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < c2125253a246568e47d31a6c1e9c0035a008b402 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 74e01caeea4c16298f28bfb7ea87b0c9835e1777 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 6324f087caf817f00840baa82664dec3c5634f1c · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 5ee2e99021c5ec3e89aa6dc2fc1ad5ed46446523 · c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 2c29f8c9b9e598c09fa50aa02200136a107f6b3f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.10 (affected) · 0 to < 4.10 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: fix use-after-free in nvmet_fc_ls_create_connection() nvmet_fc_ls_create_connection() looks up the association with nvmet_fc_find_target_assoc(), which returns it with a reference held, and drops that reference as soon as the target queue has been allocated. iod->assoc is then dereferenced again by nvmet_fc_makeconnid() while building the connection id. The queue only borrows the pointer and takes no reference of its own. Once the lookup reference is dropped the association is kept alive solely by the reference taken when it was created, so a disconnect LS or a remote port unregister running concurrently can free it before nvmet_fc_makeconnid() reads it: BUG: KASAN: slab-use-after-free in nvmet_fc_handle_ls_rqst_work (drivers/nvme/target/fc.c:193 drivers/nvme/target/fc.c:1841 drivers/nvme/target/fc.c:1995 drivers/nvme/target/fc.c:2021) Read of size 8 at addr ffff888179f1b000 by task kworker/u9:2/1167 Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: nvmet-wq nvmet_fc_handle_ls_rqst_work Call Trace: <TASK> dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120) print_report (mm/kasan/report.c:378 mm/kasan/report.c:482) kasan_report (mm/kasan/report.c:595) nvmet_fc_handle_ls_rqst_work (drivers/nvme/target/fc.c:193 drivers/nvme/target/fc.c:1841 drivers/nvme/target/fc.c:1995 drivers/nvme/target/fc.c:2021) process_scheduled_works (kernel/workqueue.c:3322 kernel/workqueue.c:3405) worker_thread (kernel/workqueue.c:3486) kthread (kernel/kthread.c:436) ret_from_fork (archkernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) </TASK> Freed by task 1167 on cpu 0 at 405.998150s: kasan_save_track (mm/kasan/common.c:57 mm/kasan/common.c:78) kasan_save_free_info (mm/kasan/generic.c:584) __kasan_slab_free (mm/kasan/common.c:253 mm/kasan/common.c:285) kfree (include/linux/kasan.h:235 mm/slub.c:2705 mm/slub.c:6405 mm/slub.c:6720) nvmet_fc_handle_ls_rqst_work (drivers/nvme/target/fc.c:1808 drivers/nvme/target/fc.c:1995 drivers/nvme/target/fc.c:2021) process_scheduled_works (kernel/workqueue.c:3322 kernel/workqueue.c:3405) worker_thread (kernel/workqueue.c:3486) kthread (kernel/kthread.c:436) ret_from_fork (archkernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) The buggy address belongs to the object at ffff888179f1b000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 0 bytes inside of freed 2048-byte region [ffff888179f1b000, ffff888179f1b800) Hold the lookup reference until the response has been built, and drop it on the error path as well.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Scenarios
- en: AV:A - The Create Connection LS (FCNVME_LS_CREATE_CONNECTION) is the FC frame payload that lpfc_complete_unsol_iocb() hands to lpfc_nvme_unsol_ls_handler(), then lpfc_nvmet_handle_lsreq() calls nvmet_fc_rcv_ls_req(), which queues nvmet_fc_handle_ls_rqst_work() into nvmet_fc_ls_create_connection(). Native FC and FCoE are non-routable SAN fabrics, so the range is Adjacent. AC:L - One N_Port sends FCNVME_LS_CREATE_ASSOCIATION, then overlaps FCNVME_LS_CREATE_CONNECTION with FCNVME_LS_DISCONNECT_ASSOC, or with LOGO which calls lpfc_nvmet_invalidate_host(). nvmet_wq is WQ_UNBOUND, so nvmet_fc_delete_assoc_work() can drop the creation kref and the early nvmet_fc_tgt_a_put() in nvmet_fc_ls_create_connection() frees the assoc before nvmet_fc_makeconnid() reads it. PR:N - nvmet_fc_ls_create_connection() looks up be64_to_cpu(rqst->associd.association_id) and checks descriptor tags only; there is no capable(), allowed_hosts, or DH-HMAC-CHAP check on the LS path. lpfc_nvme_unsol_ls_handler() accepts the frame once the SID is NLP_STE_MAPPED_NODE or NLP_STE_UNMAPPED_NODE, a state the initiator reaches by its own PLOGI. Zoning limits which N_Port can log in; it is not a host credential. UI:N - The initiator issues PLOGI and the Create Association, Create Connection, and Disconnect Association link services itself. The target processes them in nvmet_fc_handle_ls_rqst() without a host user opening a device or acknowledging a prompt. S:U - The freed object is the target's struct nvmet_fc_tgt_assoc, allocated in nvmet_fc_alloc_target_assoc() and read in nvmet_fc_makeconnid() inside the host kernel. That leak and any fault remain in the same kernel; no guest/host or IOMMU boundary is crossed. C:L - nvmet_fc_makeconnid() loads the eight-byte association_id at offset 0 of the freed kmalloc-2k object and the Create Connection accept stores it in connectid.connection_id. nvmet_fc_xmt_ls_rsp() transmits that qword to the initiator. A qid of 0 does not mask the low half. The primitive is that single qword. I:N - The only use of the dangling iod->assoc after nvmet_fc_tgt_a_put() is the association_id load in nvmet_fc_makeconnid(). The KASAN free is that same put, which runs while the new queue's connected flag is still 0, so nvmet_fc_delete_target_queue() returns without kfree() and the following sqhd store writes a live queue. A:H - The reported bug is a KASAN slab-use-after-free read of size 8 in nvmet_fc_makeconnid() on the freed kmalloc-2k assoc. KFENCE, KASAN, or slub_debug faults that load, and the initiator can repeat the Create Connection versus Disconnect pair.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 3bc95d8fd1f503b832d778c0c23da6108897167e (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 0cd9f4beec82be7a9a4b2797e0f12ea2f0a54082 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 71a9218bcea2e70e44a12655568d14369725ef65 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < c2125253a246568e47d31a6c1e9c0035a008b402 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 74e01caeea4c16298f28bfb7ea87b0c9835e1777 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 6324f087caf817f00840baa82664dec3c5634f1c (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 5ee2e99021c5ec3e89aa6dc2fc1ad5ed46446523 (affected · git)c53432030d86429dc9fe5adc3d68cb9d1343b0b2 to < 2c29f8c9b9e598c09fa50aa02200136a107f6b3f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.10 (affected)0 to < 4.10 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0cd9f4beec82be7a9a4b2797e0f12ea2f0a54082
- https://git.kernel.org/stable/c/2c29f8c9b9e598c09fa50aa02200136a107f6b3f
- https://git.kernel.org/stable/c/3bc95d8fd1f503b832d778c0c23da6108897167e
- https://git.kernel.org/stable/c/5ee2e99021c5ec3e89aa6dc2fc1ad5ed46446523
- https://git.kernel.org/stable/c/6324f087caf817f00840baa82664dec3c5634f1c
- https://git.kernel.org/stable/c/71a9218bcea2e70e44a12655568d14369725ef65
- https://git.kernel.org/stable/c/74e01caeea4c16298f28bfb7ea87b0c9835e1777
- https://git.kernel.org/stable/c/c2125253a246568e47d31a6c1e9c0035a008b402
Provider assertions
1Linux · cna
nvmet-fc: fix use-after-free in nvmet_fc_ls_create_connection()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2057e0fbc0ccc075415b5214bc78ed89b920380de41722cbc2de7ae017b735ab
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record