5.5

CVE-2022-48711

tipc: improve size validations for received domain records

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
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 4.8 < 4.9.301
LinuxLinux Kernel Version >= 4.10 < 4.14.266
LinuxLinux Kernel Version >= 4.15 < 4.19.229
LinuxLinux Kernel Version >= 4.20 < 5.4.179
LinuxLinux Kernel Version >= 5.5 < 5.10.100
LinuxLinux Kernel Version >= 5.11 < 5.15.23
LinuxLinux Kernel Version >= 5.16 < 5.16.9
LinuxLinux Kernel Version5.17 Updaterc1
LinuxLinux Kernel Version5.17 Updaterc2
LinuxLinux Kernel Version5.17 Updaterc3
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.24% 0.143
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
134c704f-9b21-4f2e-91b3-4a467353bcc0 5.3 1.8 3.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CWE-787 Out-of-bounds Write

The product writes data past the end, or before the beginning, of the intended buffer.

https://git.kernel.org/stable/c/175db196e45d6f0e6047eccd09c8ba55465eb131
Patch
https://git.kernel.org/stable/c/1f1788616157b0222b0c2153828b475d95e374a7
Patch
https://git.kernel.org/stable/c/3c7e5943553594f68bbc070683db6bb6f6e9e78e
Patch
https://git.kernel.org/stable/c/59ff7514f8c56f166aadca49bcecfa028e0ad50f
Patch
https://git.kernel.org/stable/c/9aa422ad326634b76309e8ff342c246800621216
Patch
https://git.kernel.org/stable/c/d692e3406e052dbf9f6d9da0cba36cb763272529
Patch
https://git.kernel.org/stable/c/f1af11edd08dd8376f7a84487cbb0ea8203e3a1d
Patch
https://git.kernel.org/stable/c/fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d
Patch