{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nphonet: fix rtm_phonet_notify() skb allocation\n\nfill_route() stores three components in the skb:\n\n- struct rtmsg\n- RTA_DST (u8)\n- RTA_OIF (u32)\n\nTherefore, rtm_phonet_notify() should use\n\nNLMSG_ALIGN(sizeof(struct rtmsg)) +\nnla_total_size(1) +\nnla_total_size(4)"
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/phonet/pn_netlink.c"
               ],
               "versions": [
                  {
                     "version": "f062f41d0657",
                     "lessThan": "ec1f71c05cae",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "dc6beac059f0",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "f085e02f0a32",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "4ff334cade9d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "728a83160f98",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "ee9e39a6cb3c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "9a7722644000",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f062f41d0657",
                     "lessThan": "d8cac8568618",
                     "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/phonet/pn_netlink.c"
               ],
               "versions": [
                  {
                     "version": "2.6.33",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.33",
                     "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/ec1f71c05caeba0f814df77e0f511d8b4618623a"
            },
            {
               "url": "https://git.kernel.org/stable/c/dc6beac059f0331de97155a89d84058d4a9e49c7"
            },
            {
               "url": "https://git.kernel.org/stable/c/f085e02f0a32f6dfcfabc6535c9c4a1707cef86b"
            },
            {
               "url": "https://git.kernel.org/stable/c/4ff334cade9dae50e4be387f71e94fae634aa9b4"
            },
            {
               "url": "https://git.kernel.org/stable/c/728a83160f98ee6b60df0d890141b9b7240182fe"
            },
            {
               "url": "https://git.kernel.org/stable/c/ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00"
            },
            {
               "url": "https://git.kernel.org/stable/c/9a77226440008cf04ba68faf641a2d50f4998137"
            },
            {
               "url": "https://git.kernel.org/stable/c/d8cac8568618dcb8a51af3db1103e8d4cc4aeea7"
            }
         ],
         "title": "phonet: fix rtm_phonet_notify() skb allocation",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-36946",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
