Re: [PATCH] jfs : fix shift-out-of-bounds in dbUpdatePMap

From: Dave Kleikamp
Date: Wed Aug 30 2023 - 18:10:45 EST


Thanks for verifying!

On 8/30/23 11:58AM, Manas Ghandat wrote:
I checked for the v6.5. Its fixed there.

On 29/08/23 23:19, Dave Kleikamp wrote:
On 8/27/23 12:05AM, Manas Ghandat wrote:
Currently there is no bound check for number of logical blocks per
page (bmp->db_l2nbperpage). Added the required bound check for the
calculation of dmap.

This should already be fixed by 11509910c599 ("jfs: jfs_dmap: Validate db_l2nbperpage while mounting")

Can you please verify if this problem still exists in v6.5?

Shaggy