CVE-2022-50581

Kernel memory disclosure via unchecked HFS name length

Published Oct 22, 2025 · Updated Oct 22, 2025

Out-of-bounds read in the Linux HFS driver allows local users to disclose kernel memory or crash the host using a crafted HFS image. During inode writeback, hfs_write_inode passes an HFS catalog-name length above the 31-byte limit to hfs_brec_find, and hfs_strcmp reads beyond the name buffer. Triggering the flaw requires mounting the image through CAP_SYS_ADMIN or equivalent mount assistance; writeback can expose adjacent slab data or panic the kernel.

CVSS severity7.8
High
EPSS probability0.17%
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 read in the Linux HFS driver allows local users to disclose kernel memory or crash the host using a crafted HFS image. During inode writeback, hfs_write_inode passes an HFS catalog-name length above the 31-byte limit to hfs_brec_find, and hfs_strcmp reads beyond the name buffer. Triggering the flaw requires mounting the image through CAP_SYS_ADMIN or equivalent mount assistance; writeback can expose adjacent slab data or panic the kernel.

The record

CVE
CVE-2022-50581
Published
Oct 22, 2025
Updated
Oct 22, 2025
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1499.004
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Oct 22, 2025CVE publishedPublication date reported by the CVE source.
  2. Oct 22, 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30
  2. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <367296925c7625c3969d2a78d7a3e1dee161beb5
  3. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4fd3a11804c8877ff11fec59c5c53f1635331e3e
  4. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8c40f2dbae603ef0bd21e87c63f54ec59fd88256
  5. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8d824e69d9f3fa3121b2dda25053bae71e2460d2
  6. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <90103ccb6e60aa4efe48993d23d6a528472f2233
  7. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bfc9d8f27f89717431a6aecce42ae230b437433f
  8. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c886c10a6eddb99923b315f42bf63f448883ef9a
  9. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e9e692917c6e10a7066c7a6d092dcdc3d4e329f3

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <367296925c7625c3969d2a78d7a3e1dee161beb5; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4fd3a11804c8877ff11fec59c5c53f1635331e3e; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8c40f2dbae603ef0bd21e87c63f54ec59fd88256; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8d824e69d9f3fa3121b2dda25053bae71e2460d2; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <90103ccb6e60aa4efe48993d23d6a528472f2233; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bfc9d8f27f89717431a6aecce42ae230b437433f; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c886c10a6eddb99923b315f42bf63f448883ef9a; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e9e692917c6e10a7066c7a6d092dcdc3d4e329f3

Published CVSS scores

7.8LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

T1499.004Application or System Exploitation

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