CVE-2025-21802
MEDIUMLinux Kernel - Use-After-Free in HNS3 Driver Unload
Title source: llmDescription
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.
References (10)
Core 10
Core References
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
Scores
CVSS v3
5.5
EPSS
0.0019
EPSS Percentile
9.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (31)
linux/Kernel
< 5.10.235linux
linux/Kernel
5.11.0 - 5.15.179linux
linux/Kernel
5.15.0 - 6.1.129linux
linux/Kernel
5.16.0 - 6.6.76linux
linux/Kernel
6.2.0 - 6.12.13linux
linux/Kernel
6.7.0 - 6.13.2linux
Linux/Linux
< 5.15
Linux/Linux
0dd8a25f355b4df2d41c08df1716340854c7d4c5 - 82736bb83fb0221319c85c2e9917d0189cd84e1e
Linux/Linux
0dd8a25f355b4df2d41c08df1716340854c7d4c5 - 8c640dd3d900cc8988a39c007591f1deee776df4
Linux/Linux
0dd8a25f355b4df2d41c08df1716340854c7d4c5 - 92e5995773774a3e70257e9c95ea03518268bea5
... and 21 more
Published
Feb 27, 2025
Tracked Since
Feb 18, 2026