CVE-2022-49058CWE-120

CVE-2022-49058

Critical · published February 26, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
58.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

cifs: potential buffer overflow in handling symlinks

Smatch printed a warning:

arch/x86/crypto/poly1305_glue.c:198 poly1305_update_arch() error:

__memcpy() 'dctx->buf' too small (16 vs u32max)

It's caused because Smatch marks 'link_len' as untrusted since it comes

from sscanf(). Add a check to ensure that 'link_len' is not larger than

the size of the 'link_str' buffer.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00874 · 58.5th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2025-02-26T12:00Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.37, < 4.9.3114.9.311
linux/linux_kernel≥ 4.10, < 4.14.2764.14.276
linux/linux_kernel≥ 4.15, < 4.19.2394.19.239
linux/linux_kernel≥ 4.20, < 5.4.1905.4.190
linux/linux_kernel≥ 5.5, < 5.10.1125.10.112
linux/linux_kernel≥ 5.11, < 5.15.355.15.35
linux/linux_kernel≥ 5.16, < 5.17.45.17.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 26 FEB 01:54Z
    cifs: potential buffer overflow in handling symlinks
    cvelistv5