PT-2025-8135 · Linux+3 · Linux Kernel+3
Wang Yufen
·
Published
2023-05-09
·
Updated
2025-09-29
·
CVE-2022-49207
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A memory leak issue has been identified in the Linux kernel, specifically in the bpf and sockmap components. The problem occurs when the
tcp bpf sendmsg function is running during a tear-down operation, potentially causing data to be enqueued on the ingress message queue while the tear-down process attempts to free it. This can lead to memory leaks and warnings, such as WARNING: CPU: 0 PID: 9202 at net/core/stream.c:205 sk stream kill queues+0xc8/0xe0 and WARNING: CPU: 0 PID: 531 at net/ipv4/af inet.c:154 inet sock destruct+0x175/0x1b0. The issue involves functions like tcp bpf sendmsg(), tcp bpf send verdict(), bpf tcp ingress(), and sk psock queue msg(), as well as variables such as psock and SK PSOCK TX ENABLED. To fix the issue, sk msg free() and kfree() are used.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Hat
Suse