[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250327201725.62180-1-kuniyu@amazon.com>
Date: Thu, 27 Mar 2025 13:17:23 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <kuba@...nel.org>
CC: <davem@...emloft.net>, <dsahern@...nel.org>, <edumazet@...gle.com>,
<horms@...nel.org>, <kuni1840@...il.com>, <kuniyu@...zon.com>,
<netdev@...r.kernel.org>, <pabeni@...hat.com>,
<willemdebruijn.kernel@...il.com>
Subject: Re: [PATCH v2 net 0/3] udp: Fix two integer overflows when sk->sk_rcvbuf is close to INT_MAX.
From: Jakub Kicinski <kuba@...nel.org>
Date: Thu, 27 Mar 2025 12:51:19 -0700
> 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 :(
Will send v3 shortly with so_rcv_listener sorted.
Thanks!
Powered by blists - more mailing lists