diff options
| author | 2026-03-25 00:49:25 +0200 | |
|---|---|---|
| committer | 2026-03-26 20:38:35 -0700 | |
| commit | ae05340ccaa9d347fe85415609e075545bec589f (patch) | |
| tree | 26969356dfec717e5fb2226d1b7d53ba489491d6 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | net: qrtr: replace qrtr_tx_flow radix_tree with xarray to fix memory leak (diff) | |
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.
Fixes: 31910575a9de ("[IPv6]: Export userland ND options through netlink (RDNSS support)")
Signed-off-by: Yochai Eisenrich <echelonh@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260324224925.2437775-1-echelonh@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
