crypto: hisilicon/hpre - fix resource leak in remove process
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: hisilicon/hpre - fix resource leak in remove process
In hpre_remove(), when the disable operation of qm sriov failed, the following logic should continue to be executed to release the remaining resources that have been allocated, instead of returning directly, otherwise there will be resource leakage.
From the CVE record · Linux
The Linux kernel's hisilicon/hpre driver can leak resources during removal if disabling QM SR-IOV fails. The removal process returns before releasing remaining allocated resources. The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the hisilicon/hpre driver should check their versions; affected versions are not specified.