mlxbf-tmfifo: fix potential race
Bug #2016039 reported by
Liming Sun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
This change is needed to avoid potential race of accessing the 'vq' pointer
[Fix]
The fix adds memory barrier for the is_ready flag and the 'vq' pointer access in mlxbf_tmfifo_
[Test Case]
Same functionality and testing as on BlueField-1/2/2. No functionality change.
[Regression Potential]
Same behavior from user perspective.
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in linux-bluefield (Ubuntu Focal): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu Jammy): | |
importance: | Undecided → Medium |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
To post a comment you must log in.
This bug is awaiting verification that the linux-bluefield /5.15.0- 1019.21 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- jammy' to 'verification- done-jammy' . If the problem still exists, change the tag 'verification- needed- jammy' to 'verification- failed- jammy'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!