Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2022-48711
HistoryJun 20, 2024 - 11:15 a.m.

CVE-2022-48711

2024-06-2011:15:54
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
22
linux kernel
tipc
size validation

6.5 Medium

AI Score

Confidence

Low

0.013 Low

EPSS

Percentile

86.1%

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

tipc: improve size validations for received domain records

The function tipc_mon_rcv() allows a node to receive and process
domain_record structs from peer nodes to track their views of the
network topology.

This patch verifies that the number of members in a received domain
record does not exceed the limit defined by MAX_MON_DOMAIN, something
that may otherwise lead to a stack overflow.

tipc_mon_rcv() is called from the function tipc_link_proto_rcv(), where
we are reading a 32 bit message data length field into a uint16. To
avert any risk of bit overflow, we add an extra sanity check for this in
that function. We cannot see that happen with the current code, but
future designers being unaware of this risk, may introduce it by
allowing delivery of very large (> 64k) sk buffers from the bearer
layer. This potential problem was identified by Eric Dumazet.

This fixes CVE-2022-0435

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.84.9.301
OR
linuxlinux_kernelRange4.10.04.14.266
OR
linuxlinux_kernelRange4.15.04.19.229
OR
linuxlinux_kernelRange4.20.05.4.179
OR
linuxlinux_kernelRange5.5.05.10.100
OR
linuxlinux_kernelRange5.11.05.15.23
OR
linuxlinux_kernelRange5.16.05.16.9
OR
linuxlinux_kernelRange5.17.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/tipc/link.c",
      "net/tipc/monitor.c"
    ],
    "versions": [
      {
        "version": "35c55c9877f8",
        "lessThan": "175db196e45d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "fde4ddeadd09",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "f1af11edd08d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "d692e3406e05",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "3c7e59435535",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "1f1788616157",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "59ff7514f8c5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35c55c9877f8",
        "lessThan": "9aa422ad3266",
        "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/tipc/link.c",
      "net/tipc/monitor.c"
    ],
    "versions": [
      {
        "version": "4.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.9.301",
        "lessThanOrEqual": "4.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.266",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.229",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.179",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.100",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.23",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.9",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]