net: fec: fix the potential memory leak in fec_enet_init()
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 88% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
net: fec: fix the potential memory leak in fec_enet_init()
If the memory allocated for cbd_base is failed, it should
free the memory allocated for the queues, otherwise it causes
memory leak.
And if the memory allocated for the queues is failed, it can
return error directly.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/15102886bc8f5f29daaadf2d925591d564c17e9fhttps://git.kernel.org/stable/c/20255d41ac560397b6a07d8d87dcc5e2efc7672ahttps://git.kernel.org/stable/c/32a1777fd113335c3f70dc445dffee0ad1c6870fhttps://git.kernel.org/stable/c/619fee9eb13b5d29e4267cb394645608088c28a8https://git.kernel.org/stable/c/8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd