Database/Firmware, BMC & network fabric
Linux kernel mlx5: SKB leak during PTP FIFO resync exhausts memory on ConnectX NICs
Impact
The mlx5 Ethernet driver for ConnectX NICs leaks socket buffers during PTP timestamp FIFO resync, because popped SKBs were never consumed and the free-running counter room check was computed on a promoted int rather than u16. On a GPU node whose storage and east-west traffic ride ConnectX adapters with hardware timestamping enabled, the leak is unbounded over time and ends in memory pressure on the host - which costs a drain of the node rather than a quick service restart. There is no remote trigger described; the leak accrues from normal PTP operation.
Who can reach it
No authenticated attacker is described. The leak occurs during normal PTP timestamping operation on mlx5 interfaces; a local workload generating heavy timestamped traffic accelerates it.
What to do
Update to a stable kernel containing the mlx5 fifo fix (commits 234cffda95e1, 68504c66d08c, e435941b1da1) and reboot the node. No userspace mitigation is described; disabling PTP hardware timestamping on mlx5 interfaces avoids the resync path at the cost of losing hardware timestamps.
References
Related entries
- Linux kernel mlxsw (Spectrum switch ASIC ACL TCAM): On Spectrum-2 and newer, firmware reports more than 16 ACLs perCVE-2024-26586 · Linux kernel mlxsw (Spectrum switch ASIC ACL TCAM)High
- Linux kernel (drivers/infiniband/hw/hfi1): An off-by-one in the SDMA descriptor accounting lets the descriptor array inCVE-2024-26766 · Linux kernel (drivers/infiniband/hw/hfi1)High
- AMI AptioV UEFI BIOS (SmmComputrace DXE module): The SmmComputrace DXE module leaks stack and global memory to a localCVE-2024-33656 · AMI AptioV UEFI BIOS (SmmComputrace DXE module)High
- AMI AptioV UEFI BIOS (SMM modules): An SMM vulnerability letting a privileged local attacker execute arbitrary codeCVE-2024-33657 · AMI AptioV UEFI BIOS (SMM modules)High
- AMI AptioV BIOS (memory buffer restriction failure): Local privilege escalation and potentially arbitrary codeCVE-2024-33658 · AMI AptioV BIOS (memory buffer restriction failure)High
- Linux kernel (drivers/infiniband/hw/hns): The completion-queue refcount is not held under a lock, so a CQ asynchronousCVE-2024-38545 · Linux kernel (drivers/infiniband/hw/hns)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.