Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2023 22:02:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258063] Kernel panic from a corrupt cd9660 image.
Message-ID:  <bug-258063-227-MponMfEes6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258063-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258063-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258063

John Baldwin <jhb@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhb@FreeBSD.org
           Assignee|bugs@FreeBSD.org            |jhb@FreeBSD.org

--- Comment #2 from John Baldwin <jhb@FreeBSD.org> ---
The root issue I believe is that the cd9660 vfs doesn't support volumes whe=
re
the logical block size in the primary volume descriptor is smaller than the
sector size of the underlying medium.  Fixing this would require auditing a=
ll
the places that call bread*/bwrite* in cd9660 and fixing them to align requ=
ests
on the underlying sector boundary, both by rounding up the size but also by
possibly using an offset into the buf's b_data.

Rather than solve that bigger problem, I've just added a check during mount=
 to
reject such volumes in the proposed patch at https://reviews.freebsd.org/D4=
1228

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258063-227-MponMfEes6>