eth: fbnic: unlink NAPIs from queues on error to open
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.15.106.16.16.17In the Linux kernel, the following vulnerability has been resolved:
eth: fbnic: unlink NAPIs from queues on error to open
CI hit a UaF in fbnic in the AF_XDP portion of the queues.py test. The UaF is in the __sk_mark_napi_id_once() call in xsk_bind(), NAPI has been freed. Looks like the device failed to open earlier, and we lack clearing the NAPI pointer from the queue.
From the CVE record · Linux
The Linux kernel's fbnic driver can leave a pointer to freed NAPI data in a queue when the device fails to open. A subsequent AF_XDP bind can trigger a use-after-free; the input does not specify authentication requirements.
Engineers running Linux kernels with the fbnic driver should check their kernel version against the vendor advisory; affected versions were not provided.