staging: rtl8723bs: fix memory leak on failure path (Linux Linux)

CVE-2026-43225
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 9874e33ce52ba449ab0ade78752a2d37a2294617 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < a968c6a39607c129b8ac2c3c2a5e8923574e90d0 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 8311bb40698ba027649d5d1ca84ad4bf25270546 ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 9f70f78e22b321429afc77befecedf05543d4e2c ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < af48c1a0abe849e167fc754b6c260b6d8350b6fd ; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b < 017295b17bf1f477246c95bd253a7ef0cb4684c9
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD