CVE-2024-49986

Source
https://cve.org/CVERecord?id=CVE-2024-49986
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49986.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49986
Downstream
Related
Published
2024-10-21T18:02:30.507Z
Modified
2026-03-11T07:45:08.301433Z
Summary
platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors
Details

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

platform/x86: x86-android-tablets: Fix use after free on platformdeviceregister() errors

x86androidtabletremove() frees the pdevs[] array, so it should not be used after calling x86androidtabletremove().

When platformdeviceregister() fails, store the pdevs[x] PTRERR() value into the local ret variable before calling x86androidtabletremove() to avoid using pdevs[] after it has been freed.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49986.json"
}
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
5eba0141206ea521bbcfcf5067c174e825e943dd
Fixed
ba0b09a2f327319e252d8f3032019b958c0a5cd9
Fixed
aac871e493fc8809e60209d9899b1af07e9dbfc8
Fixed
f08adc5177bd4343df09033f62ab562c09ba7f7d
Fixed
73a98cf79e4dbfa3d0c363e826c65aae089b313c
Fixed
2fae3129c0c08e72b1fe93e61fd8fd203252094a

Database specific

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