accel/habanalabs: fix mem leak in capture user mappings
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:
accel/habanalabs: fix mem leak in capture user mappings
This commit fixes a memory leak caused when clearing the user_mappings info when a new context is opened immediately after user_mapping is captured and a hard reset is performed.
From the CVE record · Linux
The Linux kernel's habanalabs component can leak memory when user-mapping information is cleared. This occurs if a new context is opened immediately after a user mapping is captured and a hard reset is performed. The input does not specify an attack path or authentication requirements.
Engineers running Linux kernels with the habanalabs component should check their installations; affected versions are not specified.