CVE-2026-43225

staging: rtl8723bs: fix memory leak on failure path

MEDIUM
5.5
CVSS Score
Published: May 6, 2026 at 11:28 AM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix memory leak on failure path cfg80211_inform_bss_frame() may return NULL on failure. In that case, the allocated buffer 'buf' is not freed and the function returns early, leading to potential memory leak. Fix this by ensuring that 'buf' is freed on both success and failure paths.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.12 ≤ v < 5.15.2024.12 ≤ v < 6.1.1654.12 ≤ v < 6.12.754.12 ≤ v < 6.18.164.12 ≤ v < 6.19.64.12 ≤ v < 6.6.1284.12 ≤ v < 7.05.16 ≤ v < 6.1.1656.13 ≤ v < 6.18.166.19 ≤ v < 6.19.66.2 ≤ v < 6.6.1286.7 ≤ v < 6.12.754.12554c0a3abf216c991c5ebddcdb2c08689ecd290b
Vendor states this is fixed in 017295b17bf1f477246c95bd253a7ef0cb4684c9 (fixed)
Vendor states this is fixed in 8311bb40698ba027649d5d1ca84ad4bf25270546 (fixed)
Vendor states this is fixed in 9874e33ce52ba449ab0ade78752a2d37a2294617 (fixed)
Vendor states this is fixed in 9f70f78e22b321429afc77befecedf05543d4e2c (fixed)
Vendor states this is fixed in a968c6a39607c129b8ac2c3c2a5e8923574e90d0 (fixed)
Vendor states this is fixed in abe850d82c8cb72d28700673678724e779b1826e (fixed)
Vendor states this is fixed in af48c1a0abe849e167fc754b6c260b6d8350b6fd (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 5.15.202 (unaffected)
Vendor states this is fixed in 6.1.165 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.16 (unaffected)
Vendor states this is fixed in 6.19.6 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card