# CVE-2026-93163: hwrng: core - fix rng list on registration error

- Severity: not scored yet
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:11:56.570Z
- Modified: 2026-10-30T13:20:58.657Z
- Assigned by: Linux

## Description

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

hwrng: core - fix rng list on registration error

hwrng_register(rng) does the following:

1. Checks if rng has name and read methods set
2. Checks if the name already exists
3. Adds rng to global rng_list
4. 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2bbb6983887fefc8026beab01198d30f47b7bd22 before 30b2cc2966dac87ee95a99c49e28486c2a8129cd; from 2bbb6983887fefc8026beab01198d30f47b7bd22 before e37c67f768234e14cd6ea3b081568dd915c5b67e; from 2bbb6983887fefc8026beab01198d30f47b7bd22 before de4f1bcb61a73cc896decdbd27d61a34add93b53; from 2bbb6983887fefc8026beab01198d30f47b7bd22 before cf293c9c7424de0d04b51367d07f40570ce80231; from 2bbb6983887fefc8026beab01198d30f47b7bd22 before bee8d1fcdc8f389b595b0a4cf6fe8440f499458a; from 2bbb6983887fefc8026beab01198d30f47b7bd22 before 3a5834db2b1ce25649f330e78efe1ccde78967fd; 42802952a2725f85f7e36ee3b29593af5fe87197; from 4.9.320 before 4.10; 4.14 (not affected: before 4.14; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/30b2cc2966dac87ee95a99c49e28486c2a8129cd>
- <https://git.kernel.org/stable/c/e37c67f768234e14cd6ea3b081568dd915c5b67e>
- <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>

## Sources

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

---

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