CVE-2022-50747

Kernel memory corruption via unchecked HFS filename conversion

Published Dec 24, 2025 · Updated Dec 24, 2025

Out-of-bounds write in the Linux kernel HFS driver allows local users to corrupt kernel memory through a crafted filename lookup. In fs/hfs/trans.c, hfs_asc2mac keeps converting an overlong name after the destination reaches HFS_NAMELEN because its loop checks source length but not remaining destination length. Reachability requires local access to an HFS mount with an I/O character set; the overwrite can crash the kernel or corrupt adjacent heap objects.

CVSS severity7.8
High
EPSS probability0.21%
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

Out-of-bounds write in the Linux kernel HFS driver allows local users to corrupt kernel memory through a crafted filename lookup. In fs/hfs/trans.c, hfs_asc2mac keeps converting an overlong name after the destination reaches HFS_NAMELEN because its loop checks source length but not remaining destination length. Reachability requires local access to an HFS mount with an I/O character set; the overwrite can crash the kernel or corrupt adjacent heap objects.

The record

CVE
CVE-2022-50747
Published
Dec 24, 2025
Updated
Dec 24, 2025
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-787, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Dec 24, 2025CVE publishedPublication date reported by the CVE source.
  2. Dec 24, 2025Record 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.14
  2. Affected versionversion=328b9227865026268261a24a97a578907b280415 <6a95b17e4d4cd2d8278559f930b447f8c9c8cff9
  3. Affected versionversion=328b9227865026268261a24a97a578907b280415 <7af9cb8cbb81308ce4b06cc7164267faccbf75dd
  4. Affected versionversion=328b9227865026268261a24a97a578907b280415 <8399318b13dc9e0569dee07ba2994098926d4fb2
  5. Affected versionversion=328b9227865026268261a24a97a578907b280415 <88579c158e026860c61c4192531e8bc42f4bc642
  6. Affected versionversion=328b9227865026268261a24a97a578907b280415 <95040de81c629cd8d3c6ab5b50a8bd5088068303
  7. Affected versionversion=328b9227865026268261a24a97a578907b280415 <ae21b03f904736eb2aa9bd119d2a14e741f1681f
  8. Affected versionversion=328b9227865026268261a24a97a578907b280415 <ba8f0ca386dd15acf5a93cbac932392c7818eab4
  9. Affected versionversion=328b9227865026268261a24a97a578907b280415 <c53ed55cb275344086e32a7080a6b19cb183650b
  10. Affected versionversion=328b9227865026268261a24a97a578907b280415 <cff9fefdfbf5744afbb6d70bff2b49ec2065d23d

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=2.6.14; version=328b9227865026268261a24a97a578907b280415 <6a95b17e4d4cd2d8278559f930b447f8c9c8cff9; version=328b9227865026268261a24a97a578907b280415 <7af9cb8cbb81308ce4b06cc7164267faccbf75dd; version=328b9227865026268261a24a97a578907b280415 <8399318b13dc9e0569dee07ba2994098926d4fb2; version=328b9227865026268261a24a97a578907b280415 <88579c158e026860c61c4192531e8bc42f4bc642; version=328b9227865026268261a24a97a578907b280415 <95040de81c629cd8d3c6ab5b50a8bd5088068303; version=328b9227865026268261a24a97a578907b280415 <ae21b03f904736eb2aa9bd119d2a14e741f1681f; version=328b9227865026268261a24a97a578907b280415 <ba8f0ca386dd15acf5a93cbac932392c7818eab4; version=328b9227865026268261a24a97a578907b280415 <c53ed55cb275344086e32a7080a6b19cb183650b; version=328b9227865026268261a24a97a578907b280415 <cff9fefdfbf5744afbb6d70bff2b49ec2065d23d

Published CVSS scores

7.8Linux Kernel CVE TeamCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.3CanonicalCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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-787Out-of-bounds Write
T1068Exploitation for Privilege Escalation

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