CVE-2022-48711CWE-787

CVE-2022-48711

Critical · published June 20, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
42.3
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00506 · 42.3th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-06-20T15:15Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 4.8, < 4.9.3014.9.301
linux/linux_kernel≥ 4.10, < 4.14.2664.14.266
linux/linux_kernel≥ 4.15, < 4.19.2294.19.229
linux/linux_kernel≥ 4.20, < 5.4.1795.4.179
linux/linux_kernel≥ 5.5, < 5.10.1005.10.100
linux/linux_kernel≥ 5.11, < 5.15.235.15.23
linux/linux_kernel≥ 5.16, < 5.16.95.16.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (16)
https://git.kernel.org/stable/c/175db196e45d6f0e6047eccd09c8ba55465eb131 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1f1788616157b0222b0c2153828b475d95e374a7 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3c7e5943553594f68bbc070683db6bb6f6e9e78e · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/59ff7514f8c56f166aadca49bcecfa028e0ad50f · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9aa422ad326634b76309e8ff342c246800621216 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/d692e3406e052dbf9f6d9da0cba36cb763272529 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f1af11edd08dd8376f7a84487cbb0ea8203e3a1d · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/175db196e45d6f0e6047eccd09c8ba55465eb131 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1f1788616157b0222b0c2153828b475d95e374a7 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3c7e5943553594f68bbc070683db6bb6f6e9e78e · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/59ff7514f8c56f166aadca49bcecfa028e0ad50f · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9aa422ad326634b76309e8ff342c246800621216 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/d692e3406e052dbf9f6d9da0cba36cb763272529 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f1af11edd08dd8376f7a84487cbb0ea8203e3a1d · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 20 JUN 11:13Z
    tipc: improve size validations for received domain records
    cvelistv5