CVE-2022-49058

Kernel memory corruption via unchecked symlink length

Published Feb 26, 2025 · Updated Aug 5, 2026

Buffer overflow in the Linux kernel CIFS client allows local users to corrupt kernel memory through a crafted symlink. The parse_mf_symlink routine parses an untrusted link_len with sscanf and passes the unchecked value to symlink_hash, which can read beyond the fixed link_str buffer. Exploitation requires access to a mounted CIFS share containing a malformed Minshall+French symlink; successful triggering can compromise kernel confidentiality, integrity, and availability.

CVSS severity7.8
High
EPSS probability0.87%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Buffer overflow in the Linux kernel CIFS client allows local users to corrupt kernel memory through a crafted symlink. The parse_mf_symlink routine parses an untrusted link_len with sscanf and passes the unchecked value to symlink_hash, which can read beyond the fixed link_str buffer. Exploitation requires access to a mounted CIFS share containing a malformed Minshall+French symlink; successful triggering can compromise kernel confidentiality, integrity, and availability.

The record

CVE
CVE-2022-49058
Published
Feb 26, 2025
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-120, T1203
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Feb 26, 2025CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2.6.37
  2. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <1316c28569a80ab3596eeab05bf5e01991e7e739
  3. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <22d658c6c5affed10c8907e67160cef0b6c92186
  4. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <3e582749e742e662a8e9bb37cffac62dccaaa1e2
  5. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <4e166a41180be2f1e66bbb6d46448e80a9a5ec05
  6. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <515e7ba11ef043d6febe69389949c8ef5f25e9d0
  7. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304
  8. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <9901b07ba42b39266b34a888e48d7306fd707bee
  9. Affected versionversion=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <eb5f51756944735ac70cd8bb38637cc202e29c91

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=2.6.37; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <1316c28569a80ab3596eeab05bf5e01991e7e739; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <22d658c6c5affed10c8907e67160cef0b6c92186; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <3e582749e742e662a8e9bb37cffac62dccaaa1e2; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <4e166a41180be2f1e66bbb6d46448e80a9a5ec05; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <515e7ba11ef043d6febe69389949c8ef5f25e9d0; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <64c4a37ac04eeb43c42d272f6e6c8c12bfcf4304; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <9901b07ba42b39266b34a888e48d7306fd707bee; version=c69c1b6eaea1b3e1eecf7ad2fba0208ac4a11131 <eb5f51756944735ac70cd8bb38637cc202e29c91

Published CVSS scores

7.8NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
6.1Amazon LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
T1203Exploitation for Client Execution

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo