]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
p54: prevent speculative execution
authorElena Reshetova <elena.reshetova@intel.com>
Wed, 30 Aug 2017 10:44:38 +0000 (13:44 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 5 Feb 2018 15:56:00 +0000 (16:56 +0100)
commitf4571a0e31bc5b7293bda7427845bbcb687460b5
treea0e3eb09f2036c43091e9978990fb187de8ecbbd
parent623c520c67c1876c8dc693648907d40e8f477cf1
p54: prevent speculative execution

CVE-2017-5753 (Spectre v1 Intel)

Since the queue value in function p54_conf_tx()
seems to be controllable by userspace and later on
conditionally (upon bound check) used to resolve
priv->qos_params, insert an observable speculation
barrier before its usage. This should prevent
observable speculation on that branch and avoid
kernel memory leak.

Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/wireless/intersil/p54/main.c