CVE-2022-48711

Source
https://cve.org/CVERecord?id=CVE-2022-48711
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48711.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48711
Downstream
Related
Published
2024-06-20T11:13:06.050Z
Modified
2026-03-13T05:40:28.873933Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
tipc: improve size validations for received domain records
Details

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 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 MAXMONDOMAIN, something that may otherwise lead to a stack overflow.

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48711.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
35c55c9877f8de0ab129fa1a309271d0ecc868b9
Fixed
175db196e45d6f0e6047eccd09c8ba55465eb131
Fixed
fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d
Fixed
f1af11edd08dd8376f7a84487cbb0ea8203e3a1d
Fixed
d692e3406e052dbf9f6d9da0cba36cb763272529
Fixed
3c7e5943553594f68bbc070683db6bb6f6e9e78e
Fixed
1f1788616157b0222b0c2153828b475d95e374a7
Fixed
59ff7514f8c56f166aadca49bcecfa028e0ad50f
Fixed
9aa422ad326634b76309e8ff342c246800621216

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48711.json"