xfrm_user: fix info leak in build_report()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · < 6c55714c931051cd7f4839c19ce0867179fd22fe| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
xfrm_user: fix info leak in build_report()
struct xfrm_user_report is a __u8 proto field followed by a struct xfrm_selector which means there is three "empty" bytes of padding, but the padding is never zeroed before copying to userspace. Fix that up by zeroing the structure before setting individual member variables.
From the CVE record · Linux
The Linux kernel’s xfrm_user build_report() does not clear three padding bytes before copying a report to userspace, potentially exposing kernel data. The exposure occurs through a userspace report; authentication requirements and any additional user interaction are not specified.
Engineers running the Linux kernel should check their versions; affected versions are not specified.