All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] fs/iso9660: Fix out-of-bounds read
@ 2023-01-18  8:23 Lidong Chen
  2023-01-18  8:23 ` [PATCH v2 1/5] fs/iso9660: Add check to prevent infinite loop Lidong Chen
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Lidong Chen @ 2023-01-18  8:23 UTC (permalink / raw)
  To: grub-devel; +Cc: scdbackup, daniel.kiper, fengtao40, yanan, lichenca2005


This is the v2 patches set which addressed the review comments 
from Thomas Schmitt. Many thanks to Thomas for the review
comments as well as the detailed explanation and test instruction. 

Patch 0005 is a new patch addressing an old bug pointed out
by Thomas. Thanks Thomas for providing the fix.

Thomas also pointed out the issue of the potential endless
loops by CE. Since the sugguested fix requires a bit more 
investigation, and as Thomas pointed out that it should be
handled in a separate patch, the fix is not included in this
this v2 patches set. Because I am not an expert, it would 
be better that someone else can work on it. For the background
info and the comments, please see this email. The bottom half
of the email addressed the endless loop issue:

https://www.mail-archive.com/grub-devel@gnu.org/msg35785.html

For the testing, it passed grub-fstest and make check. The fuzz
test (ran for 2 days) confirmed that the patches fixed the issues. 

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 | 96 +++++++++++++++++++++++++++++++++++++++---
 1 file changed, 89 insertions(+), 7 deletions(-)

-- 
2.35.1



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-01-20 19:31 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-18  8:23 [PATCH v2 0/5] fs/iso9660: Fix out-of-bounds read Lidong Chen
2023-01-18  8:23 ` [PATCH v2 1/5] fs/iso9660: Add check to prevent infinite loop Lidong Chen
2023-01-18 16:07   ` Thomas Schmitt
2023-01-19  1:34     ` Lidong Chen
2023-01-18  8:23 ` [PATCH v2 2/5] fs/iso9660: Prevent read past the end of system use area Lidong Chen
2023-01-18 16:12   ` Thomas Schmitt
2023-01-18  8:23 ` [PATCH v2 3/5] fs/iso9660: Avoid reading past the entry boundary Lidong Chen
2023-01-18 16:14   ` Thomas Schmitt
2023-01-18  8:23 ` [PATCH v2 4/5] fs/iso9660: Incorrect check for " Lidong Chen
2023-01-18 16:17   ` Thomas Schmitt
2023-01-18  8:23 ` [PATCH v2 5/5] fs/iso9660: Prevent skipping CE or ST at start of continuation area Lidong Chen
2023-01-18 16:21   ` Thomas Schmitt
2023-01-19  1:25     ` Lidong Chen
2023-01-18 16:31 ` [PATCH v2 0/5] fs/iso9660: Fix out-of-bounds read Thomas Schmitt
2023-01-19  1:22   ` Lidong Chen
2023-01-19 11:58     ` Thomas Schmitt
2023-01-20  2:29       ` Lidong Chen
2023-01-20 11:49         ` Thomas Schmitt
2023-01-20 19:31           ` Lidong Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.