All reports
Medium

kernel: pnfs/blocklayout: Fix device leaks on parse failure

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-90150

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-25

Description

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.

A flaw was found in the Linux kernel's pnfs/blocklayout component. When parsing certain device layouts, specifically in the bl_parse_concat() and bl_parse_stripe() functions, a failure to parse a child device could result in the device not being properly released. This can lead to resource leaks, potentially causing system instability or a Denial of Service (DoS). Additionally, the bl_parse_scsi() function could fail in a way that leads to a double release of file references, further contributing to system instability.