CVE-2024-36977 (GCVE-0-2024-36977)

Vulnerability from cvelistv5 – Published: 2024-06-18 19:27 – Updated: 2026-08-05 11:32
VLAI
Title
usb: dwc3: Wait unconditionally after issuing EndXfer command
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: Wait unconditionally after issuing EndXfer command Currently all controller IP/revisions except DWC3_usb3 >= 310a wait 1ms unconditionally for ENDXFER completion when IOC is not set. This is because DWC_usb3 controller revisions >= 3.10a supports GUCTL2[14: Rst_actbitlater] bit which allows polling CMDACT bit to know whether ENDXFER command is completed. Consider a case where an IN request was queued, and parallelly soft_disconnect was called (due to ffs_epfile_release). This eventually calls stop_active_transfer with IOC cleared, hence send_gadget_ep_cmd() skips waiting for CMDACT cleared during EndXfer. For DWC3 controllers with revisions >= 310a, we don't forcefully wait for 1ms either, and we proceed by unmapping the requests. If ENDXFER didn't complete by this time, it leads to SMMU faults since the controller would still be accessing those requests. Fix this by ensuring ENDXFER completion by adding 1ms delay in __dwc3_stop_active_transfer() unconditionally.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator (v2.0.3)
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b353eb6dc285a0775a447f53e5b2a50bf3f9684f , < 341eb08dbca9eae05308c442fbfab1813a44c97a (git)
Affected: b353eb6dc285a0775a447f53e5b2a50bf3f9684f , < ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c (git)
Affected: b353eb6dc285a0775a447f53e5b2a50bf3f9684f , < 4a387e032909c6dc2b479452c5bbe9a252057925 (git)
Affected: b353eb6dc285a0775a447f53e5b2a50bf3f9684f , < 1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5 (git)
Affected: b353eb6dc285a0775a447f53e5b2a50bf3f9684f , < 1d26ba0944d398f88aaf997bda3544646cf21945 (git)
Create a notification for this product.
Linux Linux Affected: 6.1
Unaffected: 0 , < 6.1 (semver)
Unaffected: 6.1.92 , ≤ 6.1.* (semver)
Unaffected: 6.6.32 , ≤ 6.6.* (semver)
Unaffected: 6.8.11 , ≤ 6.8.* (semver)
Unaffected: 6.9.2 , ≤ 6.9.* (semver)
Unaffected: 6.10 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "HIGH",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 4.7,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-36977",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-24T19:01:51.855547Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "description": "CWE-noinfo Not enough information",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-11-01T14:56:58.197Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:43:50.431Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/dwc3/gadget.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "341eb08dbca9eae05308c442fbfab1813a44c97a",
              "status": "affected",
              "version": "b353eb6dc285a0775a447f53e5b2a50bf3f9684f",
              "versionType": "git"
            },
            {
              "lessThan": "ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c",
              "status": "affected",
              "version": "b353eb6dc285a0775a447f53e5b2a50bf3f9684f",
              "versionType": "git"
            },
            {
              "lessThan": "4a387e032909c6dc2b479452c5bbe9a252057925",
              "status": "affected",
              "version": "b353eb6dc285a0775a447f53e5b2a50bf3f9684f",
              "versionType": "git"
            },
            {
              "lessThan": "1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5",
              "status": "affected",
              "version": "b353eb6dc285a0775a447f53e5b2a50bf3f9684f",
              "versionType": "git"
            },
            {
              "lessThan": "1d26ba0944d398f88aaf997bda3544646cf21945",
              "status": "affected",
              "version": "b353eb6dc285a0775a447f53e5b2a50bf3f9684f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/dwc3/gadget.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.32",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.92",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.32",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.11",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9.2",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3: Wait unconditionally after issuing EndXfer command\n\nCurrently all controller IP/revisions except DWC3_usb3 \u003e= 310a\nwait 1ms unconditionally for ENDXFER completion when IOC is not\nset. This is because DWC_usb3 controller revisions \u003e= 3.10a\nsupports GUCTL2[14: Rst_actbitlater] bit which allows polling\nCMDACT bit to know whether ENDXFER command is completed.\n\nConsider a case where an IN request was queued, and parallelly\nsoft_disconnect was called (due to ffs_epfile_release). This\neventually calls stop_active_transfer with IOC cleared, hence\nsend_gadget_ep_cmd() skips waiting for CMDACT cleared during\nEndXfer. For DWC3 controllers with revisions \u003e= 310a, we don\u0027t\nforcefully wait for 1ms either, and we proceed by unmapping the\nrequests. If ENDXFER didn\u0027t complete by this time, it leads to\nSMMU faults since the controller would still be accessing those\nrequests.\n\nFix this by ensuring ENDXFER completion by adding 1ms delay in\n__dwc3_stop_active_transfer() unconditionally."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The documented trigger is a local userspace operation \u2014 `ffs_epfile_release()` on a FunctionFS endpoint file racing an in-flight IN request \u2014 which reaches `dwc3_gadget_soft_disconnect()` \u2192 `dwc3_stop_active_transfers()` without any physical access to the device. A local process holding the FFS endpoint fds (or any process able to cause the FFS daemon\u0027s fds to close) drives the whole sequence via ordinary write/close syscalls.\nAC:L - The attacker controls both sides of the race: it queues the transfer (write to the ep file) and triggers the teardown (close of the ep file), and the pre-fix code performs zero wait after ENDXFER, so the window is essentially always open rather than a narrow timing fluke. The attempt is freely repeatable and the affected DWC_usb3 \u2265 3.10a IP is a common mainstream configuration.\nPR:L - Only an unprivileged local process with access to the FunctionFS endpoint files (whose ownership is set by the mount\u0027s uid=/gid= options, e.g. the adb/MTP user on Android) is needed; no root or CAP_SYS_ADMIN is required. Queuing a transfer and closing the descriptor are ordinary file operations.\nUI:N - The attacking process performs the queue and the release itself; no victim action is required. The USB cable being attached is an ambient condition of the target device (phone on a charger/PC, kiosk, embedded controller), not an interaction the attacker must induce.\nS:U - The stale DMA writes into kernel memory the controller was already granted access to, and both the vulnerable component and the impacted component are the kernel itself. No VM, IOMMU, or sandbox security boundary is crossed.\nC:H - For IN endpoints the controller keeps reading the buffer after `usb_gadget_unmap_request_by_dev()` and `kfree()`, so contents of reallocated kernel heap memory are streamed out over USB to the attached host \u2014 an arbitrary-content kernel memory disclosure. This is a use-after-free read with attacker-observable output.\nI:H - For OUT endpoints the controller continues writing host-supplied data into memory that has been DMA-unmapped and freed, giving a use-after-free write with attacker-controlled contents into reallocated kernel objects. That is a heap-spray-friendly write primitive suitable for control-flow hijacking.\nA:H - The commit reports SMMU faults from the controller accessing already-unmapped requests, which on typical SoC IOMMU configurations abort the transaction and panic or wedge the USB controller. Absent an IOMMU, the resulting freed-memory corruption reliably produces oopses and kernel panics."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:32:26.465Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945"
        }
      ],
      "title": "usb: dwc3: Wait unconditionally after issuing EndXfer command",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-36977",
    "datePublished": "2024-06-18T19:27:58.319Z",
    "dateReserved": "2024-05-30T15:25:07.082Z",
    "dateUpdated": "2026-08-05T11:32:26.465Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-36977",
      "date": "2026-08-10",
      "epss": "0.00221",
      "percentile": "0.12616"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: dwc3: Wait unconditionally after issuing EndXfer command\\n\\nCurrently all controller IP/revisions except DWC3_usb3 \u003e= 310a\\nwait 1ms unconditionally for ENDXFER completion when IOC is not\\nset. This is because DWC_usb3 controller revisions \u003e= 3.10a\\nsupports GUCTL2[14: Rst_actbitlater] bit which allows polling\\nCMDACT bit to know whether ENDXFER command is completed.\\n\\nConsider a case where an IN request was queued, and parallelly\\nsoft_disconnect was called (due to ffs_epfile_release). This\\neventually calls stop_active_transfer with IOC cleared, hence\\nsend_gadget_ep_cmd() skips waiting for CMDACT cleared during\\nEndXfer. For DWC3 controllers with revisions \u003e= 310a, we don\u0027t\\nforcefully wait for 1ms either, and we proceed by unmapping the\\nrequests. If ENDXFER didn\u0027t complete by this time, it leads to\\nSMMU faults since the controller would still be accessing those\\nrequests.\\n\\nFix this by ensuring ENDXFER completion by adding 1ms delay in\\n__dwc3_stop_active_transfer() unconditionally.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: usb: dwc3: Espere incondicionalmente despu\\u00e9s de emitir el comando EndXfer Actualmente, todas las IP/revisiones del controlador excepto DWC3_usb3 \u0026gt;= 310a esperan 1 ms incondicionalmente para que ENDXFER se complete cuando el IOC no est\\u00e1 configurado. Esto se debe a que las revisiones del controlador DWC_usb3 \u0026gt;= 3.10a admiten el bit GUCTL2[14: Rst_actbitlater] que permite sondear el bit CMDACT para saber si se complet\\u00f3 el comando ENDXFER. Considere un caso en el que se puso en cola una solicitud IN y, en paralelo, se llam\\u00f3 a soft_disconnect (debido a ffs_epfile_release). Esto eventualmente llama a stop_active_transfer con el IOC borrado, por lo tanto, send_gadget_ep_cmd() omite la espera de que CMDACT se borre durante EndXfer. Para los controladores DWC3 con revisiones \u0026gt;= 310a, tampoco esperamos forzosamente 1 ms y procedemos a desasignar las solicitudes. Si ENDXFER no se complet\\u00f3 en este momento, se producir\\u00e1n fallas de SMMU ya que el controlador a\\u00fan estar\\u00eda accediendo a esas solicitudes. Solucione este problema asegurando la finalizaci\\u00f3n de ENDXFER agregando un retraso de 1 ms en __dwc3_stop_active_transfer() incondicionalmente.\"}]",
      "id": "CVE-2024-36977",
      "lastModified": "2024-11-21T09:22:57.463",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"baseScore\": 4.7, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 1.0, \"impactScore\": 3.6}]}",
      "published": "2024-06-18T20:15:13.517",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-36977\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-06-18T20:15:13.517\",\"lastModified\":\"2026-08-04T11:18:37.773\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: dwc3: Wait unconditionally after issuing EndXfer command\\n\\nCurrently all controller IP/revisions except DWC3_usb3 \u003e= 310a\\nwait 1ms unconditionally for ENDXFER completion when IOC is not\\nset. This is because DWC_usb3 controller revisions \u003e= 3.10a\\nsupports GUCTL2[14: Rst_actbitlater] bit which allows polling\\nCMDACT bit to know whether ENDXFER command is completed.\\n\\nConsider a case where an IN request was queued, and parallelly\\nsoft_disconnect was called (due to ffs_epfile_release). This\\neventually calls stop_active_transfer with IOC cleared, hence\\nsend_gadget_ep_cmd() skips waiting for CMDACT cleared during\\nEndXfer. For DWC3 controllers with revisions \u003e= 310a, we don\u0027t\\nforcefully wait for 1ms either, and we proceed by unmapping the\\nrequests. If ENDXFER didn\u0027t complete by this time, it leads to\\nSMMU faults since the controller would still be accessing those\\nrequests.\\n\\nFix this by ensuring ENDXFER completion by adding 1ms delay in\\n__dwc3_stop_active_transfer() unconditionally.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: usb: dwc3: Espere incondicionalmente despu\u00e9s de emitir el comando EndXfer Actualmente, todas las IP/revisiones del controlador excepto DWC3_usb3 \u0026gt;= 310a esperan 1 ms incondicionalmente para que ENDXFER se complete cuando el IOC no est\u00e1 configurado. Esto se debe a que las revisiones del controlador DWC_usb3 \u0026gt;= 3.10a admiten el bit GUCTL2[14: Rst_actbitlater] que permite sondear el bit CMDACT para saber si se complet\u00f3 el comando ENDXFER. Considere un caso en el que se puso en cola una solicitud IN y, en paralelo, se llam\u00f3 a soft_disconnect (debido a ffs_epfile_release). Esto eventualmente llama a stop_active_transfer con el IOC borrado, por lo tanto, send_gadget_ep_cmd() omite la espera de que CMDACT se borre durante EndXfer. Para los controladores DWC3 con revisiones \u0026gt;= 310a, tampoco esperamos forzosamente 1 ms y procedemos a desasignar las solicitudes. Si ENDXFER no se complet\u00f3 en este momento, se producir\u00e1n fallas de SMMU ya que el controlador a\u00fan estar\u00eda accediendo a esas solicitudes. Solucione este problema asegurando la finalizaci\u00f3n de ENDXFER agregando un retraso de 1 ms en __dwc3_stop_active_transfer() incondicionalmente.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/dwc3/gadget.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\",\"lessThan\":\"341eb08dbca9eae05308c442fbfab1813a44c97a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\",\"lessThan\":\"ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\",\"lessThan\":\"4a387e032909c6dc2b479452c5bbe9a252057925\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\",\"lessThan\":\"1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\",\"lessThan\":\"1d26ba0944d398f88aaf997bda3544646cf21945\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/dwc3/gadget.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.1\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.1\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.92\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.32\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.11\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9.2\",\"lessThanOrEqual\":\"6.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.10\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":4.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-24T19:01:51.855547Z\",\"id\":\"CVE-2024-36977\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1\",\"versionEndExcluding\":\"6.1.92\",\"matchCriteriaId\":\"80CFEB10-DE8A-40FE-9035-AFD7283BED71\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.32\",\"matchCriteriaId\":\"18199311-EF79-4480-85B0-6AD00C70A7BE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.8.11\",\"matchCriteriaId\":\"3B75CBAF-FD3C-40AE-85BB-0525E142C4C8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.9\",\"versionEndExcluding\":\"6.9.2\",\"matchCriteriaId\":\"197A592B-2A2B-4A2F-8856-22638007413E\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-04T22:45:44+00:00",
      "cve": "CVE-2024-36977",
      "id": "CVE-2024-36977",
      "initial_release_date": "2024-06-18T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "22",
      "product_status:known_not_affected": "98",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: usb: dwc3: Wait unconditionally after issuing EndXfer command",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-36977.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-23T02:05:04Z",
      "cve": "CVE-2024-36977",
      "id": "CVE-2024-36977",
      "initial_release_date": "2024-06-21T03:06:53Z",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "285",
      "product_status:recommended": "358",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-36977",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-36977.json",
      "version": "67"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:43:50.431Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 4.7, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-36977\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-24T19:01:51.855547Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"description\": \"CWE-noinfo Not enough information\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-24T19:01:55.393Z\"}}], \"cna\": {\"title\": \"usb: dwc3: Wait unconditionally after issuing EndXfer command\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\", \"lessThan\": \"341eb08dbca9eae05308c442fbfab1813a44c97a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\", \"lessThan\": \"ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\", \"lessThan\": \"4a387e032909c6dc2b479452c5bbe9a252057925\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\", \"lessThan\": \"1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b353eb6dc285a0775a447f53e5b2a50bf3f9684f\", \"lessThan\": \"1d26ba0944d398f88aaf997bda3544646cf21945\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/usb/dwc3/gadget.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.1\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.1\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.92\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.32\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/usb/dwc3/gadget.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/341eb08dbca9eae05308c442fbfab1813a44c97a\"}, {\"url\": \"https://git.kernel.org/stable/c/ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c\"}, {\"url\": \"https://git.kernel.org/stable/c/4a387e032909c6dc2b479452c5bbe9a252057925\"}, {\"url\": \"https://git.kernel.org/stable/c/1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5\"}, {\"url\": \"https://git.kernel.org/stable/c/1d26ba0944d398f88aaf997bda3544646cf21945\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: dwc3: Wait unconditionally after issuing EndXfer command\\n\\nCurrently all controller IP/revisions except DWC3_usb3 \u003e= 310a\\nwait 1ms unconditionally for ENDXFER completion when IOC is not\\nset. This is because DWC_usb3 controller revisions \u003e= 3.10a\\nsupports GUCTL2[14: Rst_actbitlater] bit which allows polling\\nCMDACT bit to know whether ENDXFER command is completed.\\n\\nConsider a case where an IN request was queued, and parallelly\\nsoft_disconnect was called (due to ffs_epfile_release). This\\neventually calls stop_active_transfer with IOC cleared, hence\\nsend_gadget_ep_cmd() skips waiting for CMDACT cleared during\\nEndXfer. For DWC3 controllers with revisions \u003e= 310a, we don\u0027t\\nforcefully wait for 1ms either, and we proceed by unmapping the\\nrequests. If ENDXFER didn\u0027t complete by this time, it leads to\\nSMMU faults since the controller would still be accessing those\\nrequests.\\n\\nFix this by ensuring ENDXFER completion by adding 1ms delay in\\n__dwc3_stop_active_transfer() unconditionally.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.92\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.32\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.11\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9.2\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10\", \"versionStartIncluding\": \"6.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T20:18:16.298Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-36977\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T20:18:16.298Z\", \"dateReserved\": \"2024-05-30T15:25:07.082Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-06-18T19:27:58.319Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…