[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cn34qjr6ozsb7sgmomgd2srdxsl5n6eruihdaqa3yhtqfsrcjn@zzq6lmghwipx>
Date: Tue, 25 Mar 2025 12:24:41 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Anastasia Belova <abelova@...ralinux.ru>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Minchan Kim <minchan@...nel.org>, Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH] mm/zsmalloc: prevent integer overflow in obj_free
On (25/03/20 12:12), Anastasia Belova wrote:
> If address (and unsigned long) is 64-bit, the result of multiplication
> won't fit 32-bit integer. Please correct me if I'm wrong.
Even if we'd consider s32 that should be an object offset of more
than 2B bytes within its zspage, we never have anything like this.
Powered by blists - more mailing lists