udf: fix partition descriptor append bookkeeping
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e8474cfbac9ada2cdaa4eaedec22aadfa0f58559, Kernel 4.19, Kernel 058b451b1039f056d1362c4fec2229e522366ab0 and 13 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <e8474cfbac9ada2cdaa4eaedec22aadfa0f58559, >=4.18.7 <4.19, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <058b451b1039f056d1362c4fec2229e522366ab0, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <08841b06fa64d8edbd1a21ca6e613420c90cc4b8, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <08fa5d818e5bf53c7ca234d88ba334f32004e9b6, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <68013a9bd4c01acd42073715f00e1a1992f089ee, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <73df74544b55241dca5dd788523e6f5f10bd2b9b, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <ad3c0c4400686f6f37b382aaa48fac2b9aefccbe, >=ee4af50ca94f58afc3532662779b9cf80bbe27c8 <b5597bb83fc37b5b5da74a4453fa920b932cf39a, =4.19, =7f401f160a9c7a1ff84ba3cb9b2f636d1f5cfb6b | e8474cfbac9ada2cdaa4eaedec22aadfa0f58559, 4.19, 058b451b1039f056d1362c4fec2229e522366ab0, 08841b06fa64d8edbd1a21ca6e613420c90cc4b8, 08fa5d818e5bf53c7ca234d88ba334f32004e9b6, 68013a9bd4c01acd42073715f00e1a1992f089ee, 73df74544b55241dca5dd788523e6f5f10bd2b9b, ad3c0c4400686f6f37b382aaa48fac2b9aefccbe, b5597bb83fc37b5b5da74a4453fa920b932cf39a |
| linux-kernel: Kernel | >=4.19.0 <5.10.259, >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.57, >=6.19.0 <7.0.4, >=6.2.0 <6.6.140, >=6.7.0 <6.12.88, >=4.18.7 <4.19 | 5.10.259, 5.15.210, 6.1.176, 6.18.57, 7.0.4, 6.6.140, 6.12.88, 4.19 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket