staging: rtl8723bs: fix memory leak on failure path
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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 products
Linux · LinuxReferences
https://git.kernel.org/stable/c/017295b17bf1f477246c95bd253a7ef0cb4684c9https://git.kernel.org/stable/c/8311bb40698ba027649d5d1ca84ad4bf25270546https://git.kernel.org/stable/c/9874e33ce52ba449ab0ade78752a2d37a2294617https://git.kernel.org/stable/c/9f70f78e22b321429afc77befecedf05543d4e2chttps://git.kernel.org/stable/c/a968c6a39607c129b8ac2c3c2a5e8923574e90d0https://git.kernel.org/stable/c/abe850d82c8cb72d28700673678724e779b1826ehttps://git.kernel.org/stable/c/af48c1a0abe849e167fc754b6c260b6d8350b6fd