In the Linux kernel, the following vulnerability has been resolved:
scsi: sg: Allow waiting for commands to complete on removed device
When a SCSI device is removed while in active use, currently sg will immediately return -ENODEV on any attempt to wait for active commands that were sent before the removal. This is problematic for commands that use SG_FLAG_DIRECT_IO since the data buffer may still be in use by the kernel when userspace frees or reuses it after getting ENODEV, leading to corrupted userspace memory (in the case of READ-type commands) or corrupted data being sent to the device (in the case of WRITE-type commands). This has been seen in practice when logging out of a iscsi_tcp session, where the iSCSI driver may still be processing commands after the device has been marked for removal.
Change the policy to allow userspace to wait for active sg commands even when the device is being removed. Return -ENODEV only when there are no more responses to read.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade python-perfUpgrade bpftoolUpgrade perf-debuginfoUpgrade kernel-livepatch-4.14.291-218.527Upgrade kernel-livepatch-5.15.69-37.134Upgrade kernel-debuginfo-common-x86_64Upgrade kernel-toolsUpgrade bpftool-debuginfoUpgrade kernel-develUpgrade python-perf-debuginfoUpgrade kernel-tools-develUpgrade perfUpgrade kernel-livepatch-5.10.144-127.601Upgrade kernel-debuginfo-common-aarch64Upgrade kernelUpgrade kernel-tools-debuginfoUpgrade kernel-debuginfoUpgrade kernel-headers | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Jun 20, 2025 | Jun 20, 2025 |
| Dell Powerstore Dsa2025429 | — | Upgrade Dell PowerStoreOS to the latest version | Dec 3, 2025 | Dec 2, 2025 |
| Dell Powerstore Dsa2026039 | — | Upgrade Dell PowerStoreOS to the latest version | Jan 13, 2026 | Jan 6, 2026 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernelUpgrade kernel-toolsUpgrade kernel-abi-stablelistsUpgrade python3-perfUpgrade kernel-tools-libsUpgrade bpftool | Oct 24, 2025 | Oct 23, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jun 18, 2025 |
| Ubuntu | — | Upgrade linux-gkeUpgrade linux-lowlatencyUpgrade linux-nvidiaUpgrade linux-oracle-5.15Upgrade linux-gkeopUpgrade linux-aws-hweUpgrade linux-kvmUpgrade linux-gcp-5.15Upgrade linux-gcpUpgrade linux-azure-fipsUpgrade linux-aws-5.15Upgrade linux-azure-fde-5.15Upgrade linux-raspiUpgrade linux-oracleUpgrade linux-azure-5.15Upgrade linux-intel-iotgUpgrade linux-oracle-5.4Upgrade linux-riscv-5.15Upgrade linux-realtimeUpgrade linux-aws-5.4Upgrade linux-fipsUpgrade linux-hweUpgrade linux-gcp-fipsUpgrade linux-ibmUpgrade linux-azureUpgrade linux-awsUpgrade linux-gcp-4.15Upgrade linux-gcp-5.4Upgrade linux-azure-4.15Upgrade linux-raspi-5.4Upgrade linux-bluefieldUpgrade linux-ibm-5.4Upgrade linux-hwe-5.4Upgrade linux-hwe-5.15Upgrade linuxUpgrade linux-intel-iotg-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-aws-fipsUpgrade linux-azure-5.4Upgrade linux-iot | Jun 26, 2025 | Jun 18, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Jun 18, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub