CVE-2025-68256: staging: rtl8723bs: fix out-of-bounds read in rtw_get_ie() parser

Published Dec 16, 2025
·
Updated

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

staging: rtl8723bs: fix out-of-bounds read in rtwgetie() parser

The Information Element (IE) parser rtwgetie() trusted the length byte of each IE without validating that the IE body (len bytes after the 2-byte header) fits inside the remaining frame buffer. A malformed frame can advertise an IE length larger than the available data, causing the parser to increment its pointer beyond the buffer end. This results in out-of-bounds reads or, depending on the pattern, an infinite loop.

Fix by validating that (offset + 2 + len) does not exceed the limit before accepting the IE or advancing to the next element.

This prevents OOB reads and ensures the parser terminates safely on malformed frames.

Affected Software

2 affected components
linux-kernel
Microsoft azl3 kernel 6.6.117.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the rtw_get_ie() IE parser to validate that the advertised IE body length fits in the remaining frame buffer: ensure (offset + 2 + len) does not exceed the limit before accepting the IE or incrementing the parser pointer.

    Linux kernel (staging: rtl8723bs) rtw_get_ie() IE length validation = Validate that (offset + 2 + len) does not exceed the remaining frame buffer limit before accepting the IE or advancing to the next element.

Event History

Dec 16, 2025
CVE Published
via MITRE·02:44 PM
Data Sourced
via MITRE·02:44 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
DescriptionSeverity
Dec 17, 2025
Data Sourced
via Microsoft·01:04 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-68256?

CVE-2025-68256 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-68256?

To fix CVE-2025-68256, ensure that you update your Linux kernel to the latest stable version that contains the patch.

3

What are the consequences of CVE-2025-68256?

CVE-2025-68256 can lead to an out-of-bounds read, potentially allowing an attacker to exploit a memory corruption issue.

4

Which versions of the Linux kernel are affected by CVE-2025-68256?

CVE-2025-68256 affects specific versions of the Linux kernel where the rtl8723bs driver is utilized.

5

How can I determine if my system is vulnerable to CVE-2025-68256?

You can determine if your system is vulnerable to CVE-2025-68256 by checking the kernel version and reviewing any installed patches.

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