accel/amdxdna: Fix leak when pinning ubuf pages
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 |
|
|
6.18.407.1.57.2In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix leak when pinning ubuf pages
When pin_user_pages_fast() returns fewer pages than requested, the pages that were successfully pinned are not released, leading to a leak.
Fix this by unpinning any partially pinned pages before returning failure.
From the CVE record · Linux
The Linux kernel’s accel/amdxdna component leaks pinned pages if pin_user_pages_fast() pins fewer pages than requested. Those pages are not released when the operation fails. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels with the accel/amdxdna component should check their versions; affected versions were not provided.