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

CVE-2024-38780
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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().

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a6aa8fca4d792c72947e341d7842d2f700534335 < 1ff116f68560a25656933d5a18e7619cb6773d8a ; affected a6aa8fca4d792c72947e341d7842d2f700534335 < 165b25e3ee9333f7b04f8db43895beacb51582ed ; affected a6aa8fca4d792c72947e341d7842d2f700534335 < ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 ; affected a6aa8fca4d792c72947e341d7842d2f700534335 < 9d75fab2c14a25553a1664586ed122c316bd1878 ; affected a6aa8fca4d792c72947e341d7842d2f700534335 < 242b30466879e6defa521573c27e12018276c33a ; affected a6aa8fca4d792c72947e341d7842d2f700534335 < a4ee78244445ab73af22bfc5a5fc543963b25aef
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 4.19.316 ≤ 4.19.* ; unaffected 5.4.278 ≤ 5.4.* ; unaffected 5.10.219 ≤ 5.10.* ; unaffected 5.15.161 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD