summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max732x.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2024-02-07 02:18:22 +0100
committerDavid S. Miller <davem@davemloft.net>2024-02-10 22:38:19 +0100
commit32b55c5ff9103b8508c1e04bfa5a08c64e7a925f (patch)
treef15862fc76572e54089b2da8572cb5fc75a40375 /drivers/gpio/gpio-max732x.c
parentnet: tls: handle backlogging of crypto requests (diff)
downloadlinux-32b55c5ff9103b8508c1e04bfa5a08c64e7a925f.tar.xz
linux-32b55c5ff9103b8508c1e04bfa5a08c64e7a925f.zip
net: tls: fix use-after-free with partial reads and async decrypt
tls_decrypt_sg doesn't take a reference on the pages from clear_skb, so the put_page() in tls_decrypt_done releases them, and we trigger a use-after-free in process_rx_list when we try to read from the partially-read skb. Fixes: fd31f3996af2 ("tls: rx: decrypt into a fresh skb") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpio-max732x.c')
0 files changed, 0 insertions, 0 deletions