CVE Catalog

CVE-2026-90185

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's null_blk module, configfs attributes (submit_queues, poll_queues) are stored without proper synchronization. Concurrent stores via separate file descriptors can cause device state inconsistencies, such as a mismatch between submit_queues and the live queue count or an out-of-bounds access to dev->zones[].

Risk Assessment

This can lead to kernel warnings, errors, and in extreme cases out-of-bounds array access and system instability. The risk mainly occurs when multiple processes configure a null_blk device concurrently.

Recommendation

Update the kernel to a version containing the fix that serializes configfs attribute stores with the lock. Avoid concurrent modification of these attributes from multiple processes until the fix is applied.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: null_blk: serialize configfs attribute stores with the lock The NULLB_DEVICE_ATTR _store takes no lock: apply_fn attributes (submit_queues, poll_queues) get dev->NAME written again after apply_fn returns, outside its lock; APPLY=NULL attributes are entirely lockless. configfs only serializes stores per-open-file, so concurrent stores on separate fds race. For apply_fn attributes, once one store's apply_fn has reconfigured the hardware, a second (losing) store can still overwrite dev->NAME afterwards. This leaves dev->submit_queues out of sync with the live queue count, which is later caught by the WARN_ON_ONCE() in null_map_queues(). For !apply_fn attributes, power_store()'s null_add_dev() validates and builds the device under "lock" but only sets CONFIGURED afterwards. A store slipping in during this window can change a field mid-setup -- for example, zone_nr_conv can be pushed above nr_zones after it has already been clamped, leading to an out-of-bounds dev->zones[] access. Take "lock" in the macro around the apply_fn call, the CONFIGURED test and the field write, and move it out of nullb_apply_submit_queues()/ nullb_apply_poll_queues() so both paths are covered once. This serializes stores with power_store's setup and with each other.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS