# CVE-2026-46305: staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-08T15:46:32.831Z
- Modified: 2026-09-14T12:17:42.407Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc

The return value of kzalloc_flex() is used without
ensuring that the allocation succeeded, and the
pointer is dereferenced unconditionally.

Guard the access to the allocated structure to
avoid a potential NULL pointer dereference if the
allocation fails.

(As written by CVE List.)

## Affected

- Linux Linux: from 368f19a5ed15f396db4ec2182c1311a7fa4f993b before 7d4024037ee309a8f0cb86b4093d59da0e135db8; from 980cd426a25747daf8ed25e2a1904b2d26ffbb3d before 0a5f411becfb7c57aa89827213d31ef23a03d75a; from 980cd426a25747daf8ed25e2a1904b2d26ffbb3d before bc851db06045a40c18233dd76ef0562d7f8bb6db; 7.0 (not affected: before 7.0; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 7.0 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/7d4024037ee309a8f0cb86b4093d59da0e135db8>
- <https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a> (patch)
- <https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db> (patch)

## Sources

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

---

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