Re: [PATCH] libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store()

2018-06-18 Thread Tejun Heo
On Fri, Jun 08, 2018 at 06:26:33PM +0800, John Garry wrote: > Currently smatch warns of possible Spectre-V1 issue in ahci_led_store(): > drivers/ata/libahci.c:1150 ahci_led_store() warn: potential spectre issue > 'pp->em_priv' (local cap) > > Userspace controls @pmp from following callchain: >

Re: [PATCH] libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store()

2018-06-18 Thread Tejun Heo
On Fri, Jun 08, 2018 at 06:26:33PM +0800, John Garry wrote: > Currently smatch warns of possible Spectre-V1 issue in ahci_led_store(): > drivers/ata/libahci.c:1150 ahci_led_store() warn: potential spectre issue > 'pp->em_priv' (local cap) > > Userspace controls @pmp from following callchain: >

[PATCH] libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store()

2018-06-08 Thread John Garry
Currently smatch warns of possible Spectre-V1 issue in ahci_led_store(): drivers/ata/libahci.c:1150 ahci_led_store() warn: potential spectre issue 'pp->em_priv' (local cap) Userspace controls @pmp from following callchain: em_message->store() ->ata_scsi_em_message_store() -->ap->ops->em_store()

[PATCH] libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store()

2018-06-08 Thread John Garry
Currently smatch warns of possible Spectre-V1 issue in ahci_led_store(): drivers/ata/libahci.c:1150 ahci_led_store() warn: potential spectre issue 'pp->em_priv' (local cap) Userspace controls @pmp from following callchain: em_message->store() ->ata_scsi_em_message_store() -->ap->ops->em_store()