---
id: CVE-2024-38780
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

  Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from
  known context") by error replaced s…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

  Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from
  known context") by error replaced s…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-667
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.14
  - 'linux_kernel >= 4.19, < 4.19.316'
  - 'linux_kernel >= 5.4, < 5.4.278'
  - 'linux_kernel >= 5.10, < 5.10.219'
  - 'linux_kernel >= 5.15, < 5.15.161'
  - 'linux_kernel >= 6.1, < 6.1.93'
  - 'linux_kernel >= 6.6, < 6.6.33'
  - 'linux_kernel >= 6.9, < 6.9.4'
  - linux_kernel = 6.10.0
patched:
  - linux_kernel 6.9.4
published: '2024-06-21'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:32.927'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-38780'
references:
  - url: 'https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-613116.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00189
epssPercentile: 0.08422
ingestedAt: '2026-10-15T03:30:12.714Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T17:08:56.155586Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from
known context") by error replaced spin_unlock_irqrestore() with
spin_unlock_irq() for both sync_debugfs_show() and sync_print_obj() despite
sync_print_obj() is called from sync_debugfs_show(), lockdep complains
inconsistent lock state warning.

Use plain spin_{lock,unlock}() for sync_print_obj(), for
sync_debugfs_show() is already using spin_{lock,unlock}_irq().

## Affected

- `linux_kernel < 4.14`
- `linux_kernel >= 4.19, < 4.19.316`
- `linux_kernel >= 5.4, < 5.4.278`
- `linux_kernel >= 5.10, < 5.10.219`
- `linux_kernel >= 5.15, < 5.15.161`
- `linux_kernel >= 6.1, < 6.1.93`
- `linux_kernel >= 6.6, < 6.6.33`
- `linux_kernel >= 6.9, < 6.9.4`
- `linux_kernel = 6.10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.9.4`
