CVE-2022-50215 (GCVE-0-2022-50215)

Vulnerability from cvelistv5 – Published: 2025-06-18 11:03 – Updated: 2026-08-05 08:57
VLAI
Title
scsi: sg: Allow waiting for commands to complete on removed device
Summary
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.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < bbc118acf7baf9e93c5e1314d14f481301af4d0f (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < f5e61d9b4a699dd16f32d5f39eb1cf98d84c92ed (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < ed9afd967cbfe7da2dc0d5e52c62a778dfe9f16b (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < f135c65085eed869d10e4e7923ce1015288618da (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < 408bfa1489a3cfe7150b81ab0b0df99b23dd5411 (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < 8c004b7dbb340c1e5889f5fb9e5baa6f6e5303e8 (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < 35e60ec39e862159cb92923eefd5230d4a873cb9 (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < 03d8241112d5e3cccce1a01274a221099f07d2e1 (git)
Affected: c6517b7942fad663cc1cf3235cbe4207cf769332 , < 3455607fd7be10b449f5135c00dc306b85dc0d21 (git)
Affected: a0fe972f78eaaf352d593f9ed9079de590ceb286 (git)
Affected: b21c6d2897cd455fa396f4041a0c8165784e949f (git)
Affected: 2.6.28.10 , < 2.6.29 (semver)
Affected: 2.6.29.2 , < 2.6.30 (semver)
Create a notification for this product.
Linux Linux Affected: 2.6.30
Unaffected: 0 , < 2.6.30 (semver)
Unaffected: 4.9.326 , ≤ 4.9.* (semver)
Unaffected: 4.14.291 , ≤ 4.14.* (semver)
Unaffected: 4.19.256 , ≤ 4.19.* (semver)
Unaffected: 5.4.211 , ≤ 5.4.* (semver)
Unaffected: 5.10.137 , ≤ 5.10.* (semver)
Unaffected: 5.15.61 , ≤ 5.15.* (semver)
Unaffected: 5.18.18 , ≤ 5.18.* (semver)
Unaffected: 5.19.2 , ≤ 5.19.* (semver)
Unaffected: 6.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/sg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bbc118acf7baf9e93c5e1314d14f481301af4d0f",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "f5e61d9b4a699dd16f32d5f39eb1cf98d84c92ed",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "ed9afd967cbfe7da2dc0d5e52c62a778dfe9f16b",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "f135c65085eed869d10e4e7923ce1015288618da",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "408bfa1489a3cfe7150b81ab0b0df99b23dd5411",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "8c004b7dbb340c1e5889f5fb9e5baa6f6e5303e8",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "35e60ec39e862159cb92923eefd5230d4a873cb9",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "03d8241112d5e3cccce1a01274a221099f07d2e1",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "lessThan": "3455607fd7be10b449f5135c00dc306b85dc0d21",
              "status": "affected",
              "version": "c6517b7942fad663cc1cf3235cbe4207cf769332",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a0fe972f78eaaf352d593f9ed9079de590ceb286",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b21c6d2897cd455fa396f4041a0c8165784e949f",
              "versionType": "git"
            },
            {
              "lessThan": "2.6.29",
              "status": "affected",
              "version": "2.6.28.10",
              "versionType": "semver"
            },
            {
              "lessThan": "2.6.30",
              "status": "affected",
              "version": "2.6.29.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/sg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.30"
            },
            {
              "lessThan": "2.6.30",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.256",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.137",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.326",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.291",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.256",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.211",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.137",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.61",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.18",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.2",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "2.6.28.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "2.6.29.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sg: Allow waiting for commands to complete on removed device\n\nWhen a SCSI device is removed while in active use, currently sg will\nimmediately return -ENODEV on any attempt to wait for active commands that\nwere sent before the removal.  This is problematic for commands that use\nSG_FLAG_DIRECT_IO since the data buffer may still be in use by the kernel\nwhen userspace frees or reuses it after getting ENODEV, leading to\ncorrupted userspace memory (in the case of READ-type commands) or corrupted\ndata being sent to the device (in the case of WRITE-type commands).  This\nhas been seen in practice when logging out of a iscsi_tcp session, where\nthe iSCSI driver may still be processing commands after the device has been\nmarked for removal.\n\nChange the policy to allow userspace to wait for active sg commands even\nwhen the device is being removed.  Return -ENODEV only when there are no\nmore responses to read."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached only through the local SCSI generic character device (/dev/sg*) via open/read/write/ioctl(SG_IO); it is not reachable from network packet processing or adjacent-link protocols.\nAC:L - An attacker who can open the sg device fully controls in-flight commands and, on hot-pluggable deployments (USB/optical with uaccess, iSCSI session drop), can also drive or coincide with device detachment so the ENODEV-vs-completion race does not depend on conditions outside their influence.\nPR:L - /dev/sg* for optical devices is tagged uaccess for the active seat, and disk-type sg nodes are accessible to the disk group\u2014basic local users without init-namespace root\u2014so privileges required are Low, not High.\nUI:N - The attacker can open the device, submit commands, and trigger or await removal themselves; no separate victim action such as mounting a crafted image is required.\nS:U - Impact is confined to the host kernel/sg userspace interaction under the same OS security authority; this is not a VM escape, IOMMU bypass, or other cross-boundary compromise.\nC:H - With SG_FLAG_DIRECT_IO, a WRITE after premature ENODEV can DMA reused userspace heap contents (including secrets) to the device, and the same buffer-lifetime violation is memory corruption that can be leveraged for information disclosure.\nI:H - Premature ENODEV allows DMA or bio_uncopy_user copy-back into freed/reused userspace buffers (and corrupted WRITE data to storage), which is exploitable memory corruption for integrity compromise and control-flow hijacking in the affected process.\nA:H - The resulting userspace heap corruption reliably crashes or destabilizes processes using sg on device removal, and per scoring bias for memory-corruption paths availability impact is High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:57:43.951Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bbc118acf7baf9e93c5e1314d14f481301af4d0f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f5e61d9b4a699dd16f32d5f39eb1cf98d84c92ed"
        },
        {
          "url": "https://git.kernel.org/stable/c/ed9afd967cbfe7da2dc0d5e52c62a778dfe9f16b"
        },
        {
          "url": "https://git.kernel.org/stable/c/f135c65085eed869d10e4e7923ce1015288618da"
        },
        {
          "url": "https://git.kernel.org/stable/c/408bfa1489a3cfe7150b81ab0b0df99b23dd5411"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c004b7dbb340c1e5889f5fb9e5baa6f6e5303e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/35e60ec39e862159cb92923eefd5230d4a873cb9"
        },
        {
          "url": "https://git.kernel.org/stable/c/03d8241112d5e3cccce1a01274a221099f07d2e1"
        },
        {
          "url": "https://git.kernel.org/stable/c/3455607fd7be10b449f5135c00dc306b85dc0d21"
        }
      ],
      "title": "scsi: sg: Allow waiting for commands to complete on removed device",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50215",
    "datePublished": "2025-06-18T11:03:52.197Z",
    "dateReserved": "2025-06-18T10:57:27.429Z",
    "dateUpdated": "2026-08-05T08:57:43.951Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50215",
      "date": "2026-08-11",
      "epss": "0.00208",
      "percentile": "0.1114"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50215\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-18T11:15:52.423\",\"lastModified\":\"2026-08-04T10:18:07.397\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: sg: Allow waiting for commands to complete on removed device\\n\\nWhen a SCSI device is removed while in active use, currently sg will\\nimmediately return -ENODEV on any attempt to wait for active commands that\\nwere sent before the removal.  This is problematic for commands that use\\nSG_FLAG_DIRECT_IO since the data buffer may still be in use by the kernel\\nwhen userspace frees or reuses it after getting ENODEV, leading to\\ncorrupted userspace memory (in the case of READ-type commands) or corrupted\\ndata being sent to the device (in the case of WRITE-type commands).  This\\nhas been seen in practice when logging out of a iscsi_tcp session, where\\nthe iSCSI driver may still be processing commands after the device has been\\nmarked for removal.\\n\\nChange the policy to allow userspace to wait for active sg commands even\\nwhen the device is being removed.  Return -ENODEV only when there are no\\nmore responses to read.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: sg: Permitir esperar a que se completen los comandos en el dispositivo eliminado Cuando se elimina un dispositivo SCSI mientras est\u00e1 en uso activo, actualmente sg devolver\u00e1 inmediatamente -ENODEV en cualquier intento de esperar los comandos activos que se enviaron antes de la eliminaci\u00f3n. Esto es problem\u00e1tico para los comandos que usan SG_FLAG_DIRECT_IO ya que el b\u00fafer de datos puede seguir en uso por el kernel cuando el espacio de usuario lo libera o lo reutiliza despu\u00e9s de obtener ENODEV, lo que lleva a la memoria del espacio de usuario da\u00f1ada (en el caso de comandos de tipo READ) o al env\u00edo de datos da\u00f1ados al dispositivo (en el caso de comandos de tipo WRITE). Esto se ha visto en la pr\u00e1ctica al cerrar sesi\u00f3n en una sesi\u00f3n iscsi_tcp, donde el controlador iSCSI puede seguir procesando comandos despu\u00e9s de que el dispositivo se haya marcado para su eliminaci\u00f3n. Cambie la pol\u00edtica para permitir que el espacio de usuario espere comandos sg activos incluso cuando se est\u00e9 eliminando el dispositivo. Devuelva -ENODEV solo cuando no haya m\u00e1s respuestas para leer.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/scsi/sg.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"bbc118acf7baf9e93c5e1314d14f481301af4d0f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"f5e61d9b4a699dd16f32d5f39eb1cf98d84c92ed\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"ed9afd967cbfe7da2dc0d5e52c62a778dfe9f16b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"f135c65085eed869d10e4e7923ce1015288618da\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"408bfa1489a3cfe7150b81ab0b0df99b23dd5411\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"8c004b7dbb340c1e5889f5fb9e5baa6f6e5303e8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"35e60ec39e862159cb92923eefd5230d4a873cb9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"03d8241112d5e3cccce1a01274a221099f07d2e1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6517b7942fad663cc1cf3235cbe4207cf769332\",\"lessThan\":\"3455607fd7be10b449f5135c00dc306b85dc0d21\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a0fe972f78eaaf352d593f9ed9079de590ceb286\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b21c6d2897cd455fa396f4041a0c8165784e949f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2.6.28.10\",\"lessThan\":\"2.6.29\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"2.6.29.2\",\"lessThan\":\"2.6.30\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/scsi/sg.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.30\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.30\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.9.326\",\"lessThanOrEqual\":\"4.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.291\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.256\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.211\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.137\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.61\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18.18\",\"lessThanOrEqual\":\"5.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.19.2\",\"lessThanOrEqual\":\"5.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"4.9.326\",\"matchCriteriaId\":\"5B4EA906-CFF9-4D4A-AFD7-43AC02C77E48\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.10\",\"versionEndExcluding\":\"4.14.291\",\"matchCriteriaId\":\"3BBC7E43-6161-4F21-977C-5BB7792C6C94\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15\",\"versionEndExcluding\":\"4.19.256\",\"matchCriteriaId\":\"6C47CDE3-B039-4AE5-B8E4-1DC820E473FF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.211\",\"matchCriteriaId\":\"B1C63D19-C08C-4308-A848-B2523C9275BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.137\",\"matchCriteriaId\":\"C2BF720F-C5EE-4DE2-9BDF-CE4CFBC767F4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.61\",\"matchCriteriaId\":\"51861563-7F40-460F-82CD-2D3FBDAD6618\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.18.18\",\"matchCriteriaId\":\"5B42E453-8837-49D0-A5EF-03F818A6DC11\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.19\",\"versionEndExcluding\":\"5.19.2\",\"matchCriteriaId\":\"A1A2A5A5-4598-4D7E-BA07-4660398D6C8F\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03d8241112d5e3cccce1a01274a221099f07d2e1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3455607fd7be10b449f5135c00dc306b85dc0d21\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/35e60ec39e862159cb92923eefd5230d4a873cb9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/408bfa1489a3cfe7150b81ab0b0df99b23dd5411\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8c004b7dbb340c1e5889f5fb9e5baa6f6e5303e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bbc118acf7baf9e93c5e1314d14f481301af4d0f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ed9afd967cbfe7da2dc0d5e52c62a778dfe9f16b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f135c65085eed869d10e4e7923ce1015288618da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f5e61d9b4a699dd16f32d5f39eb1cf98d84c92ed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:38:28+00:00",
      "cve": "CVE-2022-50215",
      "id": "CVE-2022-50215",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "201",
      "product_status:known_affected": "112",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: scsi: sg: Allow waiting for commands to complete on removed device",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50215.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-05T01:11:06Z",
      "cve": "CVE-2022-50215",
      "id": "CVE-2022-50215",
      "initial_release_date": "2025-06-19T03:38:53Z",
      "product_status:known_affected": "425",
      "product_status:known_not_affected": "248",
      "product_status:recommended": "337",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50215",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50215.json",
      "version": "65"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…