{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niwlwifi: fix use-after-free\n\nIf no firmware was present at all (or, presumably, all of the\nfirmware files failed to parse), we end up unbinding by calling\ndevice_release_driver(), which calls remove(), which then in\niwlwifi calls iwl_drv_stop(), freeing the 'drv' struct. However\nthe new code I added will still erroneously access it after it\nwas freed.\n\nSet 'failure=false' in this case to avoid the access, all data\nwas already freed anyway."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
               ],
               "versions": [
                  {
                     "version": "8e10749fa1a4",
                     "lessThan": "d3b98fe36f8a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1d7cc54137a4",
                     "lessThan": "7d6475179b85",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0446cafa843e",
                     "lessThan": "494de920d98f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "febab6b60d61",
                     "lessThan": "008508c16af0",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e23f075d7798",
                     "lessThan": "ddd46059f7d9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "6b5ad4bd0d78",
                     "lessThan": "9958b9cbb221",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ab07506b0454",
                     "lessThan": "bea2662e7818",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
               ],
               "versions": [
                  {
                     "version": "4.14.263",
                     "lessThan": "4.14.268",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.226",
                     "lessThan": "4.19.231",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.174",
                     "lessThan": "5.4.181",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.94",
                     "lessThan": "5.10.102",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.17",
                     "lessThan": "5.15.25",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.16.3",
                     "lessThan": "5.16.11",
                     "status": "affected",
                     "versionType": "custom"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d"
            },
            {
               "url": "https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb"
            },
            {
               "url": "https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957"
            },
            {
               "url": "https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063"
            },
            {
               "url": "https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515"
            },
            {
               "url": "https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d"
            },
            {
               "url": "https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94"
            }
         ],
         "title": "iwlwifi: fix use-after-free",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-48787",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
