CVE-2024-38553 net: fec: remove .ndo_poll_controller to avoid deadlocks

Medium 5.5 Published Updated

A deadlock in the Linux kernel FEC network driver can cause a denial of service when netpoll is used.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-38553?

CVE-2024-38553 is a medium-severity vulnerability in Linux kernel, published on 19 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-667

Which versions are affected by CVE-2024-38553?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38553?

Apply the vendor's patch.

Is CVE-2024-38553 being exploited?

There is no known exploitation of CVE-2024-38553 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-48252, BELL-CVE-2024-38553, DEBIAN-CVE-2024-38553, GHSA-2hgc-w527-6cxw, ROOT-OS-DEBIAN-11-CVE-2024-38553, UBUNTU-CVE-2024-38553.

Is CVE-2024-38553 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free