{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-49058","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T01:49:39.243Z","datePublished":"2025-02-26T01:54:29.195Z","dateUpdated":"2025-10-01T19:57:06.701Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T08:28:50.644Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: potential buffer overflow in handling symlinks\n\nSmatch printed a warning:\n\tarch/x86/crypto/poly1305_glue.c:198 poly1305_update_arch() error:\n\t__memcpy() 'dctx->buf' too small (16 vs u32max)\n\nIt's caused because Smatch marks 'link_len' as untrusted since it comes\nfrom sscanf(). Add a check to ensure that 'link_len' is not larger than\nthe size of the 'link_str' buffer."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/cifs/link.c"],"versions":[{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"3e582749e742e662a8e9bb37cffac62dccaaa1e2","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"1316c28569a80ab3596eeab05bf5e01991e7e739","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"eb5f51756944735ac70cd8bb38637cc202e29c91","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"22d658c6c5affed10c8907e67160cef0b6c92186","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"4e166a41180be2f1e66bbb6d46448e80a9a5ec05","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"9901b07ba42b39266b34a888e48d7306fd707bee","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"515e7ba11ef043d6febe69389949c8ef5f25e9d0","status":"affected","versionType":"git"},{"version":"c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131","lessThan":"64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/cifs/link.c"],"versions":[{"version":"2.6.37","status":"affected"},{"version":"0","lessThan":"2.6.37","status":"unaffected","versionType":"semver"},{"version":"4.9.311","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.276","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.239","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.190","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.112","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.35","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.4","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"4.9.311"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"4.14.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"4.19.239"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.4.190"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.10.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.15.35"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.17.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/3e582749e742e662a8e9bb37cffac62dccaaa1e2"},{"url":"https://git.kernel.org/stable/c/1316c28569a80ab3596eeab05bf5e01991e7e739"},{"url":"https://git.kernel.org/stable/c/eb5f51756944735ac70cd8bb38637cc202e29c91"},{"url":"https://git.kernel.org/stable/c/22d658c6c5affed10c8907e67160cef0b6c92186"},{"url":"https://git.kernel.org/stable/c/4e166a41180be2f1e66bbb6d46448e80a9a5ec05"},{"url":"https://git.kernel.org/stable/c/9901b07ba42b39266b34a888e48d7306fd707bee"},{"url":"https://git.kernel.org/stable/c/515e7ba11ef043d6febe69389949c8ef5f25e9d0"},{"url":"https://git.kernel.org/stable/c/64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304"}],"title":"cifs: potential buffer overflow in handling symlinks","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49058","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-10-01T19:50:01.997451Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-120","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T19:57:06.701Z"}}]}}