# CVE-2026-43225: staging: rtl8723bs: fix memory leak on failure path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T11:28:24.289Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 9874e33ce52ba449ab0ade78752a2d37a2294617; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before a968c6a39607c129b8ac2c3c2a5e8923574e90d0; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 8311bb40698ba027649d5d1ca84ad4bf25270546; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 9f70f78e22b321429afc77befecedf05543d4e2c; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before af48c1a0abe849e167fc754b6c260b6d8350b6fd; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 017295b17bf1f477246c95bd253a7ef0cb4684c9; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before abe850d82c8cb72d28700673678724e779b1826e; 4.12 (not affected: before 4.12; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.12 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/9874e33ce52ba449ab0ade78752a2d37a2294617> (patch)
- <https://git.kernel.org/stable/c/a968c6a39607c129b8ac2c3c2a5e8923574e90d0> (patch)
- <https://git.kernel.org/stable/c/8311bb40698ba027649d5d1ca84ad4bf25270546> (patch)
- <https://git.kernel.org/stable/c/9f70f78e22b321429afc77befecedf05543d4e2c> (patch)
- <https://git.kernel.org/stable/c/af48c1a0abe849e167fc754b6c260b6d8350b6fd> (patch)
- <https://git.kernel.org/stable/c/017295b17bf1f477246c95bd253a7ef0cb4684c9> (patch)
- <https://git.kernel.org/stable/c/abe850d82c8cb72d28700673678724e779b1826e> (patch)

## Sources

- CVE List: [CVE-2026-43225](https://www.cve.org/CVERecord?id=CVE-2026-43225), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43225](https://nvd.nist.gov/vuln/detail/CVE-2026-43225), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43225 · Whole record: https://cve.day/CVE-2026-43225.json · Rebuilt by cve.day 2026-11-25T22:59:20.737Z
