# CVE-2026-46075: crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-27T12:58:07.080Z
- Modified: 2026-06-24T16:59:08.560Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from da001fb651b00e1deeaf24767dd691ae8152a4f5 before 6dbeb0f788582e1ab5dfc3f41994eac0ec88c2b5; from da001fb651b00e1deeaf24767dd691ae8152a4f5 before c5a45d14234bf26e28a89e3a5dcc08336595cf11; from da001fb651b00e1deeaf24767dd691ae8152a4f5 before 775c00d87c385b758da9504cf053acea00e2ed40; from da001fb651b00e1deeaf24767dd691ae8152a4f5 before 1193c12126d39bf986a5a9214827b73707b193ab; from da001fb651b00e1deeaf24767dd691ae8152a4f5 before 31901371ccd16b42d2f167b1018ba9ae8bd5a6c7; from da001fb651b00e1deeaf24767dd691ae8152a4f5 before bab1adf3b87e4bfac92c4f5963c63db434d561c1; 5.3 (not affected: before 5.3; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.3 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/6dbeb0f788582e1ab5dfc3f41994eac0ec88c2b5> (patch)
- <https://git.kernel.org/stable/c/c5a45d14234bf26e28a89e3a5dcc08336595cf11> (patch)
- <https://git.kernel.org/stable/c/775c00d87c385b758da9504cf053acea00e2ed40> (patch)
- <https://git.kernel.org/stable/c/1193c12126d39bf986a5a9214827b73707b193ab> (patch)
- <https://git.kernel.org/stable/c/31901371ccd16b42d2f167b1018ba9ae8bd5a6c7> (patch)
- <https://git.kernel.org/stable/c/bab1adf3b87e4bfac92c4f5963c63db434d561c1> (patch)

## Sources

- CVE List: [CVE-2026-46075](https://www.cve.org/CVERecord?id=CVE-2026-46075), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46075](https://nvd.nist.gov/vuln/detail/CVE-2026-46075), Public domain, modified 2026-06-24

---

Page: https://cve.day/CVE-2026-46075 · Whole record: https://cve.day/CVE-2026-46075.json · Rebuilt by cve.day 2026-11-25T22:59:22.571Z
