Bug 2320513 (CVE-2024-49986) - CVE-2024-49986 kernel: platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors
Summary: CVE-2024-49986 kernel: platform/x86: x86-android-tablets: Fix use after free ...
Keywords:
Status: NEW
Alias: CVE-2024-49986
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2321084
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:07 UTC by OSIDB Bzimport
Modified: 2024-10-22 19:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:07:06 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.