-

CVE-2026-99599

udf: don't use eloc after the end of the unallocated space table

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

udf: don't use eloc after the end of the unallocated space table

When udf_next_aext() returns 0, its eloc, elen and etype outputs hold
no defined value.  Two walks of the unallocated space table still use
eloc after the walk has reached the end of the table.

udf_table_prealloc_blocks() looks for a free extent starting at
first_block and decides whether it found one by comparing eloc with
first_block after the walk.  If the table's list ends in a continuation
descriptor that leads to an empty allocation extent, eloc is then the
block of that allocation extent, which is in use, and if that is
first_block, the block is handed out as preallocation.  Once
udf_discard_prealloc() no longer frees the wrong block, this is what
still makes fsx in generic/091 and generic/263 read back bad data on a
table, in about one run in four.  Only take the extent if the walk
stopped at it.

When udf_table_free_blocks() cannot merge the freed blocks into an
existing extent, it appends a new one and sets only its block number,
so the partition reference comes from whatever eloc held after the
walk, and with long allocation descriptors it is written to disk.  For
a table without extents, eloc was never set.  Take the partition
reference from the freed blocks instead.  Short allocation descriptors
do not store the partition reference, which is why this half remains a
latent long-descriptor fix rather than a reproduced failure.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < f0800bc874077d48a3e7e2c689ac0dcbab805164
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 28c14f0297aa03259460825de8712942f25d1e8f
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 41fe9bee3e6bf5942a97e5ab64696ea1d5784118
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 82c92d7772d58d0d2f49328b7b846b79db33de91
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 0ceb311c0f7af4f4b38fc1066178b84a60d61a05
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 812d49a09ce0a8fcc784349d6a95e975a4af51cf
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 9ecd3d7ed7d7a57ee6af27dc22be0b3fdc9526f7
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 94401199df90e1c2a50c6e4b73618ac5a4ba83ba
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 2.6.12
Status affected
Version 0
Version < 2.6.12
Status unaffected
Version <= 5.10.*
Version 5.10.275
Status unaffected
Version <= 5.15.*
Version 5.15.226
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.118
Status unaffected
Version <= 6.18.*
Version 6.18.64
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.063
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/0ceb311c0f7af4f4b38fc1066178b84a60d61a05
https://git.kernel.org/stable/c/812d49a09ce0a8fcc784349d6a95e975a4af51cf
https://git.kernel.org/stable/c/9ecd3d7ed7d7a57ee6af27dc22be0b3fdc9526f7
https://git.kernel.org/stable/c/94401199df90e1c2a50c6e4b73618ac5a4ba83ba
https://git.kernel.org/stable/c/28c14f0297aa03259460825de8712942f25d1e8f
https://git.kernel.org/stable/c/41fe9bee3e6bf5942a97e5ab64696ea1d5784118
https://git.kernel.org/stable/c/82c92d7772d58d0d2f49328b7b846b79db33de91
https://git.kernel.org/stable/c/f0800bc874077d48a3e7e2c689ac0dcbab805164