Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42099
HistoryJul 30, 2024 - 7:45 a.m.

CVE-2024-42099 s390/dasd: Fix invalid dereferencing of indirect CCW data pointer

2024-07-3007:45:55
Linux
www.cve.org
3
linux kernel
s390/dasd
invalid dereferencing
ccw data pointer
kernel panic
indirect addressing

EPSS

0

Percentile

9.4%

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

s390/dasd: Fix invalid dereferencing of indirect CCW data pointer

Fix invalid dereferencing of indirect CCW data pointer in
dasd_eckd_dump_sense() that leads to a kernel panic in error cases.

When using indirect addressing for DASD CCWs (IDAW) the CCW CDA pointer
does not contain the data address itself but a pointer to the IDAL.
This needs to be translated from physical to virtual as well before
using it.

This dereferencing is also used for dasd_page_cache and also fixed
although it is very unlikely that this code path ever gets used.

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_eckd.c",
      "drivers/s390/block/dasd_fba.c"
    ],
    "versions": [
      {
        "version": "c0bd39601c13",
        "lessThan": "c116475f7d64",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c0bd39601c13",
        "lessThan": "b3a58f3b90f5",
        "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_eckd.c",
      "drivers/s390/block/dasd_fba.c"
    ],
    "versions": [
      {
        "version": "6.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.9",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.4%