{"schema_version":"1.9.0","id":"CVE-2024-49986","published":"2024-10-21T18:02:30.507Z","modified":"2026-08-12T03:51:30.889980746Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"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:\n\nplatform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors\n\nx86_android_tablet_remove() frees the pdevs[] array, so it should not\nbe used after calling x86_android_tablet_remove().\n\nWhen platform_device_register() fails, store the pdevs[x] PTR_ERR() value\ninto the local ret variable before calling x86_android_tablet_remove()\nto avoid using pdevs[] after it has been freed.","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/cve-osv-conversion/osv-output/CVE-2024-49986.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"6.1.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.10.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.11.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49986.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2fae3129c0c08e72b1fe93e61fd8fd203252094a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73a98cf79e4dbfa3d0c363e826c65aae089b313c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aac871e493fc8809e60209d9899b1af07e9dbfc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba0b09a2f327319e252d8f3032019b958c0a5cd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f08adc5177bd4343df09033f62ab562c09ba7f7d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49986.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49986"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49986.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}