[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6cf12bdc-e84d-4902-bd20-b14c880a2996@kernel.org>
Date: Fri, 13 Jun 2025 17:45:59 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Lyude Paul <lyude@...hat.com>, David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>, Dave Airlie <airlied@...hat.com>,
Timur Tabi <ttabi@...dia.com>, Ben Skeggs <bskeggs@...dia.com>,
dri-devel@...ts.freedesktop.org, nouveau@...ts.freedesktop.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] drm/nouveau/gsp: Fix potential integer overflow on
integer shifts
On 5/22/25 3:15 PM, Colin Ian King wrote:
> The left shift int 32 bit integer constants 1 is evaluated using 32 bit
> arithmetic and then assigned to a 64 bit unsigned integer. In the case
> where the shift is 32 or more this can lead to an overflow. Avoid this
> by shifting using the BIT_ULL macro instead.
>
> Fixes: 6c3ac7bcfcff ("drm/nouveau/gsp: support deeper page tables in COPY_SERVER_RESERVED_PDES")
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Applied to drm-misc-fixes, thanks!
Powered by blists - more mailing lists