Bug 2494101 (CVE-2026-13595) - CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing
Summary: CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested...
Keywords:
Status: NEW
Alias: CVE-2026-13595
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2494103
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-29 07:41 UTC by OSIDB Bzimport
Modified: 2026-11-19 17:35 UTC (History)
24 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:100518 0 None None None 2026-11-19 17:35:26 UTC
Red Hat Product Errata RHBA-2026:99641 0 None None None 2026-11-12 13:45:09 UTC
Red Hat Product Errata RHBA-2026:99921 0 None None None 2026-11-12 22:40:37 UTC
Red Hat Product Errata RHSA-2026:93461 0 None None None 2026-11-02 04:59:35 UTC
Red Hat Product Errata RHSA-2026:96212 0 None None None 2026-11-09 10:05:28 UTC
Red Hat Product Errata RHSA-2026:97522 0 None None None 2026-11-10 13:36:18 UTC
Red Hat Product Errata RHSA-2026:99119 0 None None None 2026-11-12 03:36:54 UTC

Description OSIDB Bzimport 2026-06-29 07:41:05 UTC
A heap use-after-free vulnerability was found in libblkid's nested partition probing code in util-linux. The probe_bsd_pt() function in libblkid/src/partitions/bsd.c caches a blkid_partition parent pointer into the partlist's heap-allocated parts[] array, then loops calling blkid_partlist_add_partition(), which may reallocarray() the same array. After reallocation, the stale parent pointer is dereferenced via blkid_partition_get_start() — an 8-byte heap use-after-free read. The same dangling-pointer pattern exists in the minix, solaris_x86, and unixware nested probers.

A crafted 2 MiB DOS/MBR disk image with three BSD-typed primaries (each holding >=16 slices) plus an md-raid 0.90 superblock triggers the issue via stock blkid -p. libblkid runs as root via udev/udisks on every block-device hot-plug event.

Upstream fix: https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c

Comment 3 Jon Orris 2026-11-02 04:59:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:93461 https://access.redhat.com/errata/RHSA-2026:93461

Comment 5 errata-xmlrpc 2026-11-09 10:05:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:96212 https://access.redhat.com/errata/RHSA-2026:96212

Comment 6 errata-xmlrpc 2026-11-10 13:36:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:97522 https://access.redhat.com/errata/RHSA-2026:97522

Comment 7 errata-xmlrpc 2026-11-12 03:36:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:99119 https://access.redhat.com/errata/RHSA-2026:99119


Note You need to log in before you can comment on or make changes to this bug.