CVE-2024-42275

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42275
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42275.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42275
Downstream
Published
2024-08-17T08:54:28Z
Modified
2025-10-17T09:59:00.350980Z
Summary
drm/client: Fix error code in drm_client_buffer_vmap_local()
Details

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

drm/client: Fix error code in drmclientbuffervmaplocal()

This function accidentally returns zero/success on the failure path. It leads to locking issues and an uninitialized *map_copy in the caller.

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
b4b0193e83cb987143583e2b4011b35331f429bd
Fixed
c0f412961653237f52e2f16ee8747fb330bcf074
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b4b0193e83cb987143583e2b4011b35331f429bd
Fixed
b5fbf924f125ba3638cfdc21c0515eb7e76264ca

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.8
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.4