CVE-2024-44995

net: hns3: fix a deadlock problem when config TC during resetting

State
Published
Severity
7.8 High
Published
Sep 4, 2024
Updated
Aug 5, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before 67492d4d105c0a6321b00c393eec96b9a7a97a16Affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before fc250eca15bde34c4c8f806b9d88f55bd56a992cAffected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before 195918217448a6bb7f929d6a2ffffce9f1ece1ccAffected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before 6ae2b7d63cd056f363045eb65409143e16f23ae8Affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before fa1d4de7265c370e673583ac8d1bd17d21826cd9Affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before de37408d5c26fc4a296a28a0c96dcb814219bfa1Affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to before be5e816d00a506719e9dbb1a9c861c5ced30a109Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.4.283 through 5.4.*Not affected
  • 5.10.225 through 5.10.*Not affected
  • 5.15.166 through 5.15.*Not affected
  • 6.1.107 through 6.1.*Not affected
  • 6.6.48 through 6.6.*Not affected
  • 6.10.7 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.