octeontx2-pf: Fix leak of SQ timestamp buffer on teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c9c12d339d93366732112d7ff472958834bfc3c5 · < 3d45d40b872aec0073d4cf08956a6c9b87c5e396| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: Fix leak of SQ timestamp buffer on teardown
The send-queue timestamp ring is allocated with qmem_alloc() when timestamping is used, but otx2_free_sq_res() never freed sq->timestamps, leaking that memory across ifdown and device removal. Add the missing qmem_free() alongside the other SQ companion buffers.
From the CVE record · Linux
The Linux kernel's octeontx2-pf driver does not free a send-queue timestamp buffer during teardown when timestamping is used. This leaks memory across interface shutdowns or device removal; the input does not establish whether an attacker can trigger it, or specify authentication or user-interaction requirements.
Engineers running Linux systems that use the octeontx2-pf driver should check their kernel; affected versions are not specified.