CVE-2022-49058
CRITICAL 9.1 ALL-YEARSIn 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.
Severe if exploited (CVSS 9.1), but no confirmed exploitation. Patch on a normal cadence.
Exploitation likelihood
0.9%chance of exploitation in 30 days · 59th percentile
Impact if exploited
9.1CVSS 3.1 · CRITICAL · CNA
- ConfidentialityHigh
- IntegrityNone
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References and research data (JSON)
Vendor product assessments
Showing 32 of 948 vendor product statements; 916 omitted. Read the full vendor advisory.
bpftool-debuginfo-0:5.14.0-70.141.1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0?arch=aarch64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-debuginfo-common-x86_64-0:5.14.0-284.11.1.el9_2.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-debuginfo-common-ppc64le-0:4.18.0-553.62.1.el8_10.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_10?arch=ppc64le
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-debug-core-0:4.18.0-305.165.1.el8_4.x86_64 as a component of Red Hat Enterprise Linux BaseOS AUS (v.8.4) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_4?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-abi-stablelists-0:4.18.0-372.153.1.el8_6.noarch as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.6) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_6?arch=noarch
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
python3-perf-debuginfo-0:4.18.0-372.153.1.el8_6.s390x as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.6) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_6?arch=s390x
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-debug-0:4.18.0-477.104.1.el8_8.x86_64 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_8?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-tools-libs-0:5.14.0-70.141.1.el9_0.aarch64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0?arch=aarch64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-debuginfo-common-s390x-0:5.14.0-284.11.1.el9_2.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2?arch=s390x
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-debuginfo-0:5.14.0-284.11.1.el9_2.s390x as a component of Red Hat Enterprise Linux CRB (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2?arch=s390x
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel-rt-modules-extra-0:5.14.0-70.141.1.rt21.213.el9_0.x86_64 as a component of Red Hat Enterprise Linux Real Time E4S (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect. Vendor guidance
kernel as a component of Red Hat Enterprise Linux 6 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel
- no fix planned: Out of support scope
kernel-doc as a component of Red Hat Enterprise Linux 6 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-doc
- no fix planned: Out of support scope
python-perf as a component of Red Hat Enterprise Linux 6 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python-perf
- no fix planned: Out of support scope
kernel-debug-devel as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-debug-devel
- no fix planned: Out of support scope
kernel-rt as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-rt
- no fix planned: Out of support scope
kernel-rt-trace as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-rt-trace
- no fix planned: Out of support scope
kernel-tools-libs-devel as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-tools-libs-devel
- no fix planned: Out of support scope
kernel-rt-debug as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-rt-debug
- none available: Affected
kernel-rt-debug-modules-core as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-rt-debug-modules-core
- none available: Affected
kernel-rt-modules as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-rt-modules
- none available: Affected
kernel-rt.src as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/kernel-rt?arch=src
- none available: Affected
kernel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-64k-debug-modules-core as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-debug-modules-core
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-debug as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-devel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-devel
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-rt-64k as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-rt-64k-modules as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-modules
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-rt-debug-modules as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-debug-modules
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-tools as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-tools
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00kernel-zfcpdump-modules as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-zfcpdump-modules
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00rv as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rv
Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Linux | Linux Kernel | ≥ 2.6.37 and < 4.9.311 |
| Linux | Linux Kernel | ≥ 4.10 and < 4.14.276 |
| Linux | Linux Kernel | ≥ 4.15 and < 4.19.239 |
| Linux | Linux Kernel | ≥ 4.20 and < 5.4.190 |
| Linux | Linux Kernel | ≥ 5.5 and < 5.10.112 |
| Linux | Linux Kernel | ≥ 5.11 and < 5.15.35 |
| Linux | Linux Kernel | ≥ 5.16 and < 5.17.4 |
| Linux | Linux Kernel | 5.18 |
| Linux | Linux Kernel | 5.18 |
All CVSS metrics
- CRITICAL 9.1 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - HIGH 7.8 v3.1 · ADP Primary
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CRITICAL 9.1 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - HIGH 7.8 v3.1 · NVD Primary
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://git.kernel.org/stable/c/3e582749e742e662a8e9bb37cffac62dccaaa1e2 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/1316c28569a80ab3596eeab05bf5e01991e7e739 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/eb5f51756944735ac70cd8bb38637cc202e29c91 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/22d658c6c5affed10c8907e67160cef0b6c92186 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/4e166a41180be2f1e66bbb6d46448e80a9a5ec05 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/9901b07ba42b39266b34a888e48d7306fd707bee CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/515e7ba11ef043d6febe69389949c8ef5f25e9d0 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710 - https://git.kernel.org/stable/c/64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304 CVE record · Linux · Updated 2026-08-05T08:53:40.101Z
NVD · CVE-2022-49058 · Updated 2026-08-04T10:17:32.710
Advisories
- https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49058.json Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55146 EUVD · EUVD-2022-55146
Technical & other
- https://access.redhat.com/security/cve/CVE-2022-49058 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2348254 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://www.cve.org/CVERecord?id=CVE-2022-49058 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-49058 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://lore.kernel.org/linux-cve-announce/2025022653-CVE-2022-49058-5df2@gregkh/T Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:13030 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2023:2458 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:11298 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:12238 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:11570 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:13061 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:13029 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:12623 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
- https://access.redhat.com/errata/RHSA-2025:11299 Red Hat · CVE-2022-49058 · Updated 2026-08-04T19:44:51+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS