All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] vsock: null-ptr-deref when SO_LINGER enabled
@ 2025-02-04  0:29 Michal Luczaj
  2025-02-04  0:29 ` [PATCH net 1/2] vsock: Orphan socket after transport release Michal Luczaj
                   ` (3 more replies)
  0 siblings, 4 replies; 30+ messages in thread
From: Michal Luczaj @ 2025-02-04  0:29 UTC (permalink / raw)
  To: Stefano Garzarella, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman
  Cc: netdev, Michal Luczaj, syzbot+9d55b199192a4be7d02c

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@rbox.co>
---
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@rbox.co>


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2025-11-18 22:03 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04  0:29 [PATCH net 0/2] vsock: null-ptr-deref when SO_LINGER enabled Michal Luczaj
2025-02-04  0:29 ` [PATCH net 1/2] vsock: Orphan socket after transport release Michal Luczaj
2025-02-04 10:32   ` Stefano Garzarella
2025-02-04 15:44     ` Luigi Leonardi
2025-02-04 16:00       ` Stefano Garzarella
2025-02-05  0:11         ` Michal Luczaj
2025-02-04 23:59     ` Michal Luczaj
2025-02-04  0:29 ` [PATCH net 2/2] vsock/test: Add test for SO_LINGER null ptr deref Michal Luczaj
2025-02-04 10:48   ` Stefano Garzarella
2025-02-05 11:20     ` Michal Luczaj
2025-02-10 10:18       ` Stefano Garzarella
2025-03-07  9:49         ` Michal Luczaj
2025-03-10 15:24           ` Stefano Garzarella
2025-03-14 15:25             ` Michal Luczaj
2025-03-20 11:31               ` Stefano Garzarella
2025-03-25 13:22                 ` Michal Luczaj
2025-04-01 10:32                   ` Stefano Garzarella
2025-04-03 22:06                     ` Michal Luczaj
2025-04-11 13:21                       ` Stefano Garzarella
2025-04-11 14:43                         ` vsock broken after connect() returns EINTR (was Re: [PATCH net 2/2] vsock/test: Add test for SO_LINGER null ptr deref) Michal Luczaj
2025-04-15 13:07                           ` Stefano Garzarella
2025-07-25  9:06                             ` Michal Luczaj
2025-11-18 10:14                               ` Stefano Garzarella
2025-11-18 22:02                                 ` Michal Luczaj
2025-04-11 14:44                         ` bytes_unsent forever elevated " Michal Luczaj
2025-04-15 13:18                           ` Stefano Garzarella
2025-04-11 14:46                         ` connect() disconnects TCP_ESTABLISHED " Michal Luczaj
2025-04-15 13:33                           ` Stefano Garzarella
2025-02-04 14:45 ` [PATCH net 0/2] vsock: null-ptr-deref when SO_LINGER enabled Luigi Leonardi
2025-02-24 21:14 ` Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.