CVE-2022-48711

tipc: improve size validations for received domain records

State
Published
Severity
9.8 Critical
Published
Jun 20, 2024
Updated
Aug 5, 2026
Reserved
Jun 20, 2024

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.15.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before 175db196e45d6f0e6047eccd09c8ba55465eb131Affected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2dAffected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before f1af11edd08dd8376f7a84487cbb0ea8203e3a1dAffected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before d692e3406e052dbf9f6d9da0cba36cb763272529Affected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before 3c7e5943553594f68bbc070683db6bb6f6e9e78eAffected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before 1f1788616157b0222b0c2153828b475d95e374a7Affected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before 59ff7514f8c56f166aadca49bcecfa028e0ad50fAffected
  • 35c55c9877f8de0ab129fa1a309271d0ecc868b9 to before 9aa422ad326634b76309e8ff342c246800621216Affected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 4.9.301 through 4.9.*Not affected
  • 4.14.266 through 4.14.*Not affected
  • 4.19.229 through 4.19.*Not affected
  • 5.4.179 through 5.4.*Not affected
  • 5.10.100 through 5.10.*Not affected
  • 5.15.23 through 5.15.*Not affected
  • 5.16.9 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.