CVE-2024-49986·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.3
- Published
- 2024-10-21
Affected versions
From: 6.11
Until: 6.11.3
Fixed in: 6.11.3
How to fix this CVE
Update your Linux kernel to version 6.11.3 or later to address a use-after-free vulnerability in the x86-android-tablets platform driver that could lead to kernel memory corruption during device registration failures. Systems running kernel versions 6.11.0 through 6.11.2 should prioritize this update as it fixes improper memory handling that could allow local attackers with elevated privileges to trigger undefined kernel behavior.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with 'uname -r' and confirm it is between 6.11.0 and 6.11.2 (vulnerable range)
- Step 2: Verify x86-android-tablets driver is compiled in kernel with 'grep CONFIG_X86_ANDROID_TABLETS /boot/config-$(uname -r)' (should show y or m if present)
- Step 3: Search kernel logs for platform_device_register failures: 'sudo dmesg | grep -i "platform_device_register\|x86.android" | head -20'
- Step 4: After patching, verify new kernel version with 'uname -r' and confirm it shows 6.11.3 or later
FAQ
What is CVE-2024-49986?
CVE-2024-49986 is a use-after-free vulnerability in the Linux kernel's x86-android-tablets platform driver that occurs when device registration fails, allowing freed memory to be accessed and potentially leading to kernel crashes or privilege escalation by local users.
Is CVE-2024-49986 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though local privilege escalation techniques could theoretically abuse the memory corruption condition.
What versions of Kernel are affected by CVE-2024-49986?
Linux kernel versions 6.11.0, 6.11.1, and 6.11.2 are affected; kernel 6.11.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-49986?
Run 'uname -r' to check your kernel version; if it shows 6.11.0, 6.11.1, or 6.11.2, your system is vulnerable. Additionally, check if the x86-android-tablets driver is enabled with 'grep CONFIG_X86_ANDROID_TABLETS /boot/config-$(uname -r)'.
Does Defensia detect CVE-2024-49986?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running versions 6.11.0-6.11.2, CVE-2024-49986 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2fae3129c0c08e72b1fe93e61fd8fd203252094a
- https://git.kernel.org/stable/c/73a98cf79e4dbfa3d0c363e826c65aae089b313c
- https://git.kernel.org/stable/c/aac871e493fc8809e60209d9899b1af07e9dbfc8
- https://git.kernel.org/stable/c/ba0b09a2f327319e252d8f3032019b958c0a5cd9
- https://git.kernel.org/stable/c/f08adc5177bd4343df09033f62ab562c09ba7f7d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-49986. Free for 1 server.
Get started free