CVE-2024-44995 net: hns3: fix a deadlock problem when config TC during resetting

High 7.8 Published Updated

A race condition in the HNS3 network driver can cause a deadlock during reset, leading to a 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-44995?

CVE-2024-44995 is a high-severity vulnerability in Linux kernel, published on 4 Sep 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: hns3: fix a deadlock problem when config TC during resetting

When config TC during the reset process, may cause a deadlock, the flow is as below: pf reset start │ ▼ ...... setup tc │ │ ▼ ▼ DOWN: napi_disable() napi_disable()(skip) │ │ │ ▼ ▼ ...... ...... │ │ ▼ │ napi_enable() │ ▼ UINIT: netif_napi_del() │ ▼ ...... │ ▼ INIT: netif_napi_add() │ ▼ ...... global reset start │ │ ▼ ▼ UP: napi_enable()(skip) ...... │ │ ▼ ▼ ...... napi_disable()

In reset process, the driver will DOWN the port and then UINIT, in this case, the setup tc process will UP the port before UINIT, so cause the problem. Adds a DOWN process in UINIT to fix it.

Weakness: CWE-667

Which versions are affected by CVE-2024-44995?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-44995?

Apply the vendor's patch.

Is CVE-2024-44995 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-48735, AZL-48783, BELL-CVE-2024-44995, DEBIAN-CVE-2024-44995, GHSA-435p-f446-gxf4, UBUNTU-CVE-2024-44995.

Is CVE-2024-44995 in your software?

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

Check your SBOMs for free