CVE-2022-49058cifs: potential buffer overflow in handling symlinks
- 9.1CriticalCVSS base score
- 0.87%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.87% · top 40% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Affected products
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 3e582749e742e662a8e9bb37cffac62dccaaa1e2
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 1316c28569a80ab3596eeab05bf5e01991e7e739
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < eb5f51756944735ac70cd8bb38637cc202e29c91
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 22d658c6c5affed10c8907e67160cef0b6c92186
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 4e166a41180be2f1e66bbb6d46448e80a9a5ec05
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 9901b07ba42b39266b34a888e48d7306fd707bee
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 515e7ba11ef043d6febe69389949c8ef5f25e9d0
- affected c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 – < 64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304
- affected 2.6.37
- unaffected < 2.6.37
- unaffected 4.9.311 – ≤ 4.9.*
- unaffected 4.14.276 – ≤ 4.14.*
- unaffected 4.19.239 – ≤ 4.19.*
- unaffected 5.4.190 – ≤ 5.4.*
- unaffected 5.10.112 – ≤ 5.10.*
- unaffected 5.15.35 – ≤ 5.15.*
- unaffected 5.17.4 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References
References8
- https://git.kernel.org/stable/c/3e582749e742e662a8e9bb37cffac62dccaaa1e2 (opens in a new tab)
- https://git.kernel.org/stable/c/1316c28569a80ab3596eeab05bf5e01991e7e739 (opens in a new tab)
- https://git.kernel.org/stable/c/eb5f51756944735ac70cd8bb38637cc202e29c91 (opens in a new tab)
- https://git.kernel.org/stable/c/22d658c6c5affed10c8907e67160cef0b6c92186 (opens in a new tab)
- https://git.kernel.org/stable/c/4e166a41180be2f1e66bbb6d46448e80a9a5ec05 (opens in a new tab)
- https://git.kernel.org/stable/c/9901b07ba42b39266b34a888e48d7306fd707bee (opens in a new tab)
- https://git.kernel.org/stable/c/515e7ba11ef043d6febe69389949c8ef5f25e9d0 (opens in a new tab)
- https://git.kernel.org/stable/c/64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55146 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-49058)Record last updated .