PT-2024-11806 · Linux+3 · Linux Kernel+3
Vlad Buslov
·
Published
2022-02-07
·
Updated
2025-01-08
·
CVE-2022-48809
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
The issue is a memory leak that occurs when uncloning an skb dst and its associated metadata in the Linux kernel. A new dst+metadata is allocated and later replaces the old one in the skb, which is helpful to have a non-shared dst+metadata attached to a specific skb. However, the uncloned dst+metadata is initialized with a refcount of 1, which is increased to 2 before attaching it to the skb. When tun dst unclone returns, the dst+metadata is only referenced from a single place (the skb) while its refcount is 2. Its refcount will never drop to 0 (when the skb is consumed), leading to a memory leak. The fix involves removing the call to dst hold in tun dst unclone, as the dst+metadata refcount is already 1.
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 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Os
Suse