xfrm: Zero padding when dumping algos and encap
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
xfrm: Zero padding when dumping algos and encap
When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space.
This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed.
From the CVE record · Linux
The Linux kernel's xfrm_user code did not zero structure padding when copying xfrm algorithms and encapsulation templates to user space. A local user receiving these dumps could see potentially sensitive data in the padding.
Anyone running the Linux kernel should check whether their version includes this fix; affected versions were not specified.