CVE-2024-49986

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

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 06:02 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors x86_android_tablet_remove() frees the pdevs[] array, so it should not be used after calling x86_android_tablet_remove(). When platform_device_register() fails, store the pdevs[x] PTR_ERR() value into the local ret variable before calling x86_android_tablet_remove() to avoid using pdevs[] after it has been freed.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.17 ≤ v < 6.1.1185.17 ≤ v < 6.10.145.17 ≤ v < 6.11.35.17 ≤ v < 6.125.17 ≤ v < 6.6.556.11 ≤ v < 6.11.36.2 ≤ v < 6.6.556.7 ≤ v < 6.10.145eba0141206ea521bbcfcf5067c174e825e943dd6.12 rc1
Vendor states this is fixed in 2fae3129c0c08e72b1fe93e61fd8fd203252094a (fixed)
Vendor states this is fixed in 73a98cf79e4dbfa3d0c363e826c65aae089b313c (fixed)
Vendor states this is fixed in aac871e493fc8809e60209d9899b1af07e9dbfc8 (fixed)
Vendor states this is fixed in ba0b09a2f327319e252d8f3032019b958c0a5cd9 (fixed)
Vendor states this is fixed in f08adc5177bd4343df09033f62ab562c09ba7f7d (fixed)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 6.1.118 (unaffected)
Vendor states this is fixed in 6.10.14 (unaffected)
Vendor states this is fixed in 6.11.3 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.55 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2fae3129c0c08e72b1fe93e61fd8fd203252094a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73a98cf79e4dbfa3d0c363e826c65aae089b313c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aac871e493fc8809e60209d9899b1af07e9dbfc8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ba0b09a2f327319e252d8f3032019b958c0a5cd9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f08adc5177bd4343df09033f62ab562c09ba7f7d
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card