Lucene search

K
osvGoogleOSV:CVE-2024-42320
HistoryAug 17, 2024 - 9:15 a.m.

CVE-2024-42320

2024-08-1709:15:11
Google
osv.dev
linux kernel
s390/dasd
vulnerability
error checks
null pointer dereference
fix

AI Score

6.7

Confidence

Low

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.

AI Score

6.7

Confidence

Low