CVE-2026-46305
staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc
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.
INFO
Published Date :
June 8, 2026, 5:16 p.m.
Last Modified :
July 23, 2026, 8:10 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Check kzalloc_flex() return value for NULL.
- Guard access to allocated structure.
- Apply the resolved kernel patch.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-46305.
| URL | Resource |
|---|---|
| https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a | Patch |
| https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db | Patch |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-46305 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-46305
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-46305 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-46305 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 23, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: 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. -
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 7.0 up to (excluding) 7.0.7 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '980cd426a25747daf8ed25e2a1904b2d26ffbb3d', 'lessThan': '0a5f411becfb7c57aa89827213d31ef23a03d75a', 'versionType': 'git'}, {'status': 'affected', 'version': '980cd426a25747daf8ed25e2a1904b2d26ffbb3d', 'lessThan': 'bc851db06045a40c18233dd76ef0562d7f8bb6db', 'versionType': 'git'}], 'programFiles': ['drivers/staging/rtl8723bs/os_dep/osdep_service.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7.0'}, {'status': 'unaffected', 'version': '0', 'lessThan': '7.0', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '7.0.7', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/staging/rtl8723bs/os_dep/osdep_service.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 08, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a Added Reference https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db