crypto: hisilicon/debugfs - Fix debugfs uninit process issue
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/debugfs - Fix debugfs uninit process issue
During the zip probe process, the debugfs failure does not stop the probe. When debugfs initialization fails, jumping to the error branch will also release regs, in addition to its own rollback operation.
As a result, it may be released repeatedly during the regs uninit process. Therefore, the null check needs to be added to the regs uninit process.
From the CVE record · Linux
In the Linux kernel’s hisilicon crypto debugfs code, a failure during debugfs initialization in the zip probe can cause regs to be released again during cleanup. This creates a double-free risk; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the hisilicon crypto debugfs code should check their deployments; affected versions are not specified.