CVE-2026-64553: net: psample: fix info leak in PSAMPLE_ATTR_DATA

Greg Kroah-Hartman <[email protected]> Mon, 27 Jul 2026 22:10:51 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072738-CVE-2026-64553-87c9@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

In the Linux kernel, the following vulnerability has been resolved:

net: psample: fix info leak in PSAMPLE_ATTR_DATA

psample open codes nla_put() presumably to avoid wiping
the data with 0s just to override it with packet data.
This open coding is missing clearing the pad, however,
each netlink attr is padded to 4B and data_len may
not be divisible by 4B.

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


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

	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 5.10.261 with commit 0d3ea2ccddda442077fc44f11d873209c97ec50b
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 5.15.212 with commit 7fe7e6949964aa8ee6305f09db2dc9eede977bb3
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 6.1.178 with commit e2fa322782a2d7d8078f7bb20817e0aa9f7c32e9
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 6.6.145 with commit befe1ebe7fc2c65c80074bc34ceeb0a721ed3cd2
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 6.12.97 with commit 48930f6c59fd0056c2de46ce52bfe27d9c9e5eb6
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 6.18.40 with commit a6cfb924ad74efce254e99c197d2e3863de70868
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 7.1.5 with commit 794a0d8bdbb39e083ed42caccb86d687a9b53570
	Issue introduced in 4.11 with commit 6ae0a6286171154661b74f7f550f9441c6008424 and fixed in 7.2-rc1 with commit aedd02af1f8b0bceb7f42f5a21c41634ca9ed390

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-64553
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:
	net/psample/psample.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/0d3ea2ccddda442077fc44f11d873209c97ec50b
	https://git.kernel.org/stable/c/7fe7e6949964aa8ee6305f09db2dc9eede977bb3
	https://git.kernel.org/stable/c/e2fa322782a2d7d8078f7bb20817e0aa9f7c32e9
	https://git.kernel.org/stable/c/befe1ebe7fc2c65c80074bc34ceeb0a721ed3cd2
	https://git.kernel.org/stable/c/48930f6c59fd0056c2de46ce52bfe27d9c9e5eb6
	https://git.kernel.org/stable/c/a6cfb924ad74efce254e99c197d2e3863de70868
	https://git.kernel.org/stable/c/794a0d8bdbb39e083ed42caccb86d687a9b53570
	https://git.kernel.org/stable/c/aedd02af1f8b0bceb7f42f5a21c41634ca9ed390