CVE-2026-43225
JSON

5.5medium

staging: rtl8723bs: fix memory leak on failure path

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.6NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: staging: rtl8723bs: corregir fuga de memoria en la ruta de fallo cfg80211_inform_bss_frame() puede devolver NULL en caso de fallo. En ese caso, el búfer asignado ’buf’ no se libera y la función retorna prematuramente, lo que lleva a una posible fuga de memoria. Corregir esto asegurando que ’buf’ se libere tanto en las rutas de éxito como de fallo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43225 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-43225 changed 2026-11-11Public domain