CVE-2022-49058: cifs: potential buffer overflow in handling symlinks
Vulnerability summary
CVE-2022-49058 is a critical (CVSS 9.1) vulnerability in linux. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 58.9% of scored vulnerabilities.
Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 7Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.87%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.87% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu106 products
- linuxAll versions (No fix recorded) | < 4.15.0-189.200 | < 5.4.0-122.138 | < 5.15.0-37.39
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1137.148 | < 5.4.0-1081.88 | < 5.15.0-1011.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 3e582749e742e662a8e9bb37cffac62dccaaa1e2 | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 1316c28569a80ab3596eeab05bf5e01991e7e739 | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < eb5f51756944735ac70cd8bb38637cc202e29c91 | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 22d658c6c5affed10c8907e67160cef0b6c92186 | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 4e166a41180be2f1e66bbb6d46448e80a9a5ec05 | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 9901b07ba42b39266b34a888e48d7306fd707bee | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 515e7ba11ef043d6febe69389949c8ef5f25e9d0 | ≥ c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131, < 64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304 | 2.6.37
- linux_kernel≥ 2.6.37, < 4.9.311 | ≥ 4.10, < 4.14.276 | ≥ 4.15, < 4.19.239 | ≥ 4.20, < 5.4.190 | ≥ 5.5, < 5.10.112 | ≥ 5.11, < 5.15.35 | ≥ 5.16, < 5.17.4 | 5.18:rc1 | 5.18:rc2
Debian1 product
- linux< 5.17.6-1
3 vendors · 109 products