PT-2026-162668
CVE-2026-100099
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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]
[ 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]
[ 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---
Found an issue in the description? Have something to add? Feel free to write us 👾