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

Not scored Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-80790?

CVE-2026-80790 is a vulnerability in Linux, published on 4 Sep 2026.

Official 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.

Which versions are affected by CVE-2026-80790?

How do I fix CVE-2026-80790?

Upgrade to a fixed version.

Is CVE-2026-80790 being exploited?

There is no known exploitation of CVE-2026-80790 in the wild and no public exploit code.

Sources

Also known as AZL-99585, BELL-CVE-2026-80790, DEBIAN-CVE-2026-80790, GHSA-8g5c-jgpx-6xcv, UBUNTU-CVE-2026-80790.

Is CVE-2026-80790 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free