CVE-2024-50057 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tipd: Free IRQ only if it was requested before In polling mode, if no IRQ was requested there is no need to free it. Call devm_free_irq() only if client->irq is set. This fixes the warning caused by the tps6598x module removal: WARNING: CPU: 2 PID: 333 at kernel/irq/devres.c:144 devm_free_irq+0x80/0x8c ... ... Call trace: devm_free_irq+0x80/0x8c tps6598x_remove+0x28/0x88 [tps6598x] i2c_device_remove+0x2c/0x9c device_remove+0x4c/0x80 device_release_driver_internal+0x1cc/0x228 driver_detach+0x50/0x98 bus_remove_driver+0x6c/0xbc driver_unregister+0x30/0x60 i2c_del_driver+0x54/0x64 tps6598x_i2c_driver_exit+0x18/0xc3c [tps6598x] __arm64_sys_delete_module+0x184/0x264 invoke_syscall+0x48/0x110 el0_svc_common.constprop.0+0xc8/0xe8 do_el0_svc+0x20/0x2c el0_svc+0x28/0x98 el0t_64_sync_handler+0x13c/0x158 el0t_64_sync+0x190/0x194
A vulnerability in the Linux kernel's USB Type-C TIPD driver has been addressed. The issue involved improperly managing interrupt requests (IRQs) in polling mode. Specifically, the driver would free an IRQ even if it had not been requested, leading to warnings during the removal of the TPS6598X module. The vulnerability arose because the driver called 'devm_free_irq()' without checking if 'client->irq' was set. This mismanagement could potentially be exploited to disrupt normal driver operation or cause unnecessary warnings in the system log.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 22, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4d4b23c119542fbaed2a16794d3801cb4806ea02 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b72bf5cade51ba4055c8a8998d275e72e6b521ce | kernel.org | Patch |
| https://git.kernel.org/stable/c/db63d9868f7f310de44ba7bea584e2454f8b4ed0 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-763 | Release of Invalid Pointer or Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.6.57 >= 6.7, < 6.11.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 24, 2024 | Initial Analysis | [email protected] |
| Oct 21, 2024 | New CVE Received | kernel.org |