{"id":"CVE-2026-93163","summary":"hwrng: core - fix rng list on registration error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: core - fix rng list on registration error\n\nhwrng_register(rng) does the following:\n\n1. Checks if rng has name and read methods set\n2. Checks if the name already exists\n3. Adds rng to global rng_list\n4. May try to set rng to current_rng\n\nIf step 4 fails, it returns an error. However, it does not remove the\nrng from rng_list, causing a dangling reference which can result in\nuse-after-free if the caller frees rng, since registration failed.\n\nAdd a list_del_init() cleanup step.","modified":"2026-11-13T04:07:15.345537982Z","published":"2026-09-17T16:11:56.570Z","related":["openSUSE-SU-2026:11880-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93163.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/30b2cc2966dac87ee95a99c49e28486c2a8129cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a5834db2b1ce25649f330e78efe1ccde78967fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bee8d1fcdc8f389b595b0a4cf6fe8440f499458a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf293c9c7424de0d04b51367d07f40570ce80231"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de4f1bcb61a73cc896decdbd27d61a34add93b53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e37c67f768234e14cd6ea3b081568dd915c5b67e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93163.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93163"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2bbb6983887fefc8026beab01198d30f47b7bd22"},{"fixed":"30b2cc2966dac87ee95a99c49e28486c2a8129cd"},{"fixed":"e37c67f768234e14cd6ea3b081568dd915c5b67e"},{"fixed":"de4f1bcb61a73cc896decdbd27d61a34add93b53"},{"fixed":"cf293c9c7424de0d04b51367d07f40570ce80231"},{"fixed":"bee8d1fcdc8f389b595b0a4cf6fe8440f499458a"},{"fixed":"3a5834db2b1ce25649f330e78efe1ccde78967fd"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"42802952a2725f85f7e36ee3b29593af5fe87197"}]}],"versions":["v4.9.337","v4.9.336","v4.9.335","v4.9.334","v4.9.333","v4.9.332","v4.9.331","v4.9.330","v4.9.329","v4.9.328","v4.9.327","v4.9.326","v4.9.325","v4.9.324","v4.9.323","v4.9.322","v4.9.321","v4.9.320"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-93163.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.9.320"},{"fixed":"4.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-93163.json"}}],"schema_version":"1.9.2"}