Bug 2395353 (CVE-2023-53253)

Summary: CVE-2023-53253 kernel: HID: nvidia-shield: Reference hid_device devm allocation of input_dev name
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's NVIDIA SHIELD Human Interface Device (HID) driver. A local user can trigger a use-after-free condition—where memory is accessed after being released—by unregistering or disconnecting an NVIDIA SHIELD peripheral device. During the unregistration process, memory allocated for the device name is freed prematurely while kernel event notifications still attempt to reference it. This flaw allows a local user to cause a Denial of Service (DoS) by crashing the system or potentially execute arbitrary code.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-09-15 15:09:12 UTC
In the Linux kernel, the following vulnerability has been resolved:

HID: nvidia-shield: Reference hid_device devm allocation of input_dev name

Use hid_device for devm allocation of the input_dev name to avoid a
use-after-free. input_unregister_device would trigger devres cleanup of all
resources associated with the input_dev, free-ing the name. The name would
subsequently be used in a uevent fired at the end of unregistering the
input_dev.

Comment 1 Jon Moroney 2025-09-15 20:24:38 UTC Comment hidden (spam)