{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "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()."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/dma-buf/sync_debug.c"
               ],
               "versions": [
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "1ff116f68560",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "165b25e3ee93",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "ae6fc4e6a332",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "9d75fab2c14a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "242b30466879",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "a4ee78244445",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "8a283cdfc8be",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a6aa8fca4d79",
                     "lessThan": "b79491896151",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/dma-buf/sync_debug.c"
               ],
               "versions": [
                  {
                     "version": "4.14",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.14",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.316",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.278",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.219",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.161",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.93",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.33",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9.4",
                     "lessThanOrEqual": "6.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.10",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a"
            },
            {
               "url": "https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed"
            },
            {
               "url": "https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8"
            },
            {
               "url": "https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878"
            },
            {
               "url": "https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a"
            },
            {
               "url": "https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef"
            },
            {
               "url": "https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e"
            },
            {
               "url": "https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39"
            }
         ],
         "title": "dma-buf/sw-sync: don't enable IRQ from sync_print_obj()",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-38780",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
