Kuniyuki Iwashima
8a34d4e8d9
af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().
...
The following functions read sk->sk_state locklessly and proceed only if
the state is TCP_ESTABLISHED.
* unix_stream_sendmsg
* unix_stream_read_generic
* unix_seqpacket_sendmsg
* unix_seqpacket_recvmsg
Let's use READ_ONCE() there.
Fixes: a05d2ad1c1f3 ("af_unix: Only allow recv on connected seqpacket sockets.")
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-06-06 12:57:14 +02:00
..
2024-02-09 14:12:01 -08:00
2024-05-29 09:25:15 -07:00
2023-10-28 11:29:28 +01:00
2024-05-07 16:19:14 -07:00
2024-05-09 10:01:01 -07:00
2024-05-13 18:19:09 -06:00
2024-06-01 15:49:42 -07:00
2024-05-22 20:14:47 -04:00
2024-05-18 10:32:39 -07:00
2024-06-05 09:41:33 +02:00
2024-05-15 07:30:49 -07:00
2024-04-02 18:20:00 -07:00
2024-02-20 15:32:45 +01:00
2024-03-06 12:43:01 +01:00
2024-06-05 12:34:54 +01:00
2024-05-07 16:15:08 -07:00
2024-04-22 13:05:19 -07:00
2024-01-11 10:07:29 -08:00
2024-05-22 20:14:47 -04:00
2024-05-25 10:48:57 -07:00
2024-06-01 15:11:09 -07:00
2024-04-16 17:14:55 -07:00
2024-05-09 10:01:01 -07:00
2024-05-22 20:14:47 -04:00
2023-12-15 10:50:18 +00:00
2024-06-05 12:34:54 +01:00
2024-06-03 18:50:09 -07:00
2024-05-21 12:09:36 -07:00
2024-03-11 09:53:22 +00:00
2024-02-09 14:12:01 -08:00
2024-05-17 12:15:22 -07:00
2024-05-13 18:19:09 -06:00
2024-05-29 15:58:54 +02:00
2024-03-06 21:01:26 +01:00
2024-02-29 14:24:56 -08:00
2024-05-03 13:29:41 +01:00
2024-06-05 12:32:47 +01:00
2024-06-01 16:21:44 -07:00
2024-05-29 00:37:51 +02:00
2024-05-13 14:58:12 -07:00
2024-04-23 10:09:49 -07:00
2024-05-18 10:32:39 -07:00
2024-05-23 12:49:37 -07:00
2024-04-26 12:20:01 +02:00
2024-05-23 12:49:37 -07:00
2024-05-16 19:38:05 -07:00
2024-05-13 18:19:09 -06:00
2024-04-01 10:49:28 +01:00
2024-05-16 09:47:45 +01:00
2024-05-13 18:19:09 -06:00
2024-03-25 15:40:22 +01:00
2024-05-13 18:19:09 -06:00
2024-05-09 10:01:01 -07:00
2024-06-05 15:54:51 -07:00
2024-05-13 18:19:09 -06:00
2024-06-05 09:42:57 +01:00
2024-05-23 13:51:09 -07:00
2024-05-08 12:19:12 +01:00
2024-05-22 20:14:47 -04:00
2024-05-23 12:03:26 +02:00
2024-06-06 12:57:14 +02:00
2024-05-23 12:04:36 -07:00
2024-05-29 15:25:25 +02:00
2024-05-13 18:19:09 -06:00
2024-06-05 09:42:30 +02:00
2024-05-29 17:34:49 -07:00
2023-12-12 14:24:14 +01:00
2024-05-08 10:35:09 +01:00
2024-01-31 16:41:16 -08:00
2024-05-13 18:19:19 -06:00
2024-04-24 09:43:54 +02:00