SB20260528181 - Double free in Linux kernel hisilicon hns3 driver
Published: May 28, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Double free (CVE-ID: CVE-2026-45891)
CWE-ID: CWE-415 - Double Free
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to a double free in hns3_set_ringparam() and the ring cleanup path when handling ring reconfiguration after a memory allocation failure. A local user can trigger ring parameter changes that lead to a failed ring initialization to cause a denial of service.
The issue is caused by a stale dangling pointer in the tx_spare field that is mistaken for a newly allocated buffer during error cleanup.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/43015461662d41dcfb3bb95fadd8a2a42ad8eacf
- https://git.kernel.org/stable/c/6d2f142b1e4b203387a92519d9d2e34752a79dbb
- https://git.kernel.org/stable/c/6dc10494cfe27b6f1e9adb7e293293ae39c50b7c
- https://git.kernel.org/stable/c/c3659273860bed0c8e573b865e3769abc51225a8
- https://git.kernel.org/stable/c/d2c785733dfb853ea0b53984c75662a1af230a94
- https://git.kernel.org/stable/c/fb6a4c376d454b425555b1b0bda36e99f56ec307
- https://git.kernel.org/stable/c/fdbccddb7e7822016601829f95de4008e193f7bc