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

nvmet-fc: fix invalid free in LS IOD error path

nvmet_fc_alloc_ls_iodlist() advances iod while initializing the LS IOD
array. If an rqstbuf allocation or response buffer DMA mapping fails,
the unwind loop decrements iod past the start of the array. The final
kfree(iod) therefore frees an address before the allocated object.

This can be reproduced with nvme-fcloop and failslab by setting
fail-nth to 6 before creating a target port. KASAN reports:

BUG: KASAN: invalid-free in nvmet_fc_register_targetport
Free of addr ffff88816cf8ff48 by task nvmet_fail_nth/9552

Free the original allocation base stored in tgtport->iod instead. With
this fix applied, the same sysfs write with fail-nth=6 returns -ENOMEM
without any KASAN report.
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An invalid free in the Linux kernel’s NVMe Fibre‑Channel (nvmet‑fc) implementation can cause the kernel to release a pointer that precedes an allocated object. The bug is triggered when the LS IOD array is unwound after a request‑buffer or DMA‑mapping failure, leading to a KASAN‑reported invalid‑free. If exploited, the kernel may crash or be manipulated to corrupt memory, which can be leveraged for privilege escalation or denial of service.

Affected Systems

The vulnerability resides in the nvmet‑fc component of the Linux kernel and is present in all kernel releases that contain the unpatched code path. The patch is included in the mainline kernel after the commits referenced in the advisory. The specific affected versions are not listed in the data; thus any kernel version prior to the applied fix is at risk.

Risk and Exploitability

There is no public EPSS score and the vulnerability is not listed in the CISA KEV catalog, indicating a low or unconfirmed exploitation probability. The exact attack vector is not disclosed, but the flaw appears to be exploitable from a local or network context where NVMe‑FC requests can be manipulated, such as an attacker with control over NVMe‑FC target configuration. Because the bug leads to a memory corruption on the kernel side, it remains a high‑impact condition should an attacker succeed in triggering the error path.

Generated by OpenCVE AI on September 4, 2026 at 17:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the nvmet‑fc fix commit.
  • If upgrading the kernel is not feasible, disable NVMe‑FC support in the kernel configuration or unload the module.
  • If the system must remain on the current kernel, apply the upstream patch manually and rebuild the kernel.

Generated by OpenCVE AI on September 4, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: fix invalid free in LS IOD error path nvmet_fc_alloc_ls_iodlist() advances iod while initializing the LS IOD array. If an rqstbuf allocation or response buffer DMA mapping fails, the unwind loop decrements iod past the start of the array. The final kfree(iod) therefore frees an address before the allocated object. This can be reproduced with nvme-fcloop and failslab by setting fail-nth to 6 before creating a target port. KASAN reports: BUG: KASAN: invalid-free in nvmet_fc_register_targetport Free of addr ffff88816cf8ff48 by task nvmet_fail_nth/9552 Free the original allocation base stored in tgtport->iod instead. With this fix applied, the same sysfs write with fail-nth=6 returns -ENOMEM without any KASAN report.
Title nvmet-fc: fix invalid free in LS IOD error path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:13:02.193Z

Reserved: 2026-08-26T14:34:25.793Z

Link: CVE-2026-80790

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:05.167

Modified: 2026-09-04T16:18:05.167

Link: CVE-2026-80790

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T19:00:13Z

Weaknesses