{"id":"CVE-2024-50057","summary":"usb: typec: tipd: Free IRQ only if it was requested before","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tipd: Free IRQ only if it was requested before\n\nIn polling mode, if no IRQ was requested there is no need to free it.\nCall devm_free_irq() only if client-\u003eirq is set. This fixes the warning\ncaused by the tps6598x module removal:\n\nWARNING: CPU: 2 PID: 333 at kernel/irq/devres.c:144 devm_free_irq+0x80/0x8c\n...\n...\nCall trace:\n  devm_free_irq+0x80/0x8c\n  tps6598x_remove+0x28/0x88 [tps6598x]\n  i2c_device_remove+0x2c/0x9c\n  device_remove+0x4c/0x80\n  device_release_driver_internal+0x1cc/0x228\n  driver_detach+0x50/0x98\n  bus_remove_driver+0x6c/0xbc\n  driver_unregister+0x30/0x60\n  i2c_del_driver+0x54/0x64\n  tps6598x_i2c_driver_exit+0x18/0xc3c [tps6598x]\n  __arm64_sys_delete_module+0x184/0x264\n  invoke_syscall+0x48/0x110\n  el0_svc_common.constprop.0+0xc8/0xe8\n  do_el0_svc+0x20/0x2c\n  el0_svc+0x28/0x98\n  el0t_64_sync_handler+0x13c/0x158\n  el0t_64_sync+0x190/0x194","modified":"2026-04-16T04:34:36.785445578Z","published":"2024-10-21T19:39:47.768Z","related":["USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50057.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4d4b23c119542fbaed2a16794d3801cb4806ea02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b72bf5cade51ba4055c8a8998d275e72e6b521ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db63d9868f7f310de44ba7bea584e2454f8b4ed0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50057.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50057"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0a4c005bd1715d8b32a368ed5516a6ee7e603d18"},{"fixed":"b72bf5cade51ba4055c8a8998d275e72e6b521ce"},{"fixed":"4d4b23c119542fbaed2a16794d3801cb4806ea02"},{"fixed":"db63d9868f7f310de44ba7bea584e2454f8b4ed0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50057.json"}}],"schema_version":"1.7.5"}