null_blk: serialize configfs attribute updates with device setup
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 res
CVE-2026-90184
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90184
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa",
"lessThan": "6352e7ead2d8111802a554eeb94886f5a9894bb9",
"versionType": "git"
},
{
"status": "affected",
"version": "3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa",
"lessThan": "7de792b4c48fba02a36a8077032f7d5093c925e5",
"versionType": "git"
},
{
"status": "affected",
"version": "3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa",
"lessThan": "aed8af338a09a64d63b068a803c4ecfc5701dd4c",
"versionType": "git"
},
{
"status": "affected",
"version": "3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa",
"lessThan": "32456a85995579e56c60cc53c357cda75a9d4f7c",
"versionType": "git"
},
{
"status": "affected",
"version": "3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa",
"lessThan": "d3d35dd045a35991bf6fd13de5f293e6dd7bf3b3",
"versionType": "git"
},
{
"status": "affected",
"version": "3bf2bd20734e3e6ffda53719a9c10fb3ee9c5ffa",
"lessThan": "4e1f23f9c33c156be7e313b40695af5a3a834739",
"versionType": "git"
}
],
"programFiles": [
"drivers/block/null_blk/main.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/block/null_blk/main.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90184
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #36563 · Revision 1
- Added to Heist Feed
- Publisher date