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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220825185911.GA1498335-robh@kernel.org>
Date:   Thu, 25 Aug 2022 13:59:11 -0500
From:   Rob Herring <robh@...nel.org>
To:     frowand.list@...il.com
Cc:     Rob Herring <robh+dt@...nel.org>, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org
Subject: Re: [PATCH 1/1] of: unittest: taint the kernel when of unittest runs

On Tue, 23 Aug 2022 15:01:52 -0500, frowand.list@...il.com wrote:
> From: Frank Rowand <frank.rowand@...y.com>
> 
> Make OF unittest trigger the new TAINT_TEST taint when OF unittest runs.
> Due to OF unittest not being intended to run on production systems, and
> potentially causing problems (or security issues like leaking kernel
> addresses), the kernel's state should not be considered safe for
> production use after OF unittest runs.
> 
> Signed-off-by: Frank Rowand <frank.rowand@...y.com>
> ---
> 
> Follow the precedent set by KUnit tests in v6.0-rc1:
>   commit c272612cb4a2 ("kunit: Taint the kernel when KUnit tests are run")
>   commit 2852ca7fba9f ("panic: Taint kernel if tests are run")
> 
>  drivers/of/unittest.c | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ