Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47176
HistoryMar 25, 2024 - 9:16 a.m.

CVE-2021-47176 s390/dasd: add missing discipline function

2024-03-2509:16:26
Linux
www.cve.org
linux kernel
vulnerability
resolved
s390/dasd
missing discipline function
crash
dasd_device_tasklet
eckd
fba
diag
panic
wrapper function
dasd_generic_verify_path

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

In the Linux kernel, the following vulnerability has been resolved:

s390/dasd: add missing discipline function

Fix crash with illegal operation exception in dasd_device_tasklet.
Commit b72949328869 (“s390/dasd: Prepare for additional path event handling”)
renamed the verify_path function for ECKD but not for FBA and DIAG.
This leads to a panic when the path verification function is called for a
FBA or DIAG device.

Fix by defining a wrapper function for dasd_generic_verify_path().

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/s390/block/dasd_diag.c",
      "drivers/s390/block/dasd_fba.c",
      "drivers/s390/block/dasd_int.h"
    ],
    "versions": [
      {
        "version": "8bc5a76268fb",
        "lessThan": "6a16810068e7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "72aebdac390b",
        "lessThan": "aa8579bc0846",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b72949328869",
        "lessThan": "a16be88a3d7e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b72949328869",
        "lessThan": "c0c8a8397fa8",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/s390/block/dasd_diag.c",
      "drivers/s390/block/dasd_fba.c",
      "drivers/s390/block/dasd_int.h"
    ],
    "versions": [
      {
        "version": "5.11",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.11",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.237",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.175",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.9",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

Related for CVELIST:CVE-2021-47176