{"id":"CVE-2024-45029","summary":"i2c: tegra: Do not mark ACPI devices as irq safe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: tegra: Do not mark ACPI devices as irq safe\n\nOn ACPI machines, the tegra i2c module encounters an issue due to a\nmutex being called inside a spinlock. This leads to the following bug:\n\n\tBUG: sleeping function called from invalid context at kernel/locking/mutex.c:585\n\t...\n\n\tCall trace:\n\t__might_sleep\n\t__mutex_lock_common\n\tmutex_lock_nested\n\tacpi_subsys_runtime_resume\n\trpm_resume\n\ttegra_i2c_xfer\n\nThe problem arises because during __pm_runtime_resume(), the spinlock\n&dev-\u003epower.lock is acquired before rpm_resume() is called. Later,\nrpm_resume() invokes acpi_subsys_runtime_resume(), which relies on\nmutexes, triggering the error.\n\nTo address this issue, devices on ACPI are now marked as not IRQ-safe,\nconsidering the dependency of acpi_subsys_runtime_resume() on mutexes.","modified":"2026-04-02T12:18:40.134168Z","published":"2024-09-11T15:14:00.260Z","related":["SUSE-SU-2024:3551-1","SUSE-SU-2024:3553-1","SUSE-SU-2024:3561-1","SUSE-SU-2024:3564-1","SUSE-SU-2024:3569-1","SUSE-SU-2024:3587-1","SUSE-SU-2024:3592-1","SUSE-SU-2025:20073-1","SUSE-SU-2025:20077-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45029.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/14d069d92951a3e150c0a81f2ca3b93e54da913b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2853e1376d8161b04c9ff18ba82b43f08a049905"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6861faf4232e4b78878f2de1ed3ee324ddae2287"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a89aef1e6cc43fa019a58080ed05c839e6c77876"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45029.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45029"},{"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":"bd2fdedbf2bac27f4a2ac16b84ab9b9e5f67006c"},{"fixed":"a89aef1e6cc43fa019a58080ed05c839e6c77876"},{"fixed":"6861faf4232e4b78878f2de1ed3ee324ddae2287"},{"fixed":"2853e1376d8161b04c9ff18ba82b43f08a049905"},{"fixed":"14d069d92951a3e150c0a81f2ca3b93e54da913b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45029.json"}}],"schema_version":"1.7.5"}