David Howells
ff8878461b
rxrpc: Fix missing security check on incoming calls
...
[ Upstream commit 063c60d391 ]
Fix rxrpc_new_incoming_call() to check that we have a suitable service key
available for the combination of service ID and security class of a new
incoming call - and to reject calls for which we don't.
This causes an assertion like the following to appear:
rxrpc: Assertion failed - 6(0x6) == 12(0xc) is false
kernel BUG at net/rxrpc/call_object.c:456!
Where call->state is RXRPC_CALL_SERVER_SECURING (6) rather than
RXRPC_CALL_COMPLETE (12).
Fixes: 248f219cb8 ("rxrpc: Rewrite the data and ack handling code")
Reported-by: Marc Dionne <marc.dionne@auristor.com >
Signed-off-by: David Howells <dhowells@redhat.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2020-01-17 19:49:05 +01:00
..
2019-07-06 12:50:01 +02:00
2019-09-27 15:10:34 -07:00
2019-06-19 17:09:55 +02:00
2020-01-12 12:21:50 +01:00
2019-09-24 16:37:18 +02:00
2019-11-18 17:08:20 -08:00
2019-09-24 16:37:18 +02:00
2019-10-28 16:39:07 -07:00
2020-01-09 10:20:04 +01:00
2019-07-25 18:00:41 -07:00
2019-07-12 16:03:16 -07:00
2020-01-04 19:18:58 +01:00
2019-10-28 13:33:41 -07:00
2019-12-31 16:45:56 +01:00
2019-09-16 12:06:25 +02:00
2020-01-17 19:48:40 +01:00
2019-05-30 11:29:52 -07:00
2019-12-18 16:08:40 +01:00
2020-01-04 19:18:58 +01:00
2019-07-10 18:43:43 -07:00
2019-11-16 12:23:53 -08:00
2020-01-09 10:20:06 +01:00
2020-01-17 19:48:32 +01:00
2019-10-24 14:53:48 -07:00
2019-09-26 08:56:17 +02:00
2020-01-14 20:08:39 +01:00
2020-01-04 19:19:17 +01:00
2019-07-29 10:26:14 -07:00
2019-09-27 10:27:14 +02:00
2019-07-08 19:48:57 -07:00
2019-12-18 16:08:40 +01:00
2019-06-23 13:24:17 -07:00
2019-06-17 20:20:36 -07:00
2020-01-12 12:21:45 +01:00
2020-01-12 12:21:28 +01:00
2019-05-30 11:26:41 -07:00
2019-12-18 16:08:42 +01:00
2019-09-19 18:04:40 -07:00
2020-01-17 19:48:33 +01:00
2019-09-01 11:45:02 -07:00
2019-06-14 19:50:33 -07:00
2019-10-24 14:53:48 -07:00
2019-12-31 16:41:23 +01:00
2019-06-19 17:09:55 +02:00
2019-12-18 16:08:56 +01:00
2019-12-31 16:41:12 +01:00
2019-10-28 13:33:41 -07:00
2019-12-04 22:30:54 +01:00
2019-09-21 18:45:46 -07:00
2019-11-16 12:59:08 -08:00
2020-01-12 12:21:33 +01:00
2019-10-24 14:53:48 -07:00
2020-01-17 19:49:05 +01:00
2020-01-17 19:49:02 +01:00
2020-01-12 12:21:48 +01:00
2020-01-04 19:18:37 +01:00
2019-06-22 08:59:24 -04:00
2020-01-17 19:48:44 +01:00
2019-05-30 11:26:32 -07:00
2019-12-18 16:08:42 +01:00
2019-12-18 16:08:31 +01:00
2020-01-17 19:48:52 +01:00
2019-11-08 12:17:50 -08:00
2019-08-10 15:25:47 -07:00
2020-01-12 12:21:28 +01:00
2019-10-09 21:42:59 -07:00
2020-01-12 12:21:41 +01:00
2019-11-12 08:24:38 +01:00
2019-05-31 15:30:03 -06:00
2019-08-17 12:40:08 -07:00
2019-02-28 08:24:23 -07:00
2020-01-17 19:48:52 +01:00
2019-05-21 10:50:45 +02:00