{"id":"CVE-2024-38780","aliases":["CVE-2024-38780"],"related":[],"kind":"vulnerability","state":"published","title":"dma-buf/sw-sync: don't enable IRQ from sync_print_obj()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dma-buf/sw-sync: no habilitar IRQ desde sync_print_obj() Desde el commit a6aa8fca4d79 (\"dma-buf/sw-sync: reducir irqsave/irqrestore desde el contexto conocido\" ) por error reemplazó spin_unlock_irqrestore() con spin_unlock_irq() tanto para sync_debugfs_show() como para sync_print_obj() a pesar de que sync_print_obj() se llama desde sync_debugfs_show(), lockdep se queja de una advertencia de estado de bloqueo inconsistente. Utilice spin_{lock,unlock}() simple para sync_print_obj(), ya que sync_debugfs_show() ya está usando spin_{lock,unlock}_irq().","source":"nvd"}],"published":"2024-06-21T11:15:12.892Z","modified":"2026-10-15T01:18:32.927Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"1ff116f68560a25656933d5a18e7619cb6773d8a","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"165b25e3ee9333f7b04f8db43895beacb51582ed","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"9d75fab2c14a25553a1664586ed122c316bd1878","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"242b30466879e6defa521573c27e12018276c33a","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"a4ee78244445ab73af22bfc5a5fc543963b25aef","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"8a283cdfc8beeb14024387a925247b563d614e1e","status":"affected"},{"type":"git","introduced":"a6aa8fca4d792c72947e341d7842d2f700534335","fixed":"b794918961516f667b0c745aebdfebbb8a98df39","status":"affected"},{"type":"git","version":"f14ad42b8743897d140808467ed4ae3ce93bd0a5","status":"affected"},{"type":"semver","introduced":"4.9.68","fixed":"4.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"4.19.316","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.278","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.219","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.161","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.4","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.14"},{"status":"affected","introduced":"4.19","fixed":"4.19.316"},{"status":"affected","introduced":"5.4","fixed":"5.4.278"},{"status":"affected","introduced":"5.10","fixed":"5.10.219"},{"status":"affected","introduced":"5.15","fixed":"5.15.161"},{"status":"affected","introduced":"6.1","fixed":"6.1.93"},{"status":"affected","introduced":"6.6","fixed":"6.6.33"},{"status":"affected","introduced":"6.9","fixed":"6.9.4"},{"status":"affected","version":"6.10.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:08:56.155Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38780","url":"https://www.cve.org/CVERecord?id=CVE-2024-38780","licence":"CVE Terms of Use","modified":"2026-10-15T00:43:54.614Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38780","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38780","licence":"Public domain","modified":"2026-10-15T01:18:32.927Z"}],"updatedAt":"2026-11-25T22:58:42.126Z","epss":{"score":0.00246,"percentile":0.09544,"date":"2026-11-30T12:00:22.000Z"}}