{"id":"CVE-2024-38780","summary":"dma-buf/sw-sync: don't enable IRQ from sync_print_obj()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf/sw-sync: don't enable IRQ from sync_print_obj()\n\nSince commit a6aa8fca4d79 (\"dma-buf/sw-sync: Reduce irqsave/irqrestore from\nknown context\") by error replaced spin_unlock_irqrestore() with\nspin_unlock_irq() for both sync_debugfs_show() and sync_print_obj() despite\nsync_print_obj() is called from sync_debugfs_show(), lockdep complains\ninconsistent lock state warning.\n\nUse plain spin_{lock,unlock}() for sync_print_obj(), for\nsync_debugfs_show() is already using spin_{lock,unlock}_irq().","modified":"2026-03-20T12:37:11.856465Z","published":"2024-06-21T11:15:12.892Z","related":["MGASA-2024-0263","MGASA-2024-0266","SUSE-SU-2024:2360-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38780.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38780.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38780"},{"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":"a6aa8fca4d792c72947e341d7842d2f700534335"},{"fixed":"1ff116f68560a25656933d5a18e7619cb6773d8a"},{"fixed":"165b25e3ee9333f7b04f8db43895beacb51582ed"},{"fixed":"ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8"},{"fixed":"9d75fab2c14a25553a1664586ed122c316bd1878"},{"fixed":"242b30466879e6defa521573c27e12018276c33a"},{"fixed":"a4ee78244445ab73af22bfc5a5fc543963b25aef"},{"fixed":"8a283cdfc8beeb14024387a925247b563d614e1e"},{"fixed":"b794918961516f667b0c745aebdfebbb8a98df39"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"f14ad42b8743897d140808467ed4ae3ce93bd0a5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38780.json"}}],"schema_version":"1.7.5"}