[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250224161404-mutt-send-email-mst@kernel.org>
Date: Mon, 24 Feb 2025 16:14:13 -0500
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Michal Luczaj <mhal@...x.co>
Cc: Stefano Garzarella <sgarzare@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, netdev@...r.kernel.org,
syzbot+9d55b199192a4be7d02c@...kaller.appspotmail.com
Subject: Re: [PATCH net 0/2] vsock: null-ptr-deref when SO_LINGER enabled
On Tue, Feb 04, 2025 at 01:29:51AM +0100, Michal Luczaj wrote:
> syzbot pointed out that a recent patching of a use-after-free introduced a
> null-ptr-deref. This series fixes the problem and adds a test.
>
> Fixes fcdd2242c023 ("vsock: Keep the binding until socket destruction").
>
> Signed-off-by: Michal Luczaj <mhal@...x.co>
Acked-by: Michael S. Tsirkin <mst@...hat.com>
> ---
> Michal Luczaj (2):
> vsock: Orphan socket after transport release
> vsock/test: Add test for SO_LINGER null ptr deref
>
> net/vmw_vsock/af_vsock.c | 3 ++-
> tools/testing/vsock/vsock_test.c | 41 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 43 insertions(+), 1 deletion(-)
> ---
> base-commit: 0e6dc66b5c5fa186a9f96c66421af74212ebcf66
> change-id: 20250203-vsock-linger-nullderef-cbe4402ad306
>
> Best regards,
> --
> Michal Luczaj <mhal@...x.co>
>
Powered by blists - more mailing lists