lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230124154053.355376-1-pierre.gondois@arm.com>
Date:   Tue, 24 Jan 2023 16:40:45 +0100
From:   Pierre Gondois <pierre.gondois@....com>
To:     linux-kernel@...r.kernel.org
Cc:     Geert Uytterhoeven <geert@...ux-m68k.org>,
        Conor Dooley <conor.dooley@...rochip.com>,
        Dan Carpenter <error27@...il.com>,
        Pierre Gondois <pierre.gondois@....com>,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Sudeep Holla <sudeep.holla@....com>,
        Jeremy Linton <jeremy.linton@....com>,
        Akihiko Odaki <akihiko.odaki@...nix.com>,
        Palmer Dabbelt <palmer@...osinc.com>,
        Gavin Shan <gshan@...hat.com>,
        linux-arm-kernel@...ts.infradead.org
Subject: [PATCH -next v2 0/3] cacheinfo: Fix misbehaviours around init_cache_level()

v2:
https://lore.kernel.org/all/20230124123450.321852-1-pierre.gondois@arm.com/
- Split initial patch in 3.
- Add links to static-analysis reports.

Some cases were not correctly evaluated when updating
init_cache_level()'s prototype, in particular if CONFIG_ACPI_PPTT is
not defined. Fix them.

The initial diagnostic was done thanks to:
- the kernel test robot <lkp@...el.com>
Link: https://lore.kernel.org/all/202301052307.JYt1GWaJ-lkp@intel.com/
- Dan Carpenter <error27@...il.com>
Link: https://lore.kernel.org/all/Y86iruJPuwNN7rZw@kili/

Pierre Gondois (3):
  cacheinfo: Initialize variables in fetch_cache_info()
  cacheinfo: Make default acpi_get_cache_info() return an error
  cacheinfo: Remove unused check in init_cache_level()

 arch/arm64/kernel/cacheinfo.c | 5 +----
 drivers/base/cacheinfo.c      | 2 +-
 include/linux/cacheinfo.h     | 2 +-
 3 files changed, 3 insertions(+), 6 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ