Sashiko reported issues in the sk_clone() error path.
https://lore.kernel.org/bpf/20260709032007.9E4D61F000E9@smtp.kernel.org/ (local)
This series fixes them.
Note that Sashiko may point out the same issue for sk_bpf_storage,
but the fix was already merged in the bpf tree:
7cbd0c4cebe4 ("bpf: Fix UAF in sock clone early bailouts")
Kuniyuki Iwashima (2):
soreuseport: Clear sk_reuseport_cb before failure in sk_clone().
net: Call net_enable_timestamp() before failure in sk_clone().
net/core/sock.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--
2.55.0.795.g602f6c329a-goog