CVE-2026-93163
N/A
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
hwrng: core - fix rng list on registration error
hwrng_register(rng) does the following:
- Checks if rng has name and read methods set
- Checks if the name already exists
- Adds rng to global rng_list
- May try to set rng to current_rng
If step 4 fails, it returns an error. However, it does not remove the rng from rng_list, causing a dangling reference which can result in use-after-free if the caller frees rng, since registration failed.
Add a list_del_init() cleanup step.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 2bbb6983887fefc8026beab01198d30f47b7bd22 < de4f1bcb61a73cc896decdbd27d61a34add93b53 | affected |
| Linux | Linux | 2bbb6983887fefc8026beab01198d30f47b7bd22 < cf293c9c7424de0d04b51367d07f40570ce80231 | affected |
| Linux | Linux | 2bbb6983887fefc8026beab01198d30f47b7bd22 < bee8d1fcdc8f389b595b0a4cf6fe8440f499458a | affected |
| Linux | Linux | 2bbb6983887fefc8026beab01198d30f47b7bd22 < 3a5834db2b1ce25649f330e78efe1ccde78967fd | affected |
| Linux | Linux | 42802952a2725f85f7e36ee3b29593af5fe87197 | affected |
| Linux | Linux | 4.9.320 < 4.10 | affected |
| Linux | Linux | 4.14 | affected |
| Linux | Linux | 0 < 4.14 | unaffected |
| Linux | Linux | 6.12.110 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.52 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.6 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/de4f1bcb61a73cc896decdbd27d61a34add93b53
- https://git.kernel.org/stable/c/cf293c9c7424de0d04b51367d07f40570ce80231
- https://git.kernel.org/stable/c/bee8d1fcdc8f389b595b0a4cf6fe8440f499458a
- https://git.kernel.org/stable/c/3a5834db2b1ce25649f330e78efe1ccde78967fd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.