CVE-2026-80790

Source
https://cve.org/CVERecord?id=CVE-2026-80790
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80790.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80790
Downstream
Published
2026-09-04T15:13:02.193Z
Modified
2026-09-06T03:46:44.326047507Z
Summary
nvmet-fc: fix invalid free in LS IOD error path
Details

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

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

nvmetfcalloclsiodlist() 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 nvmetfcregistertargetport Free of addr ffff88816cf8ff48 by task nvmetfail_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80790.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c53432030d86429dc9fe5adc3d68cb9d1343b0b2
Fixed
b189c6e408896ccc23d2e76d7738847cdebf1532
Fixed
449e9c4f8db84ad9d9bb288029b230bcf590faa2
Fixed
1a8f007faefe8c226ec65896589f8d59b0a8d5a5
Fixed
d094582cce9c08516d714e7436a8f3b9211dda90
Fixed
371fb1bf902adaa59be32bd7e904a5317e604fd0
Fixed
8bce9cd08aae4283badf8ddc11fbb6f57b75a81e
Fixed
bb9489f0dce58da730d3479588d6710d7a2c1b45
Fixed
94334ea92f4d7535f66f86e33681efa94827eddc
Fixed
ba98d6796d12258e837ece065d2ecb59d76ce4ff

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80790.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.10.267
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.218
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.185
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.154
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.106
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.47
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.11
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80790.json"