CVE-2024-42139 ice: Fix improper extts handling

Medium 5.5 Published Updated

A flaw in the Linux kernel ice driver allows a kernel crash when the driver is removed while PTP applications are running, causing denial of service.

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

CVE-2024-42139 is a medium-severity vulnerability in Linux kernel, published on 30 Jul 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:

ice: Fix improper extts handling

Extts events are disabled and enabled by the application ts2phc. However, in case where the driver is removed when the application is running, a specific extts event remains enabled and can cause a kernel crash. As a side effect, when the driver is reloaded and application is started again, remaining extts event for the channel from a previous run will keep firing and the message "extts on unexpected channel" might be printed to the user.

To avoid that, extts events shall be disabled when PTP is released.

Weakness: CWE-754

Which versions are affected by CVE-2024-42139?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42139?

Apply the vendor's patch.

Is CVE-2024-42139 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-54162, AZL-54194, BELL-CVE-2024-42139, DEBIAN-CVE-2024-42139, GHSA-8qf2-p2j7-qp5x, ROOT-OS-DEBIAN-12-CVE-2024-42139 and 3 more.

Is CVE-2024-42139 in your software?

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

Check your SBOMs for free