CVE-2024-36887 e1000e: change usleep_range to udelay in PHY mdic access

Medium 5.5 Published Updated

A kernel panic can occur in the e1000e driver during cable reconnection on vPro systems due to invalid sleep calls in atomic context.

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-36887?

CVE-2024-36887 is a medium-severity denial of service vulnerability in Linux kernel, published on 30 May 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:

e1000e: change usleep_range to udelay in PHY mdic access

This is a partial revert of commit 6dbdd4de0362 ("e1000e: Workaround for sporadic MDI error on Meteor Lake systems"). The referenced commit used usleep_range inside the PHY access routines, which are sometimes called from an atomic context. This can lead to a kernel panic in some scenarios, such as cable disconnection and reconnection on vPro systems.

Solve this by changing the usleep_range calls back to udelay.

Which versions are affected by CVE-2024-36887?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36887?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-36887 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-36887, UBUNTU-CVE-2024-36887.

Is CVE-2024-36887 in your software?

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

Check your SBOMs for free