lkml.org 
[lkml]   [2022]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] clk: bcm: rpi: Fix an out-of-bound access to raspberrypi_clk_variants
From
Hi Xu,

Am 08.10.22 um 16:45 schrieb Xu Kuohai:
> From: Xu Kuohai <xukuohai@huawei.com>
>
> KASAN reports an out-of-bound access to raspberrypi_clk_variants[]:
>
> ==================================================================
> BUG: KASAN: global-out-of-bounds in raspberrypi_clk_probe+0x1dc/0x690
> Read of size 1 at addr ffffcc7116d615a0 by task kworker/u8:0/8
>
> CPU: 1 PID: 8 Comm: kworker/u8:0 Not tainted 6.0.0-rc3-00900-g08f4df4a3c53 raspberrypi#10

this kernel is a little bit older and doesn't contain bc163555603e
("clk: bcm: rpi: Prevent out-of-bounds access").

Can you please check Linux 6.0?

Best regards

\
 
 \ /
  Last update: 2022-10-08 19:08    [W:0.025 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site