netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net 0/2] af_unix: Fix MSG_OOB bugs with MSG_PEEK.
@ 2024-04-10 17:10 Kuniyuki Iwashima
  2024-04-10 17:10 ` [PATCH v2 net 1/2] af_unix: Call manage_oob() for every skb in unix_stream_read_generic() Kuniyuki Iwashima
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Kuniyuki Iwashima @ 2024-04-10 17:10 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Rao shoaib, Kuniyuki Iwashima, Kuniyuki Iwashima, netdev

Currently, OOB data can be read without MSG_OOB accidentally
in two cases, and this seris fixes the bugs.


Changes:
  v2:
    Drop patch 3

  v1: https://lore.kernel.org/netdev/20240409225209.58102-1-kuniyu@amazon.com/


Kuniyuki Iwashima (2):
  af_unix: Call manage_oob() for every skb in
    unix_stream_read_generic().
  af_unix: Don't peek OOB data without MSG_OOB.

 net/unix/af_unix.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2024-04-17  4:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 17:10 [PATCH v2 net 0/2] af_unix: Fix MSG_OOB bugs with MSG_PEEK Kuniyuki Iwashima
2024-04-10 17:10 ` [PATCH v2 net 1/2] af_unix: Call manage_oob() for every skb in unix_stream_read_generic() Kuniyuki Iwashima
2024-04-15  2:26   ` Rao Shoaib
2024-04-10 17:10 ` [PATCH v2 net 2/2] af_unix: Don't peek OOB data without MSG_OOB Kuniyuki Iwashima
2024-04-16 20:11   ` Rao Shoaib
2024-04-16 20:51     ` Kuniyuki Iwashima
2024-04-16 21:34       ` Rao Shoaib
2024-04-16 21:47         ` Kuniyuki Iwashima
2024-04-16 22:01           ` Rao Shoaib
2024-04-16 22:10             ` Kuniyuki Iwashima
2024-04-17  4:37               ` Rao Shoaib
2024-04-13  2:10 ` [PATCH v2 net 0/2] af_unix: Fix MSG_OOB bugs with MSG_PEEK patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).