{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nl80211: reject iftype change with mesh ID change\n\nIt's currently possible to change the mesh ID when the\ninterface isn't yet in mesh mode, at the same time as\nchanging it into mesh mode. This leads to an overwrite\nof data in the wdev->u union for the interface type it\ncurrently has, causing cfg80211_change_iface() to do\nwrong things when switching.\n\nWe could probably allow setting an interface to mesh\nwhile setting the mesh ID at the same time by doing a\ndifferent order of operations here, but realistically\nthere's no userspace that's going to do this, so just\ndisallow changes in iftype when setting mesh ID."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/wireless/nl80211.c"
               ],
               "versions": [
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "d38d31bbbb9d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "0cfbb26ee5e7",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "99eb2159680a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "063715c33b4c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "930e826962d9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "177d574be4b5",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "a2add961a5ed",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "7b0a0e3c3a88",
                     "lessThan": "f78c1375339a",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/wireless/nl80211.c"
               ],
               "versions": [
                  {
                     "version": "6.0",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "6.0",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.309",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.271",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.212",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.151",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.81",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.21",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.9",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/d38d31bbbb9dc0d4d71a45431eafba03d0bc150d"
            },
            {
               "url": "https://git.kernel.org/stable/c/0cfbb26ee5e7b3d6483a73883f9f6157bca22ec9"
            },
            {
               "url": "https://git.kernel.org/stable/c/99eb2159680af8786104dac80528acd5acd45980"
            },
            {
               "url": "https://git.kernel.org/stable/c/063715c33b4c37587aeca2c83cf08ead0c542995"
            },
            {
               "url": "https://git.kernel.org/stable/c/930e826962d9f01dcd2220176134427358d112f2"
            },
            {
               "url": "https://git.kernel.org/stable/c/177d574be4b58f832354ab1ef5a297aa0c9aa2df"
            },
            {
               "url": "https://git.kernel.org/stable/c/a2add961a5ed25cfd6a74f9ffb9e7ab6d6ded838"
            },
            {
               "url": "https://git.kernel.org/stable/c/f78c1375339a291cba492a70eaf12ec501d28a8e"
            }
         ],
         "title": "wifi: nl80211: reject iftype change with mesh ID change",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-27410",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
