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 kernel-livepatch-5.10.144-127.601Upgrade kernel-headersUpgrade python-perf-debuginfoUpgrade kernel-tools-develUpgrade kernel-develUpgrade kernelUpgrade kernel-debuginfoUpgrade perfUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-tools-debuginfoUpgrade bpftoolUpgrade perf-debuginfoUpgrade kernel-toolsUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-livepatch-5.15.69-37.134Upgrade python-perfUpgrade kernel-livepatch-4.14.291-218.527Upgrade bpftool-debuginfo | 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 python3-perfUpgrade kernel-abi-stablelistsUpgrade kernel-toolsUpgrade kernel-tools-libsUpgrade bpftool | Oct 24, 2025 | Oct 23, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jun 18, 2025 |
| Ubuntu | — | Upgrade linux-intel-iotgUpgrade linux-azure-fde-5.15Upgrade linux-aws-5.4Upgrade linux-gkeopUpgrade linux-gcp-5.15Upgrade linux-riscv-5.15Upgrade linux-realtimeUpgrade linux-nvidiaUpgrade linux-fipsUpgrade linux-lowlatencyUpgrade linux-gcpUpgrade linux-kvmUpgrade linux-azure-5.15Upgrade linux-aws-5.15Upgrade linux-raspiUpgrade linux-oracle-5.15Upgrade linux-oracleUpgrade linux-gkeUpgrade linux-oracle-5.4Upgrade linux-azure-fipsUpgrade linux-aws-hweUpgrade linux-hwe-5.15Upgrade linux-azure-5.4Upgrade linux-gcp-4.15Upgrade linux-azure-4.15Upgrade linux-awsUpgrade linux-intel-iotg-5.15Upgrade linux-raspi-5.4Upgrade linux-bluefieldUpgrade linux-ibmUpgrade linux-ibm-5.4Upgrade linux-hwe-5.4Upgrade linux-iotUpgrade linux-gcp-5.4Upgrade linux-gcp-fipsUpgrade linux-hweUpgrade linux-aws-fipsUpgrade linuxUpgrade linux-lowlatency-hwe-5.15Upgrade linux-azure | 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