{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdc-wdm: close race between read and workqueue\n\nwdm_read() cannot race with itself. However, in\nservice_outstanding_interrupt() it can race with the\nworkqueue, which can be triggered by error handling.\n\nHence we need to make sure that the WDM_RESPONDING\nflag is not just only set but tested."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/usb/class/cdc-wdm.c"
               ],
               "versions": [
                  {
                     "version": "afba937e540c",
                     "lessThan": "590441121960",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "347cca11bb78",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "3afdcc4e1a00",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "164be0a82438",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "9b319f4a8809",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "ab92e11b73b4",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "a86e54a34513",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "7182175f565f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "916cd2fcbc1e",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "8672ad663a22",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "da3b75931bb7",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "2ff436b63998",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "972360238721",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "19f955ad9437",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "e4e47e406d74",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "afba937e540c",
                     "lessThan": "339f83612f3a",
                     "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/usb/class/cdc-wdm.c"
               ],
               "versions": [
                  {
                     "version": "2.6.26",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.26",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.312",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.313",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.274",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.275",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.215",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.216",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.154",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.157",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.84",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.88",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.24",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.29",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.12",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8.3",
                     "lessThanOrEqual": "6.8.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8.8",
                     "lessThanOrEqual": "6.8.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/5904411219601127ffdbd2d622bb5d67f9d8d16c"
            },
            {
               "url": "https://git.kernel.org/stable/c/347cca11bb78b9f3c29b45a9c52e70258bd008bf"
            },
            {
               "url": "https://git.kernel.org/stable/c/3afdcc4e1a00facad210f5c5891bb2fbc026067f"
            },
            {
               "url": "https://git.kernel.org/stable/c/164be0a824387301312689bb29b2be92ab2cd39d"
            },
            {
               "url": "https://git.kernel.org/stable/c/9b319f4a88094b2e020e6db6e819c808d890098d"
            },
            {
               "url": "https://git.kernel.org/stable/c/ab92e11b73b48b79f144421430891f3aa6242656"
            },
            {
               "url": "https://git.kernel.org/stable/c/a86e54a345139f1a7668c9f83bdc7ac6f91b6f78"
            },
            {
               "url": "https://git.kernel.org/stable/c/7182175f565ffffa2ba1911726c5656bfc7a1bae"
            },
            {
               "url": "https://git.kernel.org/stable/c/916cd2fcbc1e344bcabf4b2a834cdf5a0417d30c"
            },
            {
               "url": "https://git.kernel.org/stable/c/8672ad663a22d0e4a325bb7d817b36ec412b967c"
            },
            {
               "url": "https://git.kernel.org/stable/c/da3b75931bb737be74d6b4341e0080f233ed1409"
            },
            {
               "url": "https://git.kernel.org/stable/c/2ff436b6399859e06539a2b9c667897d3cc85ad5"
            },
            {
               "url": "https://git.kernel.org/stable/c/9723602387217caa71d623ffcce314dc39e84a09"
            },
            {
               "url": "https://git.kernel.org/stable/c/19f955ad9437a6859a529af34e2eafd903d5e7c1"
            },
            {
               "url": "https://git.kernel.org/stable/c/e4e47e406d74cab601b2ab21ba5e3add811e05ae"
            },
            {
               "url": "https://git.kernel.org/stable/c/339f83612f3a569b194680768b22bf113c26a29d"
            }
         ],
         "title": "usb: cdc-wdm: close race between read and workqueue",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-35812",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
