CVEvulnerability

CVE-2024-38780

5.5 MEDIUM Published 2024-06-21 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2024-06-21
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

Description

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 configurations

• linux linux kernel (< 4.14) • linux linux kernel (>= 4.19 < 4.19.316) • linux linux kernel (>= 5.4 < 5.4.278) • linux linux kernel (>= 5.10 < 5.10.219) • linux linux kernel (>= 5.15 < 5.15.161) • linux linux kernel (>= 6.1 < 6.1.93) • linux linux kernel (>= 6.6 < 6.6.33) • linux linux kernel (>= 6.9 < 6.9.4) • linux linux kernel 6.10.0

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References