Re: [PATCH] jfs: validate l2nbperpage in diMount to prevent shift-out-of-bounds
From: Yun Zhou
Date: Mon Jun 01 2026 - 08:44:35 EST
On Fri, Apr 18, 2026, Tristan Madani <tristmd@xxxxxxxxx> wrote:
> Add validation of l2nbperpage against reasonable bounds before using it
> in arithmetic operations.
The fix looks correct to me. Minor nit: the subject and commit message
say "l2nbperpage" but the actual field being validated is
"im_l2nbperiext" (and im_nbperiext). Could you respin with the
corrected naming?
Reviewed-by: Yun Zhou <yun.zhou@xxxxxxxxxxxxx>