CVE-2026-90150

pnfs/blocklayout: Fix device leaks on parse failure

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 to before 710ae187a5d490a894054d17645cf5c83d37dfbfAffected
  • 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 to before 51d162dfb618f6cf3aa5e331c0305e27771ad884Affected
  • 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 to before 8a2494964edac2a13e82441c2bf887548dc3be0bAffected
  • 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 to before 1e1c36b206c659cf94c6755a1d821ed1babd32bcAffected
  • 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 to before 23e4162405c456ce12c772d5882d306135e828aeAffected
  • 5c83746a0cf2831d4b59f5cf99ef5fbf138564e4 to before c056f817e4200fb18079d5052c273a22f191ff0aAffected
LinuxLinux
  • 3.18Affected
  • before 3.18Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.