eth: fbnic: Fix payload page pool error cleanup
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.557.2.97.3In the Linux kernel, the following vulnerability has been resolved:
eth: fbnic: Fix payload page pool error cleanup
The payload page pool pointer contains an error pointer when its allocation fails. The cleanup path passes that error pointer to page_pool_destroy() instead of destroying the header page pool. This can dereference the error pointer and leave the header page pool allocated.
Destroy the header page pool instead.
From the CVE record · Linux
In the Linux kernel's fbnic driver, failure to allocate the payload page pool can cause cleanup to pass an error pointer to page_pool_destroy() and leave the header page pool allocated. This can dereference the error pointer; the input does not establish whether an attacker can trigger the failure or specify access or interaction requirements.
Engineers running Linux kernels with the fbnic driver should check whether their kernel includes the fix; affected versions are not specified.