Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42320
HistoryAug 17, 2024 - 9:09 a.m.

CVE-2024-42320 s390/dasd: fix error checks in dasd_copy_pair_store()

2024-08-1709:09:32
Linux
www.cve.org
2
linux kernel
s390
dasd_copy_pair_store
error checks

EPSS

0

Percentile

16.3%

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

s390/dasd: fix error checks in dasd_copy_pair_store()

dasd_add_busid() can return an error via ERR_PTR() if an allocation
fails. However, two callsites in dasd_copy_pair_store() do not check
the result, potentially resulting in a NULL pointer dereference. Fix
this by checking the result with IS_ERR() and returning the error up
the stack.

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_devmap.c"
    ],
    "versions": [
      {
        "version": "a91ff09d39f9",
        "lessThan": "cc8b7284d507",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a91ff09d39f9",
        "lessThan": "e511167e65d3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a91ff09d39f9",
        "lessThan": "68d4c3722290",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a91ff09d39f9",
        "lessThan": "8e64d2356cbc",
        "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_devmap.c"
    ],
    "versions": [
      {
        "version": "6.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.103",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.3%