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-next>] [day] [month] [year] [list]
Message-Id: <20230208203711.951845-1-saeed.mirzamohammadi@oracle.com>
Date:   Wed,  8 Feb 2023 12:37:10 -0800
From:   Saeed Mirzamohammadi <saeed.mirzamohammadi@...cle.com>
To:     stable@...r.kernel.org
Cc:     saeed.mirzamohammadi@...cle.com,
        Herbert Xu <herbert@...dor.apana.org.au>,
        "David S. Miller" <davem@...emloft.net>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Alexandre Torgue <alexandre.torgue@...s.st.com>,
        Eric Biggers <ebiggers@...gle.com>,
        linux-crypto@...r.kernel.org,
        linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH stable 0/1] crypto: testmgr - don't generate WARN for missing modules

I'm backporting the following stable patch to v5.11+ branches.

Commit Data:
  commit-id        : a76bd86a85cac9feddc66d38019f943d054f0218
  subject          : crypto: testmgr - don't generate WARN for missing modules
  author           : elliott@....com
  author date      : 2022-08-13 23:14:43
  committer        : herbert@...dor.apana.org.au
  committer date   : 2022-08-19 10:39:39

We observed the same WARN issue when loading the tcrypt module in a v5.15 kernel:

[   84.577572] modprobe tcrypt
[   84.920899] alg: skcipher: failed to allocate transform for ecb(cast5): -2
[   84.923050] ------------[ cut here ]------------
[   84.924541] alg: self-tests for ecb(cast5) (ecb(cast5)) failed (rc=-2)
[   84.924557] WARNING: CPU: 0 PID: 3910 at crypto/testmgr.c:5681 alg_test+0x344/0x5d8

This patch fixes this issue.

Robert Elliott (1):
  crypto: testmgr - don't generate WARN for missing modules

 crypto/testmgr.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.39.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ