CVE-2026-43225

staging: rtl8723bs: fix memory leak on failure path

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
May 11, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 9874e33ce52ba449ab0ade78752a2d37a2294617Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before a968c6a39607c129b8ac2c3c2a5e8923574e90d0Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 8311bb40698ba027649d5d1ca84ad4bf25270546Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 9f70f78e22b321429afc77befecedf05543d4e2cAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before af48c1a0abe849e167fc754b6c260b6d8350b6fdAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 017295b17bf1f477246c95bd253a7ef0cb4684c9Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before abe850d82c8cb72d28700673678724e779b1826eAffected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.15.202 through 5.15.*Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.