pnfs/blocklayout: Fix device leaks on parse failure
In the Linux kernel, the following vulnerability has been resolved: pnfs/blocklayout: Fix device leaks on parse failure bl_parse_concat() and bl_parse_stripe() allocate a child device array and then parse each child in turn. If parsing a child fails, the failed child is not counted in nr_children and the parent may be left with a children array that bl_free_device() will not release when nr_children is zero. Release the failed child and the already parsed children before returning the error. Also make bl_free_device() release the child array whenever the children pointer is set, so that partially initialised concat or stripe devices are cleaned up correctly. bl_parse_scsi() can also fail after assigning d->bdev_file and dropping the file reference. Clear the pointer after fput() so that an outer cleanup path does not put it again.
CVE-2026-90150
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-90150
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": "5c83746a0cf2831d4b59f5cf99ef5fbf138564e4",
"lessThan": "51d162dfb618f6cf3aa5e331c0305e27771ad884",
"versionType": "git"
},
{
"status": "affected",
"version": "5c83746a0cf2831d4b59f5cf99ef5fbf138564e4",
"lessThan": "8a2494964edac2a13e82441c2bf887548dc3be0b",
"versionType": "git"
},
{
"status": "affected",
"version": "5c83746a0cf2831d4b59f5cf99ef5fbf138564e4",
"lessThan": "1e1c36b206c659cf94c6755a1d821ed1babd32bc",
"versionType": "git"
},
{
"status": "affected",
"version": "5c83746a0cf2831d4b59f5cf99ef5fbf138564e4",
"lessThan": "23e4162405c456ce12c772d5882d306135e828ae",
"versionType": "git"
},
{
"status": "affected",
"version": "5c83746a0cf2831d4b59f5cf99ef5fbf138564e4",
"lessThan": "c056f817e4200fb18079d5052c273a22f191ff0a",
"versionType": "git"
}
],
"programFiles": [
"fs/nfs/blocklayout/dev.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"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": [
"fs/nfs/blocklayout/dev.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90150
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48617 · Revision 1
- Added to Heist Feed
- Publisher date