{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-49986","id":"CVE-2024-49986","title":"platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors","description":"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 ","descriptionLong":"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.","published":"2024-10-21T18:02:30.507Z","updated":"2026-10-28T02:30:51.800069604Z","reserved":"2024-10-21T12:17:06.054Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5eba0141206ea521bbcfcf5067c174e825e943dd","lessThan":"ba0b09a2f327319e252d8f3032019b958c0a5cd9","status":"affected","versionType":"git"},{"version":"5eba0141206ea521bbcfcf5067c174e825e943dd","lessThan":"aac871e493fc8809e60209d9899b1af07e9dbfc8","status":"affected","versionType":"git"},{"version":"5eba0141206ea521bbcfcf5067c174e825e943dd","lessThan":"f08adc5177bd4343df09033f62ab562c09ba7f7d","status":"affected","versionType":"git"},{"version":"5eba0141206ea521bbcfcf5067c174e825e943dd","lessThan":"73a98cf79e4dbfa3d0c363e826c65aae089b313c","status":"affected","versionType":"git"},{"version":"5eba0141206ea521bbcfcf5067c174e825e943dd","lessThan":"2fae3129c0c08e72b1fe93e61fd8fd203252094a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","lessThan":"5.17","status":"unaffected","versionType":"semver"},{"version":"6.1.118","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.55","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.14","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11.3","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ba0b09a2f327319e252d8f3032019b958c0a5cd9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/aac871e493fc8809e60209d9899b1af07e9dbfc8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f08adc5177bd4343df09033f62ab562c09ba7f7d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/73a98cf79e4dbfa3d0c363e826c65aae089b313c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2fae3129c0c08e72b1fe93e61fd8fd203252094a","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49986.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49986","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00248,"epssPercentile":0.16341,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-49986","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49986","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-49986","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-49986","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}