net: psample: fix info leak in PSAMPLE_ATTR_DATA
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6ae0a6286171154661b74f7f550f9441c6008424 · < a6cfb924ad74efce254e99c197d2e3863de70868| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's psample code can leave padding bytes uncleared in PSAMPLE_ATTR_DATA when the packet data length is not divisible by four. This may expose information through the netlink attribute. The input does not specify attacker access requirements or whether user interaction is needed.
Engineers running the Linux kernel should check their versions; affected versions are not specified.