CVE-2026-100098
nvmet: zns: don't leak stale memory in zone management receive
Check your servers for CVE-2026-100098
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-100098 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
nvmet: zns: don't leak stale memory in zone management receive
A Zone Management Receive report returns the full buffer the host asked for, but nvmet_bdev_zone_zmgmt_recv_work() writes only the 8-byte Number of Zones field and one 64-byte descriptor for each matching zone that fits. The 56 reserved header bytes and every descriptor slot past the last match keep whatever the buffer held before. A 4096-byte report covering a single zone leaves 4024 bytes unwritten.
The tcp, rdma and fc transports allocate that buffer with sgl_alloc() and pci-epf with kmalloc(), none with __GFP_ZERO, and on success each sends the whole buffer to the host (nvmet_setup_c2h_data_pdu() for tcp), so the host receives old kernel memory from the target.
nvmet_bdev_execute_zone_mgmt_recv() also never checks the transport data length against NUMD, so on transports where the host sets that length, the buffer sent back can be much larger than the report NUMD describes. pci-epf derives its data length from NUMD, so the length check below does not apply there, but the zeroing still covers the report.
Reject a data length that does not match NUMD with nvmet_check_transfer_len(), as nvmet_bdev_execute_zone_append() does, and zero the report with nvmet_zero_sgl() before filling it. Zeroing NUMD bytes is only enough because of the length check, so the two go together.
Allocating with __GFP_ZERO in the transports would also close the leak, but it adds a memset to every read command to fix one handler, so the transports are left alone.
Tested over the loop, tcp, rdma and fc transports with a zoned null_blk namespace: before this patch, zone reports carried stale bytes and a data length larger than NUMD was accepted; with it, reports are fully initialized and such a length fails with Data SGL Length Invalid.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.53%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 46.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before df4a9d82bd9b877590af26473bd73b8e69591688 affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before a57cf3f31a93402127373b0eab6dd7908dffac64 affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before c719c47ffbe310a7bf3072bf83793226a7c0ea60 affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before e169946cd8d553ff4ac691b2b8e435b0d3b0bf49 affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before 124db30f332f644e900cc9d92a9fb4293d63d4f7 affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before 06afe122a65a326e068751bf525f39ac64f68b7b affected from aaf2e048af2704da5869f27b508b288f36d5c7b7, before 31b8a6af19b73e6167c4b655cd5e86681bac1c41
Other versions: unaffected
|
| Linux |
affected 5.14 unaffected before 5.14 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-100098 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-100098
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-100098
trivy image --scanners vuln IMAGE | grep CVE-2026-100098
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/df4a9d82bd9b877590af26473bd73b8e69591688 git.kernel.org
- https://git.kernel.org/stable/c/a57cf3f31a93402127373b0eab6dd7908dffac64 git.kernel.org
- https://git.kernel.org/stable/c/c719c47ffbe310a7bf3072bf83793226a7c0ea60 git.kernel.org
- https://git.kernel.org/stable/c/e169946cd8d553ff4ac691b2b8e435b0d3b0bf49 git.kernel.org
- https://git.kernel.org/stable/c/124db30f332f644e900cc9d92a9fb4293d63d4f7 git.kernel.org
- https://git.kernel.org/stable/c/06afe122a65a326e068751bf525f39ac64f68b7b git.kernel.org
- https://git.kernel.org/stable/c/31b8a6af19b73e6167c4b655cd5e86681bac1c41 git.kernel.org
Source: the record CVE-2026-100098 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse