0265-p54-prevent-speculative-execution.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: Elena Reshetova <[email protected]>
  3. Date: Mon, 4 Sep 2017 13:11:48 +0300
  4. Subject: [PATCH] p54: prevent speculative execution
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. CVE-2017-5753
  9. CVE-2017-5715
  10. Real commit text tbd
  11. Signed-off-by: Elena Reshetova <[email protected]>
  12. Signed-off-by: Tim Chen <[email protected]>
  13. Signed-off-by: Andy Whitcroft <[email protected]>
  14. Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
  15. (cherry picked from commit 57b537e161bb9d44475a05b2b12d64bfb50319d3)
  16. Signed-off-by: Fabian Grünbichler <[email protected]>
  17. ---
  18. drivers/net/wireless/intersil/p54/main.c | 1 +
  19. 1 file changed, 1 insertion(+)
  20. diff --git a/drivers/net/wireless/intersil/p54/main.c b/drivers/net/wireless/intersil/p54/main.c
  21. index d5a3bf91a03e..7e6af1f67960 100644
  22. --- a/drivers/net/wireless/intersil/p54/main.c
  23. +++ b/drivers/net/wireless/intersil/p54/main.c
  24. @@ -415,6 +415,7 @@ static int p54_conf_tx(struct ieee80211_hw *dev,
  25. mutex_lock(&priv->conf_mutex);
  26. if (queue < dev->queues) {
  27. + gmb();
  28. P54_SET_QUEUE(priv->qos_params[queue], params->aifs,
  29. params->cw_min, params->cw_max, params->txop);
  30. ret = p54_set_edcf(priv);
  31. --
  32. 2.14.2