CVE 7.8 HIGH

udf: fix partition descriptor append bookkeeping_CVE-2026-45991

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved:

udf: fix partition descriptor append bookkeeping

Mounting a crafted UDF image with repeated partition descriptors can
trigger a heap out-of-bounds write in part_descs_loc[].

handle_partition_descriptor() deduplicates entries by partition number,
but appended slots never record partnum. As a result duplicate
Partition Descriptors are appended repeatedly and num_part_descs keeps
growing.

Once the table is full, the growth path still sizes the allocation from
partnum even though inserts are indexed by num_part_descs. If partnum is
already aligned to PART_DESC_ALLOC_STEP, ALIGN(partnum, step) can keep
the old capacity and the next append writes past the end of the table.

Store partnum in the appended slot and size growth from the next append
count so deduplication and capacity tracking follow the same model.

Basic Information

ID CVE-2026-45991
Source Linux
Published May 27, 2026 at 12:55
Modified May 30, 2026 at 10:46

Affected Product

Vendor Linux
Product Linux
Version ee4af50ca94f58afc3532662779b9cf80bbe27c8
Affected Versions Linux Linux ee4af50ca94f58afc3532662779b9cf80bbe27c8
Linux Linux ee4af50ca94f58afc3532662779b9cf80bbe27c8
Linux Linux ee4af50ca94f58afc3532662779b9cf80bbe27c8
Linux Linux ee4af50ca94f58afc3532662779b9cf80bbe27c8
Linux Linux 7f401f160a9c7a1ff84ba3cb9b2f636d1f5cfb6b
Linux Linux 4.18.7
Linux Linux 4.19

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.