staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 89% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
In the above mentioned routine, memory is allocated in several places.
If the first succeeds and a later one fails, the routine will leak memory.
This patch fixes commit 2865d42c78a9 ("staging: r8712u: Add the new driver
to the mainline kernel"). A potential memory leak in
r8712_xmit_resource_alloc() is also addressed.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/41e05572e871b10dbdc168c76175c97982daf4a4https://git.kernel.org/stable/c/874555472c736813ba1f4baf0b4c09c8e26d81eahttps://git.kernel.org/stable/c/ac83631230f77dda94154ed0ebfd368fc81c70a3https://git.kernel.org/stable/c/acacdbe0f740ca8c5d5da73d50870903a3ded677https://git.kernel.org/stable/c/fc511ae405f7ba29fbcb0246061ec15c272386e1