Critical Vulnerability Information Vulnerability Type: Race condition during module unloading, leading to improper GPIO resource management. Affected Module: driver. Issue Description: - The module accesses global resources (such as ) during new device storage and device deletion operations. - If a concurrent module unload occurs after an ID has been assigned but before is called or completed, the device may not be properly unregistered/deleted, leaving behind a dangling platform device/GPIO forwarder. - This can lead to system instability and various related issues. Mitigation: - Add in relevant handlers to maintain a reference, preventing race conditions. Example Reproduction Script: Error Log Example: