net: ipv6: ndisc: fix ndisc_ra_useropt to initialize nduseropt_padX fields to zero to prevent an info-leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 31910575a9de61e78065e93846e8e7a4894a18bf · < b485eef3d97b7aae55ce669b6de555ec81f3d21c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ipv6: ndisc: fix ndisc_ra_useropt to initialize nduseropt_padX fields to zero to prevent an info-leak
When processing Router Advertisements with user options the kernel builds an RTM_NEWNDUSEROPT netlink message. The nduseroptmsg struct has three padding fields that are never zeroed and can leak kernel data
The fix is simple, just zeroes the padding fields.
From the CVE record · Linux
When processing Router Advertisements with user options, the Linux kernel builds a netlink message whose uninitialized padding fields can leak kernel data. This occurs during processing of network-supplied advertisements; the input does not specify authentication requirements or user interaction.
Engineers running the Linux kernel should check their systems; affected versions are not specified.