[SRU] IO's are issued with incorrect Scatter Gather Buffer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Committed
|
Medium
|
Marcelo Cerri | ||
Bionic |
Fix Released
|
Undecided
|
Marcelo Cerri | ||
Cosmic |
Fix Released
|
Undecided
|
Marcelo Cerri |
Bug Description
[Impact]
We have observed that OS is sending the IO's (SCSI Read/Write) with incorrect Scatter Gather Buffer address .
i.e
OS is sending the IO with 64 bit Scatter Gather Buffer address , such that if we add the length with buffer address then it causes the roll over .
Here is the data we captured in our driver (Printed the SGE details which was sent by OS)
sgl_ptr->Address = fffffffffffff000
[14547.313240]
[14547.313241]
[14547.313242]
Note : This issue is observed only when virtualization is enabled
Product : Broadcom (LSI) Megaraid H840 controller
[Test Case]
Steps found in comment #60
https:/
[Regression Potential]
The patches in Comment #59 have been accepted upstream.
https:/
[Other Info]
Product : Broadcom (LSI) Megaraid H840 controller
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw----+ 1 root audio 116, 1 Oct 12 16:35 seq
crw-rw----+ 1 root audio 116, 33 Oct 12 16:35 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Dell Inc. PowerEdge R7415
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic uec-images
Uname: Linux 4.18.0-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lxd plugdev sudo
_MarkForUpload: True
dmi.bios.date: 09/07/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.2
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: PowerEdge
dmi.product.name: PowerEdge R7415
dmi.product.sku: SKU=NotProvided
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw----+ 1 root audio 116, 1 Oct 12 16:35 seq
crw-rw----+ 1 root audio 116, 33 Oct 12 16:35 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Dell Inc. PowerEdge R7415
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic uec-images
Uname: Linux 4.18.0-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lxd plugdev sudo
_MarkForUpload: True
dmi.bios.date: 09/07/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.2
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: PowerEdge
dmi.product.name: PowerEdge R7415
dmi.product.sku: SKU=NotProvided
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-09-20 (25 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
IwConfig:
lo no wireless extensions.
eno2 no wireless extensions.
eno1 no wireless extensions.
MachineType: Dell Inc. PowerEdge R7415
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.173.1
RfKill:
Tags: bionic
Uname: Linux 4.15.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 09/07/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.2
dmi.board.name: 065PKD
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: PowerEdge
dmi.product.name: PowerEdge R7415
dmi.sys.vendor: Dell Inc.
CVE References
description: | updated |
tags: | added: verification-needed |
tags: | added: tpp |
summary: |
- IO's are issued with incorrect Scatter Gather Buffer + [SRU] IO's are issued with incorrect Scatter Gather Buffer |
tags: | added: cosmic disco xenial |
tags: | added: patch |
tags: |
added: verification-needed-bionic verification-needed-xenial removed: verification-needed |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Cosmic): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-cosmic removed: verification-needed-cosmic |
Changed in linux (Ubuntu Bionic): | |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in linux (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | Fix Released → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
Can you provide more information, such as the driver version, uname -a, logs, and how to recreate the issue?