CVE-2022-48711: tipc: improve size validations for received domain records

Published Jun 20, 2024
·
Updated

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

tipc: improve size validations for received domain records

The function tipcmonrcv() allows a node to receive and process domainrecord 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 MAXMONDOMAIN, something that may otherwise lead to a stack overflow.

tipcmonrcv() is called from the function tipclinkprotorcv(), 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 Software

11 affected components
Linux Kernel
Linux Linux kernel>=4.8<4.9.301
Linux Linux kernel>=4.10<4.14.266
Linux Linux kernel>=4.15<4.19.229
Linux Linux kernel>=4.20<5.4.179
Linux Linux kernel>=5.5<5.10.100
Linux Linux kernel>=5.11<5.15.23
Linux Linux kernel>=5.16<5.16.9
Linux Linux kernel=5.17-rc1
Linux Linux kernel=5.17-rc2
Linux Linux kernel=5.17-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (TIPC) to a version that resolves this vulnerability.

    Patch CVE-2022-0435
  2. Configuration

    Apply the TIPC fix that adds an extra sanity check in domain_record handling so the number of members in a received domain record (received via tipc_mon_rcv() called from tipc_link_proto_rcv()) does not exceed the limit defined by MAX_MON_DOMAIN to prevent potential stack overflow from very large sk buffers/record sizes.

    TIPC (tipc_mon_rcv / tipc_link_proto_rcv) MAX_MON_DOMAIN size validation for received domain_record structs = add sanity check so member count/record size does not exceed limit defined by MAX_MON_DOMAIN

Event History

Jun 20, 2024
CVE Published
via MITRE·11:13 AM
Data Sourced
via MITRE·11:13 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48711?

The severity of CVE-2022-48711 has been classified as medium due to potential impact on the network topology tracking.

2

How do I fix CVE-2022-48711?

To fix CVE-2022-48711, update your Linux kernel to a patched version that resolves the size validation issues.

3

What versions of the Linux kernel are affected by CVE-2022-48711?

CVE-2022-48711 affects multiple versions of the Linux kernel, specifically versions between 4.8 and 5.17-rc3.

4

Can CVE-2022-48711 lead to any security risks?

Yes, CVE-2022-48711 can lead to security risks by allowing an attacker to exploit improper size validation in domain records.

5

Is CVE-2022-48711 part of a larger vulnerability group?

CVE-2022-48711 is part of a series of vulnerabilities in the Linux kernel addressing different aspects of network security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203