{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation\n\nEach attribute inside a nested IFLA_VF_VLAN_LIST is assumed to be a\nstruct ifla_vf_vlan_info so the size of such attribute needs to be at least\nof sizeof(struct ifla_vf_vlan_info) which is 14 bytes.\nThe current size validation in do_setvfinfo is against NLA_HDRLEN (4 bytes)\nwhich is less than sizeof(struct ifla_vf_vlan_info) so this validation\nis not enough and a too small attribute might be cast to a\nstruct ifla_vf_vlan_info, this might result in an out of bands\nread access when accessing the saved (casted) entry in ivvl."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/core/rtnetlink.c"
               ],
               "versions": [
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "8ac69ff2d0d5",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "5e7ef2d88666",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "6c8f44b02500",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "f3c1bf3054f9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "6e4c7193954f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "206003c748b8",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "4a4b9757789a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "79aab093a0b5",
                     "lessThan": "1aec77b2bb2e",
                     "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/core/rtnetlink.c"
               ],
               "versions": [
                  {
                     "version": "4.9",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.9",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.314",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.276",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.217",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.159",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.91",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.31",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8.10",
                     "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/8ac69ff2d0d5be9734c4402de932aa3dc8549c1a"
            },
            {
               "url": "https://git.kernel.org/stable/c/5e7ef2d88666a0212db8c38e6703864b9ce70169"
            },
            {
               "url": "https://git.kernel.org/stable/c/6c8f44b02500c7d14b5e6618fe4ef9a0da47b3de"
            },
            {
               "url": "https://git.kernel.org/stable/c/f3c1bf3054f96ddeab0621d920445bada769b40e"
            },
            {
               "url": "https://git.kernel.org/stable/c/6e4c7193954f4faab92f6e8d88bc5565317b44e7"
            },
            {
               "url": "https://git.kernel.org/stable/c/206003c748b88890a910ef7142d18f77be57550b"
            },
            {
               "url": "https://git.kernel.org/stable/c/4a4b9757789a1551d2df130df23bfb3545bfa7e8"
            },
            {
               "url": "https://git.kernel.org/stable/c/1aec77b2bb2ed1db0f5efc61c4c1ca3813307489"
            }
         ],
         "title": "rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-36017",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
