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: Jakub Kicinski <kuba@kernel.org>
Date: 2025-03-27 19:51:20

On Tue, 25 Mar 2025 12:58:12 -0700 Kuniyuki Iwashima wrote:
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 :(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help