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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-09-04T19:54:40.878Z
- Modified: 2026-08-05T11:37:34.142Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before 67492d4d105c0a6321b00c393eec96b9a7a97a16; from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before fc250eca15bde34c4c8f806b9d88f55bd56a992c; from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before 195918217448a6bb7f929d6a2ffffce9f1ece1cc; from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before 6ae2b7d63cd056f363045eb65409143e16f23ae8; from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before fa1d4de7265c370e673583ac8d1bd17d21826cd9; from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before de37408d5c26fc4a296a28a0c96dcb814219bfa1; from bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 before be5e816d00a506719e9dbb1a9c861c5ced30a109; 4.15 (not affected: before 4.15; from 5.4.283 up to 5.4.*; from 5.10.225 up to 5.10.*; from 5.15.166 up to 5.15.*; from 6.1.107 up to 6.1.*; from 6.6.48 up to 6.6.*; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 4.15 before 5.4.283; from 5.5 before 5.10.225; from 5.11 before 5.15.166; from 5.16 before 6.1.107; from 6.2 before 6.6.48; from 6.7 before 6.10.7; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/67492d4d105c0a6321b00c393eec96b9a7a97a16> (patch)
- <https://git.kernel.org/stable/c/fc250eca15bde34c4c8f806b9d88f55bd56a992c> (patch)
- <https://git.kernel.org/stable/c/195918217448a6bb7f929d6a2ffffce9f1ece1cc> (patch)
- <https://git.kernel.org/stable/c/6ae2b7d63cd056f363045eb65409143e16f23ae8> (patch)
- <https://git.kernel.org/stable/c/fa1d4de7265c370e673583ac8d1bd17d21826cd9> (patch)
- <https://git.kernel.org/stable/c/de37408d5c26fc4a296a28a0c96dcb814219bfa1> (patch)
- <https://git.kernel.org/stable/c/be5e816d00a506719e9dbb1a9c861c5ced30a109> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-44995](https://www.cve.org/CVERecord?id=CVE-2024-44995), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-44995](https://nvd.nist.gov/vuln/detail/CVE-2024-44995), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-44995 · Whole record: https://cve.day/CVE-2024-44995.json · Rebuilt by cve.day 2026-11-25T22:58:45.093Z
