Thread (9 messages) 9 messages, 3 authors, 2025-03-27

Re: [PATCH v2 net 0/3] udp: Fix two integer overflows when sk->sk_rcvbuf is close to INT_MAX.

From: Kuniyuki Iwashima <hidden>
Date: 2025-03-27 20:17:42

From: Jakub Kicinski <kuba@kernel.org>
Date: Thu, 27 Mar 2025 12:51:19 -0700
On Tue, 25 Mar 2025 12:58:12 -0700 Kuniyuki Iwashima wrote:
quoted
I got a report that UDP mem usage in /proc/net/sockstat did not
drop even after an application was terminated.

The issue could happen if sk->sk_rmem_alloc wraps around due
to a large sk->sk_rcvbuf, which was INT_MAX in our case.

The patch 2 fixes the issue, and the patch 1 fixes yet another
overflow I found while investigating the issue.
Selftest doesn't apply after the net-next PR :(
Will send v3 shortly with so_rcv_listener sorted.

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help