CVE-2022-50747
Out-of-Bounds Write in Linux Kernel HFS Filename Handling
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an out-of-bounds (OOB) write bug in the Linux kernel's HFS filesystem code, specifically in the function hfs_asc2mac. It occurs when the input length is much larger than the maximum allowed HFS filename length (31 characters). In this case, the function writes beyond the boundary of the destination buffer, causing a memory corruption issue. The bug was fixed by adding a check on the destination length before writing to prevent the OOB write.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption in the Linux kernel when handling HFS filesystem filenames that exceed the maximum length. Such memory corruption could potentially be exploited to cause system crashes, data corruption, or escalation of privileges, impacting system stability and security.