CVE-2022-49058

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49058
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49058.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49058
Downstream
Related
Published
2025-02-26T07:00:43Z
Modified
2025-10-01T20:15:44Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

cifs: potential buffer overflow in handling symlinks

Smatch printed a warning: arch/x86/crypto/poly1305glue.c:198 poly1305updatearch() error: _memcpy() 'dctx->buf' too small (16 vs u32max)

It's caused because Smatch marks 'linklen' as untrusted since it comes from sscanf(). Add a check to ensure that 'linklen' is not larger than the size of the 'link_str' buffer.

References

Affected packages