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

VectorAV: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

ALSA-2025_16880
CVE-2022-49207
RHSA-2023:2458
RHSA-2023_2458
SUSE-SU-2025:1176-1
SUSE-SU-2025:1241-1
SUSE-SU-2025_1241-1

Affected Products

Astra Linux
Linux Kernel
Red Hat
Suse