android_kernel_sony_sdm845/net/tls
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jakub Kicinski ce0fda5bce UPSTREAM: net/tls: don't ignore netdev notifications if no TLS features
[ Upstream commit c3f4a6c39cf269a40d45f813c05fa830318ad875 ]

On device surprise removal path (the notifier) we can't
bail just because the features are disabled.  They may
have been enabled during the lifetime of the device.
This bug leads to leaking netdev references and
use-after-frees if there are active connections while
device features are cleared.

Fixes: e8f69799810c ("net/tls: Add generic NIC offload infrastructure")
Change-Id: I4be0793556f264477507e1bbcaafd2adc120a90c
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:58:34 +07:00
..
Kconfig UPSTREAM: net/tls: Add generic NIC offload infrastructure 2026-05-15 17:58:23 +07:00
Makefile UPSTREAM: net/tls: Add generic NIC offload infrastructure 2026-05-15 17:58:23 +07:00
tls_device.c UPSTREAM: net/tls: don't ignore netdev notifications if no TLS features 2026-05-15 17:58:34 +07:00
tls_device_fallback.c UPSTREAM: net/tls: avoid NULL pointer deref on nskb->sk in fallback 2026-05-15 17:58:33 +07:00
tls_main.c UPSTREAM: net/tls: don't leak IV and record seq when offload fails 2026-05-15 17:58:33 +07:00
tls_sw.c UPSTREAM: net/tls: don't leak IV and record seq when offload fails 2026-05-15 17:58:33 +07:00