Skip to contentSkip to conversation

CVE-2026-72448: octeontx2-pf: Fix leak of SQ timestamp buffer on teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-72448 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 5.10.261 with commit c642a530aaaeb9a3e356cedfe77955e7f983380e
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 5.15.212 with commit e68ada66afcae0bc2a7c06b43c5a9a081d29e7b4
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 6.1.178 with commit d6c0b0c802d3c49b86cad665a7f3790dc55a0394
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 6.6.145 with commit 19d2d36e193c3fb515c052a56bfc83d8ac7b6764
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 6.12.97 with commit e8e9dff204e8d8553495893e1a44d2b5021648de
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 6.18.40 with commit 3d45d40b872aec0073d4cf08956a6c9b87c5e396
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 7.1.5 with commit 452ec5058ea4ed63adae8d6beeac9ee687fe8061
	Issue introduced in 5.10 with commit c9c12d339d93366732112d7ff472958834bfc3c5 and fixed in 7.2-rc1 with commit a056db30de92945ff8ee6033096678bfbae878e3

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-72448

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/c642a530aaaeb9a3e356cedfe77955e7f983380e
	https://git.kernel.org/stable/c/e68ada66afcae0bc2a7c06b43c5a9a081d29e7b4
	https://git.kernel.org/stable/c/d6c0b0c802d3c49b86cad665a7f3790dc55a0394
	https://git.kernel.org/stable/c/19d2d36e193c3fb515c052a56bfc83d8ac7b6764
	https://git.kernel.org/stable/c/e8e9dff204e8d8553495893e1a44d2b5021648de
	https://git.kernel.org/stable/c/3d45d40b872aec0073d4cf08956a6c9b87c5e396
	https://git.kernel.org/stable/c/452ec5058ea4ed63adae8d6beeac9ee687fe8061
	https://git.kernel.org/stable/c/a056db30de92945ff8ee6033096678bfbae878e3