# CVE-2023-54000: net: hns3: fix deadlock issue when externel\_lb and reset are executed together

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T10:55:36.216Z
- **Modified:** 2026-06-17T06:46:30.793Z

## Who should check

- Anyone running Linux \>= 85fc1d802edf36123ae1bd0a13892bb3772c197f, \< d9f609cb50ebab4aa6341112f406bf9d3928ac81; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< 743f7c1762e098048ede8cdf8c89a118f8d12391; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< ef2d6bf9695669d31ece9f2ef39dec84874a87c7; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< ac6257a3ae5db5193b1f19c268e4f72d274ddb88
- Anyone running Linux 6.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: hns3: fix deadlock issue when externel\_lb and reset are executed together

When externel\_lb and reset are executed together, a deadlock may
occur:
\[ 3147.217009\] INFO: task kworker/u321:0:7 blocked for more than 120 seconds.
\[ 3147.230483\] "echo 0 \> /proc/sys/kernel/hung\_task\_timeout\_secs" disables this message.
\[ 3147.238999\] task:kworker/u321:0  state:D stack:    0 pid:    7 ppid:     2 flags:0x00000008
\[ 3147.248045\] Workqueue: hclge hclge\_service\_task \[hclge\]
\[ 3147.253957\] Call trace:
\[ 3147.257093\]  \_\_switch\_to+0x7c/0xbc
\[ 3147.261183\]  \_\_schedule+0x338/0x6f0
\[ 3147.265357\]  schedule+0x50/0xe0
\[ 3147.269185\]  schedule\_preempt\_disabled+0x18/0x24
\[ 3147.274488\]  \_\_mutex\_lock.constprop.0+0x1d4/0x5dc
\[ 3147.279880\]  \_\_mutex\_lock\_slowpath+0x1c/0x30
\[ 3147.284839\]  mutex\_lock+0x50/0x60
\[ 3147.288841\]  rtnl\_lock+0x20/0x2c
\[ 3147.292759\]  hclge\_reset\_prepare+0x68/0x90 \[hclge\]
\[ 3147.298239\]  hclge\_reset\_subtask+0x88/0xe0 \[hclge\]
\[ 3147.303718\]  hclge\_reset\_service\_task+0x84/0x120 \[hclge\]
\[ 3147.309718\]  hclge\_service\_task+0x2c/0x70 \[hclge\]
\[ 3147.315109\]  process\_one\_work+0x1d0/0x490
\[ 3147.319805\]  worker\_thread+0x158/0x3d0
\[ 3147.324240\]  kthread+0x108/0x13c
\[ 3147.328154\]  ret\_from\_fork+0x10/0x18

In externel\_lb process, the hns3 driver call napi\_disable()
first, then the reset happen, then the restore process of the
externel\_lb will fail, and will not call napi\_enable(). When
doing externel\_lb again, napi\_disable() will be double call,
cause a deadlock of rtnl\_lock().

This patch use the HNS3\_NIC\_STATE\_DOWN state to protect the
calling of napi\_disable() and napi\_enable() in externel\_lb
process, just as the usage in ndo\_stop() and ndo\_start().

## Affected and fixed versions

- Linux: \>= 85fc1d802edf36123ae1bd0a13892bb3772c197f, \< d9f609cb50ebab4aa6341112f406bf9d3928ac81; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< 743f7c1762e098048ede8cdf8c89a118f8d12391; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< ef2d6bf9695669d31ece9f2ef39dec84874a87c7; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< ac6257a3ae5db5193b1f19c268e4f72d274ddb88 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54000. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54000.md
Affected: Linux >= 85fc1d802edf36123ae1bd0a13892bb3772c197f, < d9f609cb50ebab4aa6341112f406bf9d3928ac81; >= 04b6ba143521f4485b7f2c36c655b262a79dae97, < 743f7c1762e098048ede8cdf8c89a118f8d12391; >= 04b6ba143521f4485b7f2c36c655b262a79dae97, < ef2d6bf9695669d31ece9f2ef39dec84874a87c7; >= 04b6ba143521f4485b7f2c3…
Fixed in: Linux 743f7c1762e098048ede8cdf8c89a118f8d12391

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54000 being exploited?

There is no confirmed exploitation: CVE-2023-54000 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54000?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54000?

Linux \>= 85fc1d802edf36123ae1bd0a13892bb3772c197f, \< d9f609cb50ebab4aa6341112f406bf9d3928ac81; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< 743f7c1762e098048ede8cdf8c89a118f8d12391; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< ef2d6bf9695669d31ece9f2ef39dec84874a87c7; \>= 04b6ba143521f4485b7f2c36c655b262a79dae97, \< ac6257a3ae5db5193b1f19c268e4f72d274ddb88; Linux 6.1.

### Is there a fix for CVE-2023-54000?

Yes. Fixed in Linux 743f7c1762e098048ede8cdf8c89a118f8d12391. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54000?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d9f609cb50ebab4aa6341112f406bf9d3928ac81>
- other: <https://git.kernel.org/stable/c/743f7c1762e098048ede8cdf8c89a118f8d12391>
- other: <https://git.kernel.org/stable/c/ef2d6bf9695669d31ece9f2ef39dec84874a87c7>
- other: <https://git.kernel.org/stable/c/ac6257a3ae5db5193b1f19c268e4f72d274ddb88>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54000>

HTML: <https://flawdb.com/CVE-2023-54000> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54000>
