Lucene search

K
cvelistLinuxCVELIST:CVE-2024-36946
HistoryMay 30, 2024 - 3:35 p.m.

CVE-2024-36946 phonet: fix rtm_phonet_notify() skb allocation

2024-05-3015:35:43
Linux
www.cve.org
linux kernel vulnerability
phonet fix
skb allocation
rtm_phonet_notify
rtm_msg
rta_dst
rta_oif
cve

7.4 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.0%

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)

CNA 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"
      }
    ]
  }
]

7.4 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.0%