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

Published Jun 8, 2026
·
Updated

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

staging: rtl8723bs: osdep: avoid NULL pointer dereference in rtwcbufalloc

The return value of kzallocflex() 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 Software

4 affected components
Linux Linux kernel (rtl8723bs driver)
Linux Linux kernel>=7.0<7.0.7
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    If applicable in your environment, ensure the code path that calls rtw_cbuf_alloc only proceeds after verifying kzalloc_flex() succeeded to prevent NULL pointer dereference.

Event History

Jun 8, 2026
CVE Published
via MITRE·03:46 PM
Data Sourced
via MITRE·03:46 PM
Description
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46305?

CVE-2026-46305 has a risk severity score of 15, indicating a critical vulnerability.

2

What is CVE-2026-46305 about?

CVE-2026-46305 addresses a NULL pointer dereference vulnerability in the Linux kernel's rtl8723bs driver.

3

How do I fix CVE-2026-46305?

To fix CVE-2026-46305, ensure that you apply the latest patches and updates to the Linux kernel that address this vulnerability.

4

Which software is affected by CVE-2026-46305?

CVE-2026-46305 affects the Linux kernel specifically related to the rtl8723bs driver.

5

What causes the vulnerability in CVE-2026-46305?

The vulnerability in CVE-2026-46305 is caused by a failure to check the return value of kzalloc_flex(), leading to a potential NULL pointer dereference.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203