Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-38553

net: fec: remove .ndo_poll_controller to avoid deadlocks

Description

In the Linux kernel, the following vulnerability has been resolved: net: fec: remove .ndo_poll_controller to avoid deadlocks There is a deadlock issue found in sungem driver, please refer to the commit ac0a230f719b ("eth: sungem: remove .ndo_poll_controller to avoid deadlocks"). The root cause of the issue is that netpoll is in atomic context and disable_irq() is called by .ndo_poll_controller interface of sungem driver, however, disable_irq() might sleep. After analyzing the implementation of fec_poll_controller(), the fec driver should have the same issue. Due to the fec driver uses NAPI for TX completions, the .ndo_poll_controller is unnecessary to be implemented in the fec driver, so fec_poll_controller() can be safely removed.

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

  • 7f5c6addcdc039c1a7c435857e6284ecac5d97c8 to < e2348d8c61d03feece1de4c05f72e6e99f74c650affected
  • 7f5c6addcdc039c1a7c435857e6284ecac5d97c8 to < d38625f71950e79e254515c5fc585552dad4b33eaffected
  • 7f5c6addcdc039c1a7c435857e6284ecac5d97c8 to < accdd6b912c4219b8e056d1f1ad2e85bc66ee243affected
  • 7f5c6addcdc039c1a7c435857e6284ecac5d97c8 to < 87bcbc9b7e0b43a69d44efa5f32f11e32d08fa6faffected
  • 7f5c6addcdc039c1a7c435857e6284ecac5d97c8 to < c2e0c58b25a0a0c37ec643255558c5af4450c9f5affected

Linux Linux

Default version status: affected

  • 3.2affected
  • 0 to < 3.2unaffected
  • 6.1.119 to ≤ 6.1.*unaffected
  • 6.6.33 to ≤ 6.6.*unaffected
  • 6.8.12 to ≤ 6.8.*unaffected
  • 6.9.3 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References