[Azure][CVM] hv/bounce buffer: Fix a race that can fail disk detection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-azure-cvm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
SRU Justification
[Impact]
The linux-azure-cvm kernel (e.g. Ubuntu-
#1: [ 2.995732] sd 3:0:0:3: [sdd] Sector size 0 reported, assuming 512.
#2: [ 3.651293] scsi host3: scsi scan: INQUIRY result too short (5), using 36
Sometimes I see a strange call-trace (the 'order's is 18, if I print it)
2022-04-
2022-04-
2022-04-
2022-04-
2022-04-
2022-04-
(This is very strange because 'order 18' means (1 << 18) * 4096 bytes = 1GBytes.)
After some investigation, we eventually got the root cause and made a fix:
https:/
With the fix, we no longer see the above strange symptoms.
Please include the fix into the next release of the v5.4 linux-azure-cvm kernel. Thanks!
[Test case]
Microsoft tested
[Where things could go wrong]
Some SCSI drives may continue to go undetected.
[Other Info]
SF: #00335631
CVE References
affects: | linux (Ubuntu) → linux-azure-cvm (Ubuntu) |
Changed in linux-azure-cvm (Ubuntu): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-azure-cvm (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Patch submitted: https:/ /lists. ubuntu. com/archives/ kernel- team/2022- May/129853. html