# CVE-2026-90150: pnfs/blocklayout: Fix device leaks on parse failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-09-17T16:06:44.320Z
- Modified: 2026-10-30T13:20:43.603Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 before 710ae187a5d490a894054d17645cf5c83d37dfbf; from 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 before 51d162dfb618f6cf3aa5e331c0305e27771ad884; from 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 before 8a2494964edac2a13e82441c2bf887548dc3be0b; from 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 before 1e1c36b206c659cf94c6755a1d821ed1babd32bc; from 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 before 23e4162405c456ce12c772d5882d306135e828ae; from 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 before c056f817e4200fb18079d5052c273a22f191ff0a; 3.18 (not affected: before 3.18; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/710ae187a5d490a894054d17645cf5c83d37dfbf>
- <https://git.kernel.org/stable/c/51d162dfb618f6cf3aa5e331c0305e27771ad884>
- <https://git.kernel.org/stable/c/8a2494964edac2a13e82441c2bf887548dc3be0b>
- <https://git.kernel.org/stable/c/1e1c36b206c659cf94c6755a1d821ed1babd32bc>
- <https://git.kernel.org/stable/c/23e4162405c456ce12c772d5882d306135e828ae>
- <https://git.kernel.org/stable/c/c056f817e4200fb18079d5052c273a22f191ff0a>

## Sources

- CVE List: [CVE-2026-90150](https://www.cve.org/CVERecord?id=CVE-2026-90150), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90150](https://nvd.nist.gov/vuln/detail/CVE-2026-90150), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90150 · Whole record: https://cve.day/CVE-2026-90150.json · Rebuilt by cve.day 2026-11-25T22:59:39.319Z
