[PATCH v2] crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path
Herbert Xu
herbert at gondor.apana.org.au
Sun Mar 15 16:21:00 PDT 2026
On Sun, Mar 15, 2026 at 08:45:15PM +0100, Thorsten Blum wrote:
>
> Yes, it should be safe since explicitly unregistering the hwrng removes
> the devres entry, and the automatic devm cleanup later essentially
> becomes a no-op.
If it's safe then let's just keep it this way.
Thanks,
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list