CVE-2022-49058
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 5.17.6-1 |
| sid | Fixed | 5.17.6-1 |
| forky | Fixed | 5.17.6-1 |
| bullseye | Fixed | 5.10.113-1 |
| bookworm | Fixed | 5.17.6-1 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
References
- https://access.redhat.com/errata/RHSA-2023:2458
- https://errata.rockylinux.org/RLSA-2025:11299
- https://errata.rockylinux.org/RLSA-2025:11298
- https://www.suse.com/security/cve/CVE-2022-49058.html
- https://security-tracker.debian.org/tracker/CVE-2022-49058
- https://access.redhat.com/errata/RHSA-2025:11298
- https://bugzilla.redhat.com/2348254
- https://bugzilla.redhat.com/2348513
- https://bugzilla.redhat.com/2348599
- https://bugzilla.redhat.com/2356917
- https://bugzilla.redhat.com/2357142
- https://bugzilla.redhat.com/2363268
- https://bugzilla.redhat.com/2363305
- https://bugzilla.redhat.com/2363378
- https://errata.almalinux.org/8/ALSA-2025-11298.html
- https://access.redhat.com/errata/RHSA-2025:11299
- https://errata.almalinux.org/8/ALSA-2025-11299.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.