Jinbum Park
7141f97cdd
pktcdvd: Fix possible Spectre-v1 for pkt_devs
...
[ Upstream commit 55690c07b44a82cc3359ce0c233f4ba7d80ba145 ]
User controls @dev_minor which to be used as index of pkt_devs.
So, It can be exploited via Spectre-like attack. (speculative execution)
This kind of attack leaks address of pkt_devs, [1]
It leads an attacker to bypass security mechanism such as KASLR.
So sanitize @dev_minor before using it to prevent attack.
[1] https://github.com/jinb-park/linux-exploit/
tree/master/exploit-remaining-spectre-gadget/leak_pkt_devs.c
Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-19 22:43:43 +02:00
..
2018-09-15 09:45:30 +02:00
2018-05-01 12:58:21 -07:00
2018-09-19 22:43:35 +02:00
2018-09-19 22:43:41 +02:00
2018-07-22 14:28:43 +02:00
2018-07-03 11:24:56 +02:00
2018-09-05 09:26:42 +02:00
2018-09-19 22:43:43 +02:00
2018-09-19 22:43:38 +02:00
2018-08-03 07:50:31 +02:00
2018-09-05 09:26:42 +02:00
2018-09-19 22:43:38 +02:00
2018-09-15 09:45:32 +02:00
2018-06-21 04:02:40 +09:00
2018-09-09 19:55:58 +02:00
2018-07-03 11:24:51 +02:00
2018-09-09 19:56:02 +02:00
2018-08-24 13:09:08 +02:00
2018-08-24 13:09:08 +02:00
2018-06-05 11:41:57 +02:00
2018-08-24 13:08:55 +02:00
2018-09-09 19:55:56 +02:00
2018-09-19 22:43:40 +02:00
2018-05-01 12:58:24 -07:00
2018-09-19 22:43:42 +02:00
2018-09-19 22:43:39 +02:00
2018-09-15 09:45:35 +02:00
2018-09-19 22:43:40 +02:00
2018-09-05 09:26:40 +02:00
2018-06-05 11:41:59 +02:00
2018-09-19 22:43:38 +02:00
2018-05-30 07:52:34 +02:00
2018-08-09 12:16:39 +02:00
2018-09-09 19:55:56 +02:00
2018-09-15 09:45:29 +02:00
2018-09-15 09:45:30 +02:00
2018-09-15 09:45:31 +02:00
2018-09-15 09:45:29 +02:00
2018-08-22 07:46:11 +02:00
2018-09-15 09:45:35 +02:00
2018-09-19 22:43:41 +02:00
2018-09-09 19:55:54 +02:00
2018-09-19 22:43:39 +02:00
2018-09-19 22:43:39 +02:00
2018-08-03 07:50:38 +02:00
2018-05-25 16:17:47 +02:00
2018-09-15 09:45:28 +02:00
2018-09-19 22:43:39 +02:00
2018-09-09 19:55:53 +02:00
2018-08-24 13:09:04 +02:00
2018-09-19 22:43:42 +02:00
2018-08-24 13:09:06 +02:00
2018-09-09 19:56:01 +02:00
2018-09-05 09:26:36 +02:00
2018-08-24 13:09:14 +02:00
2018-07-03 11:24:52 +02:00
2018-05-30 07:52:28 +02:00
2018-09-19 22:43:37 +02:00
2018-05-30 07:52:39 +02:00
2018-08-24 13:08:59 +02:00
2018-08-15 18:12:48 +02:00
2018-09-19 22:43:42 +02:00
2018-09-15 09:45:28 +02:00
2018-09-05 09:26:42 +02:00
2018-07-25 11:25:10 +02:00
2018-09-15 09:45:27 +02:00
2018-08-03 07:50:40 +02:00
2018-06-21 04:02:48 +09:00
2018-09-19 22:43:41 +02:00
2018-09-09 19:55:57 +02:00
2018-09-15 09:45:30 +02:00
2018-09-19 22:43:42 +02:00
2018-08-24 13:09:19 +02:00
2018-09-09 19:55:53 +02:00
2018-09-15 09:45:36 +02:00
2018-09-19 22:43:39 +02:00
2018-06-21 04:02:54 +09:00
2018-08-03 07:50:37 +02:00
2018-09-19 22:43:40 +02:00
2018-09-19 22:43:40 +02:00
2018-09-15 09:45:35 +02:00
2018-08-03 07:50:23 +02:00
2018-09-15 09:45:25 +02:00
2018-09-09 19:56:01 +02:00
2018-09-15 09:45:27 +02:00
2018-07-03 11:24:47 +02:00
2018-08-03 07:50:24 +02:00
2018-09-15 09:45:30 +02:00
2018-05-30 07:52:30 +02:00