In the Linux kernel, the following vulnerability has been resolved:
dma-buf/sw-sync: don't enable IRQ from syncprintobj()
Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from known context") by error replaced spinunlockirqrestore() with spinunlockirq() for both syncdebugfsshow() and syncprintobj() despite syncprintobj() is called from syncdebugfsshow(), lockdep complains inconsistent lock state warning.
Use plain spin{lock,unlock}() for syncprintobj(), for syncdebugfsshow() is already using spin{lock,unlock}_irq().
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38780.json"
}[
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8a283cdfc8beeb14024387a925247b563d614e1e",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-2a1c0c42"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-3275331a"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b794918961516f667b0c745aebdfebbb8a98df39",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-3e655aa4"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@165b25e3ee9333f7b04f8db43895beacb51582ed",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-47999672"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4ee78244445ab73af22bfc5a5fc543963b25aef",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-58773a4b"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@242b30466879e6defa521573c27e12018276c33a",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-66918b8f"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d75fab2c14a25553a1664586ed122c316bd1878",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-b1aba9f5"
},
{
"deprecated": false,
"target": {
"file": "drivers/dma-buf/sync_debug.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ff116f68560a25656933d5a18e7619cb6773d8a",
"digest": {
"line_hashes": [
"294551803078314807069608383783870589619",
"91735083802635176214988571325812233559",
"151064183084606955946916374185127471774",
"154549850975600676040235551911839926171",
"129607754852017893027055809643768959579",
"238093594838656149388944846452810795664",
"275900550921966593129801992238270798611",
"246278321153583409411465614475861731947",
"109055772670651595668866447781460101766"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-38780-e2ce1350"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38780.json"