diff options
author | 2023-02-09 01:16:48 -0800 | |
---|---|---|
committer | 2023-02-13 09:30:14 +0000 | |
commit | 2f4796518315ab246638db8feebfcb494212e7ee (patch) | |
tree | 20d28a99237d7c4eb386e9b56f3989d5fc5d757c /scripts/generate_rust_analyzer.py | |
parent | Merge branch 'sk-sk_forward_alloc-fixes' (diff) | |
download | wireguard-linux-2f4796518315ab246638db8feebfcb494212e7ee.tar.xz wireguard-linux-2f4796518315ab246638db8feebfcb494212e7ee.zip |
af_key: Fix heap information leak
Since x->encap of pfkey_msg2xfrm_state() is not
initialized to 0, kernel heap data can be leaked.
Fix with kzalloc() to prevent this.
Signed-off-by: Hyunwoo Kim <v4bel@theori.io>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions