KernelScan.io

HIGH Introduced in 6.11

nvme-multipath ZoneSize DivideByZero

CVE-2026-98727

CVSS 7.0 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: nvme-multipath: set BLK_FEAT_ZONED only after the zone info is known The namespace head is marked zoned at allocation time based only on the command set identifier. If the zone info query reports a zero zone size, the path namespace is registered without zoned limits while the head still advertises the zoned capability with a zone size of zero, and reporting zones or writing to the head then shifts by ilog2(0). Drop the zoned feature from the head allocation and let the head limits refresh stack it in from the path namespace instead.

02

Engine v0.9.0

Risk summary

A local user with access to an NVMe ZNS multipath device can trigger a divide-by-zero error in the kernel by causing the zone info query to return a zero zone size. This results in a kernel panic (denial of service) and potentially allows memory corruption leading to privilege escalation. The vulnerability affects systems with NVMe Zoned Namespace devices configured for multipath.

Affecteddrivers/nvme/host/multipath.c (nvme multipath)

Vulnerability analysis

The NVMe multipath code marks the namespace head as zoned at allocation time based only on the command set identifier, before the actual zone geometry is known. If the subsequent zone info query returns a zero zone size — which can occur due to device errors, firmware bugs, or a malicious device — the path namespace registers without zoned limits while the head still advertises zoned capability with a zone size of zero. When userspace then requests zone reports or issues writes to the multipath device, the kernel attempts to shift by ilog2(0), causing a divide-by-zero fault or undefined shift behavior that can crash the kernel or corrupt memory. The fix defers setting the zoned feature flag until the head limits are refreshed from a path namespace that has valid zone information, ensuring the head never advertises zoned capability with a zero zone size. An attacker needs local access to the multipath block device (e.g., via /dev/nvmeXnY or a dm-multipath device) to trigger the bug, which typically requires membership in the disk group or container device access.

03

BranchIntroducedFixed inPatch commit
6.126.116.12.11344dc998c38fb
6.186.116.18.562d86abd28071
7.26.117.2.108b85838c1fdb
mainline6.117.34a5e49ba0abb
cip/6.126.116.12.114-cip3444dc998c38fb

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34