Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-36017
HistoryMay 30, 2024 - 1:15 p.m.

CVE-2024-36017

2024-05-3013:15:49
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
25
cve-2024-36017
linux kernel
rtnetlink
vulnerability
resolved
attribute validation
nested
ifla_vf_vlan_list
out of bands read access

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%

In the Linux kernel, the following vulnerability has been resolved:

rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation

Each attribute inside a nested IFLA_VF_VLAN_LIST is assumed to be a
struct ifla_vf_vlan_info so the size of such attribute needs to be at least
of sizeof(struct ifla_vf_vlan_info) which is 14 bytes.
The current size validation in do_setvfinfo is against NLA_HDRLEN (4 bytes)
which is less than sizeof(struct ifla_vf_vlan_info) so this validation
is not enough and a too small attribute might be cast to a
struct ifla_vf_vlan_info, this might result in an out of bands
read access when accessing the saved (casted) entry in ivvl.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.94.19.314
OR
linuxlinux_kernelRange4.20.05.4.276
OR
linuxlinux_kernelRange5.5.05.10.217
OR
linuxlinux_kernelRange5.11.05.15.159
OR
linuxlinux_kernelRange5.16.06.1.91
OR
linuxlinux_kernelRange6.2.06.6.31
OR
linuxlinux_kernelRange6.7.06.8.10
OR
linuxlinux_kernelRange6.9.0

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

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%