Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-50215
linux linux kernel

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.31%
within the next 30 days
CategoryOther
Published18 June 2025
Last modified: 15 October 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
linuxlinux kernel<4.9.326
linuxlinux kernel>=4.10 <4.14.291
linuxlinux kernel>=4.15 <4.19.256
linuxlinux kernel>=4.20 <5.4.211
linuxlinux kernel>=5.5 <5.10.137
linuxlinux kernel>=5.11 <5.15.61
linuxlinux kernel>=5.16 <5.18.18
linuxlinux kernel>=5.19 <5.19.2

Sources

Latest in the same category

  • CVE-2026-140094 Critical 9.9
    A flaw was found in openshift-apiserver. Incomplete authorization checks in the TemplateInstance instantiation mechanism allow requests to specify arbitrary group memberships without proper validation. An authenticated…
    Other · 1 December 2026
  • CVE-2026-103657 High 8.2
    A flaw was found in cloud-provider-kubevirt. This vulnerability allows an authenticated tenant administrator to intercept network traffic or manipulate infrastructure routing. When provisioning load balancer services…
    Other · 1 December 2026
  • CVE-2026-130400 Medium 5.3
    The iOS application "MynaApp (formerly Mynaportal App)" provided by Digital Agency contains an improper restriction vulnerability due to permissive list of allowed inputs. By clicking a malicious link, a user may be…
    Other · 1 December 2026
  • CVE-2026-130399 Medium 5.3
    The Android application "MynaApp (formerly Mynaportal App)" provided by Digital Agency contains a vulnerability due to permissive list of allowed inputs. By clicking a malicious link, a user may be redirected to an…
    Other · 1 December 2026
  • CVE-2026-130398 Medium 5.3
    The smartphone application "MynaApp (formerly Mynaportal App)" provided by Digital Agency contains a vulnerability due to permissive list of allowed inputs. By clicking a malicious link, a user may be redirected to an…
    Other · 1 December 2026
  • CVE-2026-129979 Not scored
    Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List. The…
    Other · 1 December 2026