Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2022-50581: hfs: fix OOB Read in __hfs_brec_find

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.18% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30, 367296925c7625c3969d2a78d7a3e1dee161beb5, 4fd3a11804c8877ff11fec59c5c53f1635331e3e.

Low priority for now. Upgrade to Linux Linux 2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30, 367296925c7625c3969d2a78d7a3e1dee161beb5, 4fd3a11804c8877ff11fec59c5c53f1635331e3e or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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: <TASK> __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().

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Oct 22, 2025
Updated
Aug 5, 2026
EPSS
0.1% · 7th percentile
CWE
—

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

CNA vs NVD score

NVD
—
CNA · Linux
7.8
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-50581

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.12affected
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 8c40f2dbae603ef0bd21e87c63f54ec59fd88256affected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before c886c10a6eddb99923b315f42bf63f448883ef9aaffected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30affected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 90103ccb6e60aa4efe48993d23d6a528472f2233affected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 4fd3a11804c8877ff11fec59c5c53f1635331e3eaffected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 367296925c7625c3969d2a78d7a3e1dee161beb5affected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before e9e692917c6e10a7066c7a6d092dcdc3d4e329f3affected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before bfc9d8f27f89717431a6aecce42ae230b437433faffected · git
    • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 8d824e69d9f3fa3121b2dda25053bae71e2460d2affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.4-16.1.4-1

Other highest-scoring records for the same primary product.

  • CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation
    40Plan
  • CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment
    40Plan
  • CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()
    40Plan

Published before and after this one in the same product

  • ← EarlierCVE-2022-50579Oct 22, 2025 · arm64: ftrace: fix module PLTs with mcount
    0Monitor
  • ← EarlierCVE-2022-50580Oct 22, 2025 · blk-throttle: prevent overflow while calculating wait time
    0Monitor
  • Later →CVE-2022-50582Oct 22, 2025 · regulator: core: Prevent integer underflow
    0Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30Vendor (CNA)
Linux Linux367296925c7625c3969d2a78d7a3e1dee161beb5Vendor (CNA)
Linux Linux4fd3a11804c8877ff11fec59c5c53f1635331e3eVendor (CNA)
Linux Linux8c40f2dbae603ef0bd21e87c63f54ec59fd88256Vendor (CNA)
Linux Linux8d824e69d9f3fa3121b2dda25053bae71e2460d2Vendor (CNA)
Linux Linux90103ccb6e60aa4efe48993d23d6a528472f2233Vendor (CNA)
Linux Linuxbfc9d8f27f89717431a6aecce42ae230b437433fVendor (CNA)
Linux Linuxc886c10a6eddb99923b315f42bf63f448883ef9aVendor (CNA)
Linux Linuxe9e692917c6e10a7066c7a6d092dcdc3d4e329f3Vendor (CNA)
debian:linux6.1.4-1 · Debian:12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records