[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bf58dfc7-3a76-3011-f575-0d43a8ff932b@kernel.dk>
Date: Sat, 28 Jul 2018 09:08:28 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Jinbum Park <jinb.park7@...il.com>, bart.vanassche@....com,
jiufei.xue@...ux.alibaba.com, gustavo@...eddedor.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] pktcdvd: Fix possible Spectre-v1 for pkt_devs
On 7/27/18 10:20 PM, Jinbum Park wrote:
> 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
Applied for 4.19, thanks.
--
Jens Axboe
Powered by blists - more mailing lists