# CVE-2026-90186: null\_blk: reject per-device queue resize for shared tag set

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:07:09.047Z
- **Modified:** 2026-10-19T09:19:08.603Z

## Who should check

- Anyone running Linux \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 9c7bae099ddc92676ad1b7e29dd6c089e5f6196c; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< fcd53f3e8b758c79c3f2420d28a2a1dce6fda61a; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< f609f7bf9ce8c2fc427705c4a9f623a281239d06; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 3e35ad503386a2e8a0e0460530dcbf421c79f6f2; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< baff300541a0012907cdde349728739fe16176d7; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24
- Anyone running Linux 5.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

null\_blk: reject per-device queue resize for shared tag set

When shared\_tags is enabled, null\_setup\_tagset() makes the device use the
global tag\_set, whose driver\_data stays NULL. null\_map\_queues() therefore
falls back to the module-wide g\_submit\_queues/g\_poll\_queues instead of any
per-device value.

Resizing submit\_queues or poll\_queues via configfs on such a device calls
blk\_mq\_update\_nr\_hw\_queues() on the shared set, shrinking
set-\>nr\_hw\_queues.  \_\_blk\_mq\_realloc\_hw\_ctxs() only grows the
q-\>queue\_hw\_ctx\[\] allocation, so on shrink it merely exits and NULLs the
now-excess hctx slots. null\_map\_queues(), however, keeps mapping CPUs with
the unchanged g\_submit\_queues/g\_poll\_queues, so mq\_map\[\] ends up pointing
at those NULLed hctx slots. blk\_mq\_map\_swqueue() then dereferences the NULL
hctx (hctx-\>cpumask), crashing the kernel:

\[  460.218374\] KASAN: null-ptr-deref in range \[0x0000000000000098-0x000000000000009f\]
\[  460.219003\] CPU: 24 UID: 0 PID: 1492 Comm: sh Not tainted 7.2.0-rc2+ \#67 PREEMPT(full)
\[  460.219792\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-4.fc41 04/01/2014
\[  460.220452\] RIP: 0010:blk\_mq\_map\_swqueue+0x4db/0x1430
......
\[  460.228977\] Call Trace:
\[  460.229175\]  \<TASK\>
\[  460.229354\]  blk\_mq\_update\_nr\_hw\_queues+0xd49/0x11c0
\[  460.229779\]  ? \_\_pfx\_blk\_mq\_update\_nr\_hw\_queues+0x10/0x10
\[  460.230200\]  nullb\_update\_nr\_hw\_queues+0x1a9/0x370 \[null\_blk\]
\[  460.230694\]  nullb\_device\_submit\_queues\_store+0xd9/0x170 \[null\_blk\]
\[  460.231190\]  ? \_\_pfx\_nullb\_device\_submit\_queues\_store+0x10/0x10 \[null\_blk\]
\[  460.231776\]  ? configfs\_write\_iter+0x35c/0x4e0
\[  460.232122\]  configfs\_write\_iter+0x286/0x4e0
\[  460.232460\]  vfs\_write+0x52d/0xd00
\[  460.232779\]  ? \_\_x64\_sys\_openat+0x108/0x1d0
\[  460.233106\]  ? \_\_pfx\_vfs\_write+0x10/0x10
\[  460.233413\]  ? fdget\_pos+0x1cf/0x4c0
\[  460.233745\]  ? fput\_close+0x133/0x190
\[  460.234038\]  ? \_\_pfx\_expand\_files+0x10/0x10
\[  460.234368\]  ksys\_write+0xfc/0x1d0

Reproducer:
modprobe null\_blk shared\_tags=1 submit\_queues=64 poll\_queues=1
mkdir /sys/kernel/config/nullb/dev
echo 1 \> /sys/kernel/config/nullb/dev/power
echo 1 \> /sys/kernel/config/nullb/dev/submit\_queues

A per-device resize of a shared tag set is meaningless anyway, so reject it
with -EINVAL in nullb\_update\_nr\_hw\_queues() when the device is bound to the
global tag\_set.

## Affected and fixed versions

- Linux: \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 9c7bae099ddc92676ad1b7e29dd6c089e5f6196c; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< fcd53f3e8b758c79c3f2420d28a2a1dce6fda61a; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< f609f7bf9ce8c2fc427705c4a9f623a281239d06; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 3e35ad503386a2e8a0e0460530dcbf421c79f6f2; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< baff300541a0012907cdde349728739fe16176d7; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90186. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90186.md
Affected: Linux >= 45919fbfe1c487c17ea1d198534339a5e8abeae3, < 9c7bae099ddc92676ad1b7e29dd6c089e5f6196c; >= 45919fbfe1c487c17ea1d198534339a5e8abeae3, < fcd53f3e8b758c79c3f2420d28a2a1dce6fda61a; >= 45919fbfe1c487c17ea1d198534339a5e8abeae3, < f609f7bf9ce8c2fc427705c4a9f623a281239d06; >= 45919fbfe1c487c17ea1d19…
Fixed in: Linux 9c7bae099ddc92676ad1b7e29dd6c089e5f6196c, Linux 3e35ad503386a2e8a0e0460530dcbf421c79f6f2, Linux 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90186 being exploited?

There is no confirmed exploitation: CVE-2026-90186 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90186?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90186?

Linux \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 9c7bae099ddc92676ad1b7e29dd6c089e5f6196c; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< fcd53f3e8b758c79c3f2420d28a2a1dce6fda61a; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< f609f7bf9ce8c2fc427705c4a9f623a281239d06; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 3e35ad503386a2e8a0e0460530dcbf421c79f6f2; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< baff300541a0012907cdde349728739fe16176d7; \>= 45919fbfe1c487c17ea1d198534339a5e8abeae3, \< 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24; Linux 5.5.

### Is there a fix for CVE-2026-90186?

Yes. Fixed in Linux 9c7bae099ddc92676ad1b7e29dd6c089e5f6196c, Linux 3e35ad503386a2e8a0e0460530dcbf421c79f6f2, Linux 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24. Upgrade Linux to 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24 or later.

### How do I check if I'm affected by CVE-2026-90186?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9c7bae099ddc92676ad1b7e29dd6c089e5f6196c>
- other: <https://git.kernel.org/stable/c/fcd53f3e8b758c79c3f2420d28a2a1dce6fda61a>
- other: <https://git.kernel.org/stable/c/f609f7bf9ce8c2fc427705c4a9f623a281239d06>
- other: <https://git.kernel.org/stable/c/3e35ad503386a2e8a0e0460530dcbf421c79f6f2>
- other: <https://git.kernel.org/stable/c/baff300541a0012907cdde349728739fe16176d7>
- other: <https://git.kernel.org/stable/c/1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90186>

HTML: <https://flawdb.com/CVE-2026-90186> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90186>
