bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-98153

5.5medium

linux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases

Reach linux · 6 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.06.18.8
v26.09.06.18.54
v26.10.0latest6.18.60
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimalANot exposed · autox86_64Not built · autoaarch64_minimalANot exposed · autox86_64Not built · autoaarch64_minimalANot exposedx86_64Not built · auto

Description · NVD

nvme: fix racy access to FDP placement id array

nvme_query_fdp_info() is called per-path and therefore prone to races.

It populates head->nr_plids/head->plids for fdp registration. But nothing protects that pair from concurrent access - two paths scanning the same namespace can race to populate it.

Avoid the race by moving this initialization work to nvme_alloc_ns_head() which is called once per shared namespace.

Published 2026-09-25NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References 2
Review Av26.10.0aarch64_minimalNot exposed✓ accepted by a member, 2026-11-18 · settles 3 of 6

Fable 5.1 · medium confidence · 2026-11-06

The vulnerable code is present and compiled: drivers/nvme/host/core.c in linux-6.18.60 still calls nvme_query_fdp_info() per path from nvme_update_ns_info_block() rather than once from nvme_alloc_ns_head(), none of the 139 applied patches touch drivers/nvme, and CONFIG_BLK_DEV_NVME=y/CONFIG_NVME_CORE=y produce drivers/nvme/host/core.o.

Reaching the race, however, requires a multi-controller NVMe subsystem (dual-port/multi-controller PCIe NVMe advertising CMIC multi-ctrl and FDP support) whose shared namespace is scanned concurrently by two controllers; only the PCI transport is built (no FC/TCP/RDMA fabrics) and CONFIG_NVME_MULTIPATH is off (shared namespaces are still attached, with a warning).

Infix does not use NVMe anywhere (no references in the rootfs overlay or confd/YANG), so there is no management-interface path to this; it would need an operator to physically install such enterprise-class NVMe hardware in a board's PCIe/M.2 slot, after which the kernel's own probe-time scan would hit the path.

Impact is a local kernel-side race (DoS), not reachable from the network.

Evidence 10
  1. Unfixed: function still populates head->nr_plids/head->plids with only an unlocked `if (head->nr_plids) return 0` guard

    output/build/linux-6.18.60/drivers/nvme/host/core.c:2265-2328 (nvme_query_fdp_info)

  2. nvme_query_fdp_info() is called per-path (per ns), not from nvme_alloc_ns_head() at line 3910 — the upstream fix is absent

    output/build/linux-6.18.60/drivers/nvme/host/core.c:2371-2372 (nvme_update_ns_info_block)

  3. Only nvmem (not nvme) patches applied (#0010, #0101); no patch addresses this CVE

    output/build/linux-6.18.60/.applied_patches_list

  4. CONFIG_NVME_CORE=y, CONFIG_BLK_DEV_NVME=y, CONFIG_NVME_MULTIPATH not set, NVME_FC/TCP/TARGET not set (PCI transport only)

    output/build/linux-6.18.60/.config:2056-2064

  5. CONFIG_BLK_DEV_NVME=y is deliberately enabled in the Infix kernel defconfig

    board/aarch64/linux_defconfig:298

  6. The affected source file is compiled into the image

    output/objects.txt (drivers/nvme/host/core.o, pci.o)

  7. BR2_LINUX_KERNEL=y — kernel is the target image kernel

    output/.config:449

  8. Without multipath, a shared namespace from a second controller is still attached to the existing ns_head (warn only), so two controllers can still race on head->plids

    output/build/linux-6.18.60/drivers/nvme/host/core.c:4040-4080 (nvme_init_ns_head)

  9. Path only taken when controller advertises NVME_CTRL_ATTR_FDPS (FDP-capable device)

    output/build/linux-6.18.60/drivers/nvme/host/core.c:2370

  10. No YANG/CLI/confd or init-script reference to NVMe; the only hit is 'nvmem' in usr/libexec/infix/init.d/00-probe (unrelated)

    src/confd, board/common/rootfs (rg -i nvme)

Version and patches

Vulnerable code introduced with FDP write-stream support (6.16+); fix commits 56e1c6bbe4bb / e0a23e3c8c4c (move FDP query into nvme_alloc_ns_head) are not in 6.18.60 as shipped here and no local patch provides them. NVD match for linux_kernel 6.18.60 is correct.

Recommendation

Document as not applicable in the shipped configuration (no NVMe use, requires multi-controller FDP-capable NVMe hardware physically attached); pick up the fix with the next routine stable kernel bump rather than backporting. Reconsider if any product variant ships with or supports dual-port/enterprise NVMe storage.

Open questions

Whether any supported board (e.g. those with PCIe/M.2 slots such as BPi-R4 or CN9130-CRB) is ever deployed with a multi-controller FDP-capable NVMe device cannot be determined from the tree; if so, the kernel's automatic namespace scan would reach the racy path without any operator configuration.

Members of Kernel Kit decide. Sign in if you are one.