net/mlx5e: Fix AF_XDP TX timestamp teardown NULL dereference
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:
net/mlx5e: Fix AF_XDP TX timestamp teardown NULL dereference
During XSK TX queue teardown, outstanding descriptors are completed without a CQE. If one requested a TX timestamp, the completion path passes that NULL CQE to mlx5e_xsk_fill_timestamp(), which dereferences it.
Return zero when no CQE is available, indicating that teardown did not produce a TX timestamp.
From the CVE record · Linux
The Linux kernel’s net/mlx5e driver can dereference a NULL completion entry during AF_XDP transmit queue teardown. This occurs when an outstanding descriptor requested a TX timestamp and is completed without a completion entry; it can cause a kernel crash. The input does not specify access or authentication requirements.
Engineers running Linux kernels that use the net/mlx5e AF_XDP transmit path should check their kernel version; affected versions were not specified.