Re: [PATCH] crypto: ahash - Disable request chaining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Herbert,

On 15:14-20250411, Herbert Xu wrote:
> On Fri, Apr 11, 2025 at 11:44:17AM +0530, Manorit Chawdhry wrote:
> > 
> > Maybe it's not the chaining but the way chaining was implemented that
> > requires us to start using these correct API helpers otherwise we crash
> > so I think we would require the following patch.
> 
> You're right.  This needs to be disabled more thoroughly for 6.15.
> Please try this patch:
> 
> ---8<---
> Disable hash request chaining in case a driver that copies an
> ahash_request object by hand accidentally triggers chaining.
> 
> Reported-by: Manorit Chawdhry <m-chawdhry@xxxxxx>
> Fixes: f2ffe5a9183d ("crypto: hash - Add request chaining API")
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> 

This fixes it, thanks!

root@j721e-evm:~# uname -a
Linux j721e-evm 6.15.0-rc1-00001-gdcd7f62f8e5e-dirty #4 SMP PREEMPT Fri Apr 11 13:18:03 IST 2025 aarch64 GNU/Linux
root@j721e-evm:~# modprobe sa2ul
[  414.110972] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c

Tested-by: Manorit Chawdhry <m-chawdhry@xxxxxx>

Regards,
Manorit




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux