CVE-2025-21802
Published: Feb 27, 2025
Modified: May 23, 2026
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected d36b15e3e7b5937cb1f6ac590a85facc3a320642 - < 622d92a67656e5c4d2d6ccac02d688ed995418c6affected 0dd8a25f355b4df2d41c08df1716340854c7d4c5 - < 8c640dd3d900cc8988a39c007591f1deee776df4affected 0dd8a25f355b4df2d41c08df1716340854c7d4c5 - < e876522659012ef2e73834a0b9f1cbe3f74d5fadaffected 0dd8a25f355b4df2d41c08df1716340854c7d4c5 - < b5a8bc47aa0a4aa8bca5466dfa2d12dbb5b3cd0caffected 0dd8a25f355b4df2d41c08df1716340854c7d4c5 - < 82736bb83fb0221319c85c2e9917d0189cd84e1e+9 more versions |
Linux | Linux | affected 5.15unaffected 0 - < 5.15unaffected 5.10.235 - <= 5.10.*unaffected 5.15.179 - <= 5.15.*unaffected 6.1.129 - <= 6.1.*+4 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now