{"id":"CVE-2026-46305","summary":"staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc\n\nThe return value of kzalloc_flex() is used without\nensuring that the allocation succeeded, and the\npointer is dereferenced unconditionally.\n\nGuard the access to the allocated structure to\navoid a potential NULL pointer dereference if the\nallocation fails.","modified":"2026-07-10T03:53:55.105570050Z","published":"2026-06-08T15:46:32.831Z","related":["openSUSE-SU-2026:11014-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46305.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46305.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46305"},{"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":"980cd426a25747daf8ed25e2a1904b2d26ffbb3d"},{"fixed":"0a5f411becfb7c57aa89827213d31ef23a03d75a"},{"fixed":"bc851db06045a40c18233dd76ef0562d7f8bb6db"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46305.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46305.json"}}],"schema_version":"1.7.5"}