VDB

CVE-2026-90184

CVE-2026-90184 PUBLISHED

null_blk: serialize configfs attribute updates with device setup

Reported by linux · Published September 17, 2026

In the Linux kernel, the following vulnerability has been resolved: null_blk: serialize configfs attribute updates with device setup The attribute store methods generated with NULLB_DEVICE_ATTR() refuse to change the configuration of a live device by testing NULLB_DEV_FL_CONFIGURED, but that flag is only set by nullb_device_power_store() after null_add_dev() has returned, and the store methods take no lock at all. configfs only serializes writes to the same open file (buffer->mutex), so a write to any attribute can run concurrently with null_add_dev() and change the device configuration while it is being used. null_add_dev() reads the configuration several times, e.g. dev->zoned is read once to set up the queue limits and once to initialize the zone resources: CPU0: echo 1 > nullb0/power CPU1: echo 1 > nullb0/zoned nullb_device_power_store() mutex_lock(&lock) null_add_dev() if (dev->zoned) -> false /* no BLK_FEAT_ZONED */ nullb_device_zoned_store() test_bit(FL_CONFIGURED) -> 0 dev->zoned = true blk_mq_alloc_disk() /* queue is not zoned */ if (nullb->dev->zoned) -> true null_register_zoned_dev() blk_revalidate_disk_zones() blk_revalidate_disk_zones() is then called for a queue that does not have BLK_FEAT_ZONED set, which triggers its WARN_ON_ONCE() and fails the device setup with -EIO: WARNING: CPU: 2 PID: 322 at block/blk-zoned.c:2357 blk_revalidate_disk_zones+0x4c/0x560 Clearing dev->zoned in the same window is worse: the queue is created with BLK_FEAT_ZONED but the zone resources are never initialized, so add_disk() succeeds for a zoned disk that has no zones. And a store that lands after the last dev->zoned test leaves dev->zoned set while dev->zones is still NULL, which null_process_zoned_cmd() dereferences on the first write. Fix this by taking the global lock, which nullb_device_power_store() already holds across null_add_dev() and null_del_dev(), around both the NULLB_DEV_FL_CONFIGURED test and the update of the device configuration. The submit_queues and poll_queues apply callbacks are now called with that lock held, so remove the locking they did themselves. Since the store methods can run as soon as configfs_register_subsystem() returns, that is, before null_init() gets to mutex_init(&lock), also initialize the lock statically with DEFINE_MUTEX().

EPSS 0.21% · 10.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.1.188-233.385Amazon Linux1:1.0-0.amzn2023
kernel-toolsAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
bpftoolAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
perfAmazon Linux1:6.1.188-233.385.amzn2023
perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.21%
10.6th percentile

Affected products

VendorProductVersions
LinuxLinux3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa, 3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa, 3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa
LinuxLinux4.14, 0, 6.1.188
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.120
amazon:2023bpftool0
amazon:2023kernel6.12-tools-devel0
amazon:2023perf0
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
linuxlinux_kernel4.14, 4.14, 4.14

…and 18 more

Timeline

  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (11 in total, the first dated here)
  • Sep 18, 2026 Coalition ESS Score
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-90184
vulnetix vdb fixes CVE-2026-90184

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-90184/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›