CVE-2024-42320

s390/dasd: fix error checks in dasd_copy_pair_store()

published August 17, 2024

CVSS
—
EPSS
0%
Percentile
10.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00210 · 10.6th percentile
Published
2024-08-17T09:09Z
EPSS history
Timeline
  • 17 AUG 09:09Z
    s390/dasd: fix error checks in dasd_copy_pair_store()
    cvelistv5