Public bug reported:

SRU Justification

[Impact]

* Request from Microsoft to address potential memory coherence issue in
MANA driver where memory read in DMA-coherent region is read twice and
could possibly change between invocations. Rather, the memory should be
read into a local variable, and passed to the second function by
parameter, rather than re-reading from memory.

[Fix]

* Resolute:
  - Clean cherry-pick of linux-next patches:
    -   35f0f0a2536a: "net: mana: Fix TOCTOU double-fetch of hwc_msg_id from 
DMA buffer"

[Test Plan]

* Compile tested
* Boot tested
* Microsoft tested

[Regression potential]

* Patches isolated to MANA specifically. Possibly regression could
result in unexpected behavior of MANA driver.

[Other info]

* SF#00438816

** Affects: linux-azure (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156472

Title:
  net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/2156472/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to