Linux Kernel up to 6.1.1 HFS File Parser hfs_write_inode out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
2.5$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 6.1.1. It has been rated as critical. The affected element is the function hfs_write_inode of the component HFS File Parser. The manipulation leads to out-of-bounds. This vulnerability is uniquely identified as CVE-2022-50581. No exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in Linux Kernel up to 6.1.1. This issue affects the function hfs_write_inode of the component HFS File Parser. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: hfs: fix OOB Read in __hfs_brec_find Syzbot reported a OOB read bug: ================================================================== BUG: KASAN: slab-out-of-bounds in hfs_strcmp+0x117/0x190 fs/hfs/string.c:84 Read of size 1 at addr ffff88807eb62c4e by task kworker/u4:1/11 CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 print_address_description+0x74/0x340 mm/kasan/report.c:284 print_report+0x107/0x1f0 mm/kasan/report.c:395 kasan_report+0xcd/0x100 mm/kasan/report.c:495 hfs_strcmp+0x117/0x190 fs/hfs/string.c:84 __hfs_brec_find+0x213/0x5c0 fs/hfs/bfind.c:75 hfs_brec_find+0x276/0x520 fs/hfs/bfind.c:138 hfs_write_inode+0x34c/0xb40 fs/hfs/inode.c:462 write_inode fs/fs-writeback.c:1440 [inline] If the input inode of hfs_write_inode() is incorrect: struct inode struct hfs_inode_info struct hfs_cat_key struct hfs_name u8 len # len is greater than HFS_NAMELEN(31) which is the maximum length of an HFS filename OOB read occurred: hfs_write_inode() hfs_brec_find() __hfs_brec_find() hfs_cat_keycmp() hfs_strcmp() # OOB read occurred due to len is too large Fix this by adding a Check on len in hfs_write_inode() before calling hfs_brec_find().

The advisory is shared at git.kernel.org. The identification of this vulnerability is CVE-2022-50581 since 10/22/2025. The exploitation is known to be difficult. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 276864 (Linux Distros Unpatched Vulnerability : CVE-2022-50581), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16 or 6.1.2 eliminates this vulnerability. Applying the patch 8c40f2dbae603ef0bd21e87c63f54ec59fd88256/c886c10a6eddb99923b315f42bf63f448883ef9a/2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30/90103ccb6e60aa4efe48993d23d6a528472f2233/4fd3a11804c8877ff11fec59c5c53f1635331e3e/367296925c7625c3969d2a78d7a3e1dee161beb5/e9e692917c6e10a7066c7a6d092dcdc3d4e329f3/bfc9d8f27f89717431a6aecce42ae230b437433f/8d824e69d9f3fa3121b2dda25053bae71e2460d2 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (276864) and CERT Bund (WID-SEC-2025-2394). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Red Hat Enterprise Linux
  • SUSE Linux
  • Oracle Linux
  • Open Source Linux Kernel
  • Dell NetWorker

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 2.6
VulDB Meta Temp Score: 2.5

VulDB Base Score: 2.6
VulDB Temp Score: 2.5
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 276864
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-50581

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 4.9.337/4.14.303/4.19.270/5.4.229/5.10.163/5.15.86/6.0.16/6.1.2
Patch: 8c40f2dbae603ef0bd21e87c63f54ec59fd88256/c886c10a6eddb99923b315f42bf63f448883ef9a/2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30/90103ccb6e60aa4efe48993d23d6a528472f2233/4fd3a11804c8877ff11fec59c5c53f1635331e3e/367296925c7625c3969d2a78d7a3e1dee161beb5/e9e692917c6e10a7066c7a6d092dcdc3d4e329f3/bfc9d8f27f89717431a6aecce42ae230b437433f/8d824e69d9f3fa3121b2dda25053bae71e2460d2

Timelineinfo

10/22/2025 Advisory disclosed
10/22/2025 +0 days CVE reserved
10/22/2025 +0 days VulDB entry created
02/28/2026 +129 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-50581 (🔒)
GCVE (CVE): GCVE-0-2022-50581
GCVE (VulDB): GCVE-100-329357
CERT Bund: WID-SEC-2025-2394 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 10/22/2025 17:51
Updated: 02/28/2026 08:30
Changes: 10/22/2025 17:51 (59), 10/24/2025 05:38 (7), 11/28/2025 05:40 (2), 01/02/2026 05:01 (1), 02/28/2026 08:30 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!