{"id":"CVE-2024-49986","published":"2024-10-21T18:02:30Z","modified":"2026-08-05T11:40:54Z","title":"platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16461,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ba0b09a2f327319e252d8f3032019b958c0a5cd9","tags":[]},{"url":"https://git.kernel.org/stable/c/aac871e493fc8809e60209d9899b1af07e9dbfc8","tags":[]},{"url":"https://git.kernel.org/stable/c/f08adc5177bd4343df09033f62ab562c09ba7f7d","tags":[]},{"url":"https://git.kernel.org/stable/c/73a98cf79e4dbfa3d0c363e826c65aae089b313c","tags":[]},{"url":"https://git.kernel.org/stable/c/2fae3129c0c08e72b1fe93e61fd8fd203252094a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.29},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5eba0141206ea521bbcfcf5067c174e825e943dd, < ba0b09a2f327319e252d8f3032019b958c0a5cd9",">= 5eba0141206ea521bbcfcf5067c174e825e943dd, < aac871e493fc8809e60209d9899b1af07e9dbfc8",">= 5eba0141206ea521bbcfcf5067c174e825e943dd, < f08adc5177bd4343df09033f62ab562c09ba7f7d",">= 5eba0141206ea521bbcfcf5067c174e825e943dd, < 73a98cf79e4dbfa3d0c363e826c65aae089b313c",">= 5eba0141206ea521bbcfcf5067c174e825e943dd, < 2fae3129c0c08e72b1fe93e61fd8fd203252094a"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:31:52.405386Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43664","exploited":false,"provenance":"source"}}