VDB

CVE-2025-21802

CVE-2025-21802 PUBLISHED

net: hns3: fix oops when unload drivers paralleling

Reported by linux · Published February 27, 2025

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix oops when unload drivers paralleling When unload hclge driver, it tries to disable sriov first for each ae_dev node from hnae3_ae_dev_list. If user unloads hns3 driver at the time, because it removes all the ae_dev nodes, and it may cause oops. But we can't simply use hnae3_common_lock for this. Because in the process flow of pci_disable_sriov(), it will trigger the remove flow of VF, which will also take hnae3_common_lock. To fixes it, introduce a new mutex to protect the unload process.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe876522659012ef2e73834a0b9f1cbe3f74d5fad, cafe9a27e22736d4a01b3933e36225f9857c7988, b5a8bc47aa0a4aa8bca5466dfa2d12dbb5b3cd0c, 92e5995773774a3e70257e9c95ea03518268bea5, 8c640dd3d900cc8988a39c007591f1deee776df4, 82736bb83fb0221319c85c2e9917d0189cd84e1e, 622d92a67656e5c4d2d6ccac02d688ed995418c6, 5.15, 5.10.235, 4.20

Affected products

VendorProductVersions
LinuxLinuxd36b15e3e7b5937cb1f6ac590a85facc3a320642, 0dd8a25f355b4df2d41c08df1716340854c7d4c5, 0dd8a25f355b4df2d41c08df1716340854c7d4c5
LinuxLinux5.15, 0, 5.10.235
LinuxLinux0dd8a25f355b4df2d41c08df1716340854c7d4c5, *, 6.14
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.7, 3.1.6
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.6, 3.1.7
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.7, 3.1.6
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.6, 3.1.7
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)3.1.6, 3.1.7
linuxlinux_kernel5.14.15, 5.4.156, 4.19.214
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.7, 3.1.6
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6

Timeline

  • Feb 27, 2025 CVE Published
  • Feb 28, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (109 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (106 in total, the first dated here)
  • Nov 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21802
vulnetix vdb fixes CVE-2025-21802

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21802/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›