{"id":"CVE-2026-46305","state":"PUBLISHED","title":"staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc","description":"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.","publishedAt":"2026-06-08T15:46:32.831Z","updatedAt":"2026-09-14T11:58:25.835Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"368f19a5ed15f396db4ec2182c1311a7fa4f993b","status":"affected","lessThan":"7d4024037ee309a8f0cb86b4093d59da0e135db8","versionType":"git"},{"version":"980cd426a25747daf8ed25e2a1904b2d26ffbb3d","status":"affected","lessThan":"0a5f411becfb7c57aa89827213d31ef23a03d75a","versionType":"git"},{"version":"980cd426a25747daf8ed25e2a1904b2d26ffbb3d","status":"affected","lessThan":"bc851db06045a40c18233dd76ef0562d7f8bb6db","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/os_dep/osdep_service.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.0.7","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/os_dep/osdep_service.c"]}],"references":["https://git.kernel.org/stable/c/7d4024037ee309a8f0cb86b4093d59da0e135db8","https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a","https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46305.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46305","state":"PUBLISHED","datePublished":"2026-06-08T15:46:32.831Z","dateUpdated":"2026-09-14T11:58:25.835Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.111Z"},"containers":{"cna":{"title":"staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"368f19a5ed15f396db4ec2182c1311a7fa4f993b","status":"affected","lessThan":"7d4024037ee309a8f0cb86b4093d59da0e135db8","versionType":"git"},{"version":"980cd426a25747daf8ed25e2a1904b2d26ffbb3d","status":"affected","lessThan":"0a5f411becfb7c57aa89827213d31ef23a03d75a","versionType":"git"},{"version":"980cd426a25747daf8ed25e2a1904b2d26ffbb3d","status":"affected","lessThan":"bc851db06045a40c18233dd76ef0562d7f8bb6db","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/os_dep/osdep_service.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.0.7","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/os_dep/osdep_service.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7d4024037ee309a8f0cb86b4093d59da0e135db8"},{"url":"https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a"},{"url":"https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-09-14T11:58:25.835Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}