{"id":"CVE-2024-49986","aliases":["CVE-2024-49986"],"related":[],"kind":"vulnerability","state":"published","title":"platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: platform/x86: x86-android-tablets: Se corrige el use after free en errores platform_device_register() x86_android_tablet_remove() libera la matriz pdevs[], por lo que no se debe utilizar después de llamar a x86_android_tablet_remove(). cuando falla platform_device_register(), almacena el valor PTR_ERR() de pdevs[x] en la variable ret local antes de llamar a x86_android_tablet_remove() para evitar usar pdevs[] después de que se haya liberado.","source":"nvd"}],"published":"2024-10-21T18:02:30.507Z","modified":"2026-08-05T11:40:54.750Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"5eba0141206ea521bbcfcf5067c174e825e943dd","fixed":"ba0b09a2f327319e252d8f3032019b958c0a5cd9","status":"affected"},{"type":"git","introduced":"5eba0141206ea521bbcfcf5067c174e825e943dd","fixed":"aac871e493fc8809e60209d9899b1af07e9dbfc8","status":"affected"},{"type":"git","introduced":"5eba0141206ea521bbcfcf5067c174e825e943dd","fixed":"f08adc5177bd4343df09033f62ab562c09ba7f7d","status":"affected"},{"type":"git","introduced":"5eba0141206ea521bbcfcf5067c174e825e943dd","fixed":"73a98cf79e4dbfa3d0c363e826c65aae089b313c","status":"affected"},{"type":"git","introduced":"5eba0141206ea521bbcfcf5067c174e825e943dd","fixed":"2fae3129c0c08e72b1fe93e61fd8fd203252094a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.118","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.55","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.14","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.3","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"5.17","fixed":"6.1.118"},{"status":"affected","introduced":"6.2","fixed":"6.6.55"},{"status":"affected","introduced":"6.7","fixed":"6.10.14"},{"status":"affected","introduced":"6.11","fixed":"6.11.3"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ba0b09a2f327319e252d8f3032019b958c0a5cd9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aac871e493fc8809e60209d9899b1af07e9dbfc8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f08adc5177bd4343df09033f62ab562c09ba7f7d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73a98cf79e4dbfa3d0c363e826c65aae089b313c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2fae3129c0c08e72b1fe93e61fd8fd203252094a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:31:52.405Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49986","url":"https://www.cve.org/CVERecord?id=CVE-2024-49986","licence":"CVE Terms of Use","modified":"2026-08-05T11:40:54.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49986","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49986","licence":"Public domain","modified":"2026-08-04T11:21:06.127Z"}],"updatedAt":"2026-11-25T22:58:47.078Z","epss":{"score":0.00248,"percentile":0.17284,"date":"2026-12-01T12:00:22.000Z"}}