Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2021-47150

net: fec: fix the potential memory leak in fec_enet_init()

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 59d0f746564495c7f54526674deabfcf101236a1 to < 15102886bc8f5f29daaadf2d925591d564c17e9faffected
  • 59d0f746564495c7f54526674deabfcf101236a1 to < 20255d41ac560397b6a07d8d87dcc5e2efc7672aaffected
  • 59d0f746564495c7f54526674deabfcf101236a1 to < 8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cdaffected
  • 59d0f746564495c7f54526674deabfcf101236a1 to < 32a1777fd113335c3f70dc445dffee0ad1c6870faffected
  • 59d0f746564495c7f54526674deabfcf101236a1 to < 619fee9eb13b5d29e4267cb394645608088c28a8affected

Linux Linux

Default version status: affected

  • 3.18affected
  • 0 to < 3.18unaffected
  • 4.19.193 to ≤ 4.19.*unaffected
  • 5.4.124 to ≤ 5.4.*unaffected
  • 5.10.42 to ≤ 5.10.*unaffected
  • 5.12.9 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References