Linux kernel out-of-bounds read in NVMe FDP config log handling
Affects Linux NVMe hosts using nvme-tcp to a remote NVMe-oF target whose controller advertises FDP. No fixed version is listed; the fix is upstream commit 3cf6de080d97d0d9641fbdb613d546c0734905dd.
- Exploited
- No known exploitation
- Fix
- Vendor patch: 3cf6de080d97d0d9641fbdb613d546c0734905dd
- Who is exposed
- Not reported
Summary
The Linux kernel's NVMe driver can read past the end of a buffer when a malicious or buggy controller returns a short FDP Configurations log during namespace scan. The out-of-bounds value can then be exposed to userspace through the write_stream_granularity sysfs file.
Written by a model
Original description
In the Linux kernel, the following vulnerability has been resolved:
nvme: bound FDP config log reads to the received buffer
nvme_query_fdp_granularity() parses the FDP Configurations log using sizes the controller returns, without checking that they fit the buffer it was given. The log size is only bounded from above before kvmalloc(), so a size below the log header makes le16_to_cpu(h->numfdpc) read past the allocation, and a size of zero yields ZERO_SIZE_PTR and faults. Each configuration descriptor is then dereferenced (dsze while walking, and nrg and runs on the selected one) without checking that the whole descriptor lies within the buffer, so a descriptor at or past the end is read out of bounds. The out-of-bounds runs value is then exposed to userspace through /sys/block/nvmeXnY/queue/write_stream_granularity.
A device-supplied dsze that is not a multiple of eight also leaves the following descriptors unaligned, and the structure is not packed, so reading nrg and runs from one can fault on architectures without efficient unaligned access.
A malicious or buggy controller triggers this during namespace scan with a short FDP Configurations log:
[ 1.104828] BUG: KASAN: slab-out-of-bounds in nvme_alloc_ns+0x39a6/0x4480 [ 1.104848] Read of size 8 at addr ffff888009fd8fe0 by task kworker/u8:3/52 [ 1.104852] [ 1.104857] CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 7.3.0-rc6-00063-g0c2669a9f4a1 #1 PREEMPT(lazy) [ 1.104862] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014 [ 1.104866] Workqueue: async async_run_entry_fn [ 1.104873] Call Trace: [ 1.104876] <TASK> [ 1.104878] dump_stack_lvl+0x66/0xa0 [ 1.104886] print_report+0xd0/0x630 [ 1.104893] ? nvme_alloc_ns+0x39a6/0x4480 [ 1.104897] ? __virt_addr_valid+0x209/0x3f0 [ 1.104903] ? nvme_alloc_ns+0x39a6/0x4480 [ 1.104907] kasan_report+0xe4/0x120 [ 1.104913] ? nvme_alloc_ns+0x39a6/0x4480 [ 1.104919] nvme_alloc_ns+0x39a6/0x4480 [ 1.104926] ? __pfx_nvme_alloc_ns+0x10/0x10 [ 1.104931] ? check_prev_add+0xfd/0xe80 [ 1.104942] ? lock_acquire+0x18d/0x300 [ 1.104948] ? nvme_find_get_ns+0xbb/0x2e0 [ 1.104952] ? find_held_lock+0x2b/0x80 [ 1.104956] ? nvme_find_get_ns+0x221/0x2e0 [ 1.104962] ? nvme_find_get_ns+0x231/0x2e0 [ 1.104967] ? nvme_scan_ns+0x2e1/0x8d0 [ 1.104971] ? kfree+0x2e5/0x510 [ 1.104976] ? __lock_acquire+0x570/0x1b00 [ 1.104982] nvme_scan_ns+0x56a/0x8d0 [ 1.104987] ? __pfx_nvme_scan_ns+0x10/0x10 [ 1.104994] ? lockdep_hardirqs_on_prepare+0xdc/0x190 [ 1.104999] ? trace_hardirqs_on+0x18/0x160 [ 1.105005] ? kvm_clock_get_cycles+0x19/0x40 [ 1.105011] ? __pfx_nvme_scan_ns_async+0x10/0x10 [ 1.105015] async_run_entry_fn+0x8d/0x290 [ 1.105020] process_one_work+0x8ac/0x1b00 [ 1.105029] ? __pfx_process_one_work+0x10/0x10 [ 1.105034] ? lock_acquire+0x18d/0x300 [ 1.105040] ? lock_is_held_type+0x8f/0x100 [ 1.105046] ? __pfx_async_run_entry_fn+0x10/0x10 [ 1.105050] worker_thread+0x4ee/0xe70 [ 1.105056] ? lockdep_hardirqs_on_prepare+0xdc/0x190 [ 1.105061] ? trace_hardirqs_on+0x18/0x160 [ 1.105066] ? __pfx_worker_thread+0x10/0x10 [ 1.105071] ? __pfx_worker_thread+0x10/0x10 [ 1.105076] kthread+0x2ce/0x3b0 [ 1.105080] ? __pfx_kthread+0x10/0x10 [ 1.105085] ret_from_fork+0x52e/0x780 [ 1.105090] ? __pfx_ret_from_fork+0x10/0x10 [ 1.105094] ? __switch_to+0x572/0xde0 [ 1.105101] ? __pfx_kthread+0x10/0x10 [ 1.105105] ret_from_fork_asm+0x1a/0x30 [ 1.105114] </TASK> [ 1.105116] [ 1.105117] Allocated by task 52: [ 1.105119] kasan_save_stack+0x33/0x60 [ 1.105123] kasan_save_track+0x14/0x30 [ 1.105126] __kasan_kmalloc+0x8f/0xa0 [ 1.105129] __kvmalloc_node_noprof+0x2e1/0x820 [ 1.105134] nvme_alloc_ns+0x1097/0x4480 [ 1.105138] nvme_scan_ns+0x56a/0x8d0 [ 1.105142] async_run_entry_fn+0x8d/ ---truncated---
Who should check
Teams running Linux kernel hosts that use NVMe over TCP (nvme-tcp) against remote NVMe-oF targets, especially those with FDP-capable targets
“The target sets Identify ctratt FDPS and Get Features FDPE”
What to do
Apply the vendor's patch: 3cf6de080d97d0d9641fbdb613d546c0734905dd.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-100099 (nvme: bound FDP config log reads to the received buffer), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-100099 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 6.16
Vendor patches: 3cf6de080d97d0d9641fbdb613d546c0734905dd (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3cf6de080d97d0d9641fbdb613d546c0734905dd). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- Controller advertises FDP (Identify ctratt FDPS) and supports Get Features FDPE (source: https://www.cve.org/CVERecord?id=CVE-2026-100099)
- Host uses the nvme-tcp transport to a remote NVMe-oF target (source: https://www.cve.org/CVERecord?id=CVE-2026-100099)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-100099 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-100099 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/88d7fce496e65b6904daa7286c42a735fc7765d8
- https://git.kernel.org/stable/c/bd85055ca4cddffb13b638c021f92dd9cb05a8f3
- https://git.kernel.org/stable/c/3cf6de080d97d0d9641fbdb613d546c0734905dd
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3cf6de080d97d0d9641fbdb613d546c0734905dd
- https://www.cve.org/CVERecord?id=CVE-2026-100099
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-100099
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-100099"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux6.16
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity8.6/10CVSS 8.6
- No patch0/5No signal
What would change the score
- Would score about 91 if added to CISA KEV
- Would score about 86 if CISA's SSVC rates exploitation active
- Would score about 51 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 5
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-100099 |
| Record | NVD · CVE-2026-100099 |
| Other links 3 | |
| Link | git.kernel.org · stable/c/88d7fce496e65b6904daa7286c42a735fc7765d8 |
| Link | git.kernel.org · stable/c/bd85055ca4cddffb13b638c021f92dd9cb05a8f3 |
| Link | git.kernel.org · stable/c/3cf6de080d97d0d9641fbdb613d546c0734905dd |
Questions about CVE-2026-100099
Is CVE-2026-100099 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A malicious or buggy NVMe controller can crash the host kernel, either as an oops or as a panic when panic_on_oops is set, during namespace scan. It can also wedge later namespace and controller operations, and an out-of-bounds runs value can be exposed to userspace through sysfs write_stream_granularity.
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-100099?
Linux: version 6.16.
Source: cve.now feed data
Am I affected, and how do I check?
The affected setup requires a controller that advertises FDP (Identify ctratt FDPS) and supports Get Features FDPE, with the host using the nvme-tcp transport to a remote NVMe-oF target. The checked facts list no affected version ranges, so check the transport in use and whether the controller advertises FDP against the advisory's conditions.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-100099?
Apply upstream commit 3cf6de080d97d0d9641fbdb613d546c0734905dd, which rejects a log smaller than its header plus one configuration descriptor. The checked facts name no fixed kernel versions.
Source: cve.org, git.kernel.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.