crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.175, 6.12.86, 6.18.27, 6.6.140, 7.0.4
- CVEs
- CVE-2026-46075
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 10:24 UTC · Revision 1
Source evidence
crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path
core-osv · Original sourcePublished 27 May 2026, 12:58 UTC
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.
osv:CVE-2026-46075
Kernel
Fixed versions: 6.1.175, 6.6.140, 6.12.86, 6.18.27, 7.0.4
Complete source record
{
"id": "d2c06da982a577d03e474eff8f35a412df1bc3300e1590025814465894825b5f",
"url": "https://osv.dev/vulnerability/CVE-2026-46075",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path",
"summary": "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.",
"evidence": "osv:CVE-2026-46075",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.175",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.140",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.86",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.27",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-46075",
"aliases": [
"CVE-2026-46075"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "da001fb651b00e1deeaf24767dd691ae8152a4f5"
},
{
"fixed": "6dbeb0f788582e1ab5dfc3f41994eac0ec88c2b5"
},
{
"fixed": "c5a45d14234bf26e28a89e3a5dcc08336595cf11"
},
{
"fixed": "775c00d87c385b758da9504cf053acea00e2ed40"
},
{
"fixed": "1193c12126d39bf986a5a9214827b73707b193ab"
},
{
"fixed": "31901371ccd16b42d2f167b1018ba9ae8bd5a6c7"
},
{
"fixed": "bab1adf3b87e4bfac92c4f5963c63db434d561c1"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46075.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.3.0"
},
{
"fixed": "6.1.175"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.140"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.86"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.27"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46075.json"
}
}
],
"modified": "2026-10-28T02:30:43.965786278Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1193c12126d39bf986a5a9214827b73707b193ab",
"https://git.kernel.org/stable/c/31901371ccd16b42d2f167b1018ba9ae8bd5a6c7",
"https://git.kernel.org/stable/c/6dbeb0f788582e1ab5dfc3f41994eac0ec88c2b5",
"https://git.kernel.org/stable/c/775c00d87c385b758da9504cf053acea00e2ed40",
"https://git.kernel.org/stable/c/bab1adf3b87e4bfac92c4f5963c63db434d561c1",
"https://git.kernel.org/stable/c/c5a45d14234bf26e28a89e3a5dcc08336595cf11",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46075.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46075",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46075.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46075",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 511617,
"published_at": "2026-05-27T12:58:07.08+00:00"
}