lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 8 Jan 2021 07:32:37 -0800
From:   Guenter Roeck <>
To:     David Arcari <>
        Naveen Krishna Chatradhi <>,
        Jean Delvare <>,,
Subject: Re: [PATCH] hwmon: (amd_energy) fix allocation of hwmon_channel_info

On Thu, Jan 07, 2021 at 09:47:07AM -0500, David Arcari wrote:
> hwmon, specifically hwmon_num_channel_attrs, expects the config
> array in the hwmon_channel_info structure to be terminated by
> a zero entry.  amd_energy does not honor this convention.  As
> result, a KASAN warning is possible.  Fix this by adding an
> additional entry and setting it to zero.
> Fixes: 8abee9566b7e ("hwmon: Add amd_energy driver to report energy counters")
> Signed-off-by: David Arcari <>
> Cc: Naveen Krishna Chatradhi <>
> Cc: Jean Delvare <>
> Cc: Guenter Roeck <>
> Cc:
> Cc:
> Signed-off-by: David Arcari <>
> Acked-by: Naveen Krishna Chatradhi <>



Powered by blists - more mailing lists