Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-99516

CVE-2026-99516: nvmet-fc: fix use-after-free in nvmet_fc_ls_create_connection()

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99516: high-severity vulnerability (CVSS 7.1) in Linux Linux.

What happened

Original description from the source: 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…

Why it matters

High severity, CVSS 7.1.

Affected products and versions

Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 3bc95d8fd1f503b832d778c0c23da6108897167e; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 0cd9f4beec82be7a9a4b2797e0f12ea2f0a54082; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 71a9218bcea2e70e44a12655568d14369725ef65; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < c2125253a246568e47d31a6c1e9c0035a008b402; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 74e01caeea4c16298f28bfb7ea87b0c9835e1777; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 6324f087caf817f00840baa82664dec3c5634f1c; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 5ee2e99021c5ec3e89aa6dc2fc1ad5ed46446523; Linux Linux >= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 2c29f8c9b9e598c09fa50aa02200136a107f6b3f; Linux Linux 4.10; Linux Linux < 4.10; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 3bc95d8fd1f503b832d778c0c23da6108897167e—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 0cd9f4beec82be7a9a4b2797e0f12ea2f0a54082—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 71a9218bcea2e70e44a12655568d14369725ef65—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < c2125253a246568e47d31a6c1e9c0035a008b402—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 74e01caeea4c16298f28bfb7ea87b0c9835e1777—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 6324f087caf817f00840baa82664dec3c5634f1c—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 5ee2e99021c5ec3e89aa6dc2fc1ad5ed46446523—
Linux Linux>= c53432030d86429dc9fe5adc3d68cb9d1343b0b2, < 2c29f8c9b9e598c09fa50aa02200136a107f6b3f—
Linux Linux4.10—
Linux Linux< 4.10—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.