CVE-2026-46075 PUBLISHED

crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path

Assigner: Linux
Reserved: 13.05.2026 Published: 27.05.2026 Updated: 27.05.2026

In the Linux kernel, the following vulnerability has been resolved:

crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path

Unregister the hwrng to prevent new ->read() calls and flush the Atmel I2C workqueue before teardown to prevent a potential UAF if a queued callback runs while the device is being removed.

Drop the early return to ensure sysfs entries are removed and ->hwrng.priv is freed, preventing a memory leak.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from da001fb651b00e1deeaf24767dd691ae8152a4f5 to c5a45d14234bf26e28a89e3a5dcc08336595cf11 (excl.)
  • affected from da001fb651b00e1deeaf24767dd691ae8152a4f5 to 775c00d87c385b758da9504cf053acea00e2ed40 (excl.)
  • affected from da001fb651b00e1deeaf24767dd691ae8152a4f5 to 1193c12126d39bf986a5a9214827b73707b193ab (excl.)
  • affected from da001fb651b00e1deeaf24767dd691ae8152a4f5 to 31901371ccd16b42d2f167b1018ba9ae8bd5a6c7 (excl.)
  • affected from da001fb651b00e1deeaf24767dd691ae8152a4f5 to bab1adf3b87e4bfac92c4f5963c63db434d561c1 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.3 is affected
  • unaffected from 0 to 5.3 (excl.)
  • unaffected from 6.6.140 to 6.6.* (incl.)
  • unaffected from 6.12.86 to 6.12.* (incl.)
  • unaffected from 6.18.27 to 6.18.* (incl.)
  • unaffected from 7.0.4 to 7.0.* (incl.)
  • unaffected from 7.1-rc1 to * (incl.)

References