Skip to content

fs/iso9660: Fix out-of-bounds read

Lidong Chen grub-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 9 repliesIn review
  2. v25 patches 13 repliesSuperseded
  3. v14 patches 23 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fs/iso9660: Add check to prevent infinite loopgrub-core/fs/iso9660.c+21 -02 replies
2/5fs/iso9660: Prevent read past the end of system use areagrub-core/fs/iso9660.c+27 -30 replies
3/5fs/iso9660: Avoid reading past the entry boundarygrub-core/fs/iso9660.c+14 -20 replies
4/5fs/iso9660: Incorrect check for entry boundarygrub-core/fs/iso9660.c+15 -20 replies
5/5fs/iso9660: Prevent skipping CE or ST at start of continuation areagrub-core/fs/iso9660.c+16 -01 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchThomas SchmittLidong Chen
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] fs/iso9660: Fix out-of-bounds read

This v3 patches set addressed v2 review comments for patch 5. There is no changes to patch 1 to 4. Tested patch 5, the fixes were able to detect the endless loop, and Grub exited accordingly.

Lidong Chen (5):
fs/iso9660: Add check to prevent infinite loop fs/iso9660: Prevent read past the end of system use area fs/iso9660: Avoid reading past the entry boundary fs/iso9660: Incorrect check for entry boundary fs/iso9660: Prevent skipping CE or ST at start of continuation area

 grub-core/fs/iso9660.c | 100 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 93 insertions(+), 7 deletions(-)
Signature · 1 line
2.35.1