MEDIUM · CVSS 5.5 Published: 2025-02-27

CVE-2025-21802 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-21802
Base Severity / ScoreMEDIUM (5.5 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness ClassificationNVD-CWE-noinfo
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-21803 MEDIUM 5.5
CVE-2025-21799 MEDIUM 5.5
CVE-2025-21806 MEDIUM 5.5
CVE-2025-21807 MEDIUM 5.5
CVE-2025-21813 MEDIUM 5.5
CVE-2025-21814 MEDIUM 5.5