CVE-2024-36946 (GCVE-0-2024-36946)

Vulnerability from cvelistv5 – Published: 2024-05-30 15:35 – Updated: 2025-05-04 09:12
VLAI?
Title
phonet: fix rtm_phonet_notify() skb allocation
Summary
In the Linux kernel, the following vulnerability has been resolved: phonet: fix rtm_phonet_notify() skb allocation fill_route() stores three components in the skb: - struct rtmsg - RTA_DST (u8) - RTA_OIF (u32) Therefore, rtm_phonet_notify() should use NLMSG_ALIGN(sizeof(struct rtmsg)) + nla_total_size(1) + nla_total_size(4)
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < ec1f71c05caeba0f814df77e0f511d8b4618623a (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < dc6beac059f0331de97155a89d84058d4a9e49c7 (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < f085e02f0a32f6dfcfabc6535c9c4a1707cef86b (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < 4ff334cade9dae50e4be387f71e94fae634aa9b4 (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < 728a83160f98ee6b60df0d890141b9b7240182fe (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00 (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < 9a77226440008cf04ba68faf641a2d50f4998137 (git)
Affected: f062f41d06575744b9eaf725eef8a5d3b5f5b7ca , < d8cac8568618dcb8a51af3db1103e8d4cc4aeea7 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.33
Unaffected: 0 , < 2.6.33 (semver)
Unaffected: 4.19.314 , ≤ 4.19.* (semver)
Unaffected: 5.4.276 , ≤ 5.4.* (semver)
Unaffected: 5.10.217 , ≤ 5.10.* (semver)
Unaffected: 5.15.159 , ≤ 5.15.* (semver)
Unaffected: 6.1.91 , ≤ 6.1.* (semver)
Unaffected: 6.6.31 , ≤ 6.6.* (semver)
Unaffected: 6.8.10 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-10-04T15:02:48.811Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ec1f71c05caeba0f814df77e0f511d8b4618623a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/dc6beac059f0331de97155a89d84058d4a9e49c7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f085e02f0a32f6dfcfabc6535c9c4a1707cef86b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4ff334cade9dae50e4be387f71e94fae634aa9b4"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/728a83160f98ee6b60df0d890141b9b7240182fe"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9a77226440008cf04ba68faf641a2d50f4998137"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d8cac8568618dcb8a51af3db1103e8d4cc4aeea7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html"
          },
          {
            "url": "https://security.netapp.com/advisory/ntap-20241004-0002/"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-36946",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:15:45.186553Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:59.537Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/phonet/pn_netlink.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ec1f71c05caeba0f814df77e0f511d8b4618623a",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "dc6beac059f0331de97155a89d84058d4a9e49c7",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "f085e02f0a32f6dfcfabc6535c9c4a1707cef86b",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "4ff334cade9dae50e4be387f71e94fae634aa9b4",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "728a83160f98ee6b60df0d890141b9b7240182fe",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "9a77226440008cf04ba68faf641a2d50f4998137",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            },
            {
              "lessThan": "d8cac8568618dcb8a51af3db1103e8d4cc4aeea7",
              "status": "affected",
              "version": "f062f41d06575744b9eaf725eef8a5d3b5f5b7ca",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/phonet/pn_netlink.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.33"
            },
            {
              "lessThan": "2.6.33",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.314",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.31",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.314",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.276",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.217",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.159",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.91",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.31",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.10",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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)"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T09:12:36.121Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-36946",
    "datePublished": "2024-05-30T15:35:43.884Z",
    "dateReserved": "2024-05-30T15:25:07.079Z",
    "dateUpdated": "2025-05-04T09:12:36.121Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ec1f71c05caeba0f814df77e0f511d8b4618623a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/dc6beac059f0331de97155a89d84058d4a9e49c7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f085e02f0a32f6dfcfabc6535c9c4a1707cef86b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/4ff334cade9dae50e4be387f71e94fae634aa9b4\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/728a83160f98ee6b60df0d890141b9b7240182fe\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9a77226440008cf04ba68faf641a2d50f4998137\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d8cac8568618dcb8a51af3db1103e8d4cc4aeea7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://security.netapp.com/advisory/ntap-20241004-0002/\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-10-04T15:02:48.811Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-36946\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:15:45.186553Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:27.355Z\"}}], \"cna\": {\"title\": \"phonet: fix rtm_phonet_notify() skb allocation\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"ec1f71c05caeba0f814df77e0f511d8b4618623a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"dc6beac059f0331de97155a89d84058d4a9e49c7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"f085e02f0a32f6dfcfabc6535c9c4a1707cef86b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"4ff334cade9dae50e4be387f71e94fae634aa9b4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"728a83160f98ee6b60df0d890141b9b7240182fe\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"ee9e39a6cb3ca2a3d35b4ae25547ee3526a44d00\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"9a77226440008cf04ba68faf641a2d50f4998137\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f062f41d06575744b9eaf725eef8a5d3b5f5b7ca\", \"lessThan\": \"d8cac8568618dcb8a51af3db1103e8d4cc4aeea7\", \"versionType\": \"git\"}], \"programFiles\": [\"net/phonet/pn_netlink.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.6.33\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"2.6.33\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.314\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.276\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.217\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.159\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.91\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.31\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.10\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/phonet/pn_netlink.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"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)\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:02:58.493Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-36946\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:02:58.493Z\", \"dateReserved\": \"2024-05-30T15:25:07.079Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-30T15:35:43.884Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…