CVE-2024-42310

Source
https://cve.org/CVERecord?id=CVE-2024-42310
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42310.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42310
Downstream
Related
Published
2024-08-17T09:09:14.820Z
Modified
2026-05-28T03:54:27.030805362Z
Summary
drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
Details

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

drm/gma500: fix null pointer dereference in cdvintellvdsgetmodes

In cdvintellvdsgetmodes(), the return value of drmmodeduplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drmmodeduplicate(). Add a check to avoid npd.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42310.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a227d5fd6c4abe6a9226a40f6981825e9da5fbe
Fixed
f392c36cebf4c1d6997a4cc2c0f205254acef42a
Fixed
a658ae2173ab74667c009e2550455e6de5b33ddc
Fixed
b6ac46a00188cde50ffba233e6efb366354a1de5
Fixed
08f45102c81ad8bc9f85f7a25e9f64e128edb87d
Fixed
e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56
Fixed
2d209b2f862f6b8bff549ede541590a8d119da23
Fixed
977ee4fe895e1729cd36cc26916bbb10084713d6
Fixed
cb520c3f366c77e8d69e4e2e2781a8ce48d98e79

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42310.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
4.19.320
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.282
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.224
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.165
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.103
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.44
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42310.json"