Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-44995

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < 67492d4d105c0a6321b00c393eec96b9a7a97a16affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < fc250eca15bde34c4c8f806b9d88f55bd56a992caffected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < 195918217448a6bb7f929d6a2ffffce9f1ece1ccaffected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < 6ae2b7d63cd056f363045eb65409143e16f23ae8affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < fa1d4de7265c370e673583ac8d1bd17d21826cd9affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < de37408d5c26fc4a296a28a0c96dcb814219bfa1affected
  • bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 to < be5e816d00a506719e9dbb1a9c861c5ced30a109affected

Linux Linux

Default version status: affected

  • 4.15affected
  • 0 to < 4.15unaffected
  • 5.4.283 to ≤ 5.4.*unaffected
  • 5.10.225 to ≤ 5.10.*unaffected
  • 5.15.166 to ≤ 5.15.*unaffected
  • 6.1.107 to ≤ 6.1.*unaffected
  • 6.6.48 to ≤ 6.6.*unaffected
  • 6.10.7 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References