PT-2025-7986 · Linux+7 · Linux Kernel+7
Harshit Mogalapalli
·
Published
2022-04-13
·
Updated
2025-09-29
·
CVE-2022-49058
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A potential buffer overflow issue has been identified in the Linux kernel, specifically in the handling of symlinks by the cifs module. The problem arises because the
link len value, which is obtained from sscanf(), is marked as untrusted by Smatch. This could lead to a buffer overflow when link len exceeds the size of the link str buffer. A check has been added to ensure link len does not exceed the size of the link str buffer.Recommendations
For the Linux kernel, apply the patch that adds a check to ensure
link len is not larger than the size of the link str buffer to prevent potential buffer overflow issues.Exploit
Fix
DoS
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse