Lucene search

K
cvelistLinuxCVELIST:CVE-2024-44974
HistorySep 04, 2024 - 7:54 p.m.

CVE-2024-44974 mptcp: pm: avoid possible UaF when selecting endp

2024-09-0419:54:26
Linux
www.cve.org
3
linux kernel
mptcp
vulnerability
endp selection

EPSS

0

Percentile

5.1%

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

mptcp: pm: avoid possible UaF when selecting endp

select_local_address() and select_signal_address() both select an
endpoint entry from the list inside an RCU protected section, but return
a reference to it, to be read later on. If the entry is dereferenced
after the RCU unlock, reading info could cause a Use-after-Free.

A simple solution is to copy the required info while inside the RCU
protected section to avoid any risk of UaF later. The address ID might
need to be modified later to handle the ID0 case later, so a copy seems
OK to deal with.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/mptcp/pm_netlink.c"
    ],
    "versions": [
      {
        "version": "01cacb00b35c",
        "lessThan": "ddee5b4b6a1c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "01cacb00b35c",
        "lessThan": "f2c865e9e3ca",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "01cacb00b35c",
        "lessThan": "2b4f46f95036",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "01cacb00b35c",
        "lessThan": "9a9afbbc3fbf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "01cacb00b35c",
        "lessThan": "0201d65d9806",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "01cacb00b35c",
        "lessThan": "48e50dcbcbaa",
        "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/mptcp/pm_netlink.c"
    ],
    "versions": [
      {
        "version": "5.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.7",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.226",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.167",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.109",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.48",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.7",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

5.1%