5.5medium
staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 7.0 before 7.0.7, 7.1 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: staging: rtl8723bs: os_dep: evitar la desreferencia de puntero NULL en rtw_cbuf_alloc El valor de retorno de kzalloc_flex() se utiliza sin asegurar que la asignación haya tenido éxito, y el puntero es desreferenciado incondicionalmente. Proteger el acceso a la estructura asignada para evitar una potencial desreferencia de puntero NULL si la asignación falla.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46305 changed 2026-09-14 | CVE Terms of Use |
| NVD | CVE-2026-46305 changed 2026-09-14 | Public domain |