# CVE-2026-46169: hfsplus: fix uninit-value by validating catalog record size

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2026-05-28T09:36:24.361Z
- **Modified:** 2026-06-19T13:16:34.600Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3003dbf62d151d47a6b90f71655292a51a05f244; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8be69532e399eec9d9d990f6958b4ff2383b19b3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3bc337697c66db2e2a4a94f0509c282c1a014b86; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 61a790974ff7e533acbceca06c7d02f22bf96d4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c91bbd6193c70a02c50c22e0fb1f60c3c5bd053a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a420904450962a562ad053a41a53a27755021b48; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 93e8d613f1a01b6637f387cc93f184cf7fb881d6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b6b592275aeff184aa82fcf6abccd833fb71b393
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

hfsplus: fix uninit-value by validating catalog record size

Syzbot reported a KMSAN uninit-value issue in hfsplus\_strcasecmp(). The
root cause is that hfs\_brec\_read() doesn't validate that the on-disk
record size matches the expected size for the record type being read.

When mounting a corrupted filesystem, hfs\_brec\_read() may read less data
than expected. For example, when reading a catalog thread record, the
debug output showed:

  HFSPLUS\_BREC\_READ: rec\_len=520, fd-\>entrylength=26
  HFSPLUS\_BREC\_READ: WARNING - entrylength (26) \< rec\_len (520) - PARTIAL READ!

hfs\_brec\_read() only validates that entrylength is not greater than the
buffer size, but doesn't check if it's less than expected. It successfully
reads 26 bytes into a 520-byte structure and returns success, leaving 494
bytes uninitialized.

This uninitialized data in tmp.thread.nodeName then gets copied by
hfsplus\_cat\_build\_key\_uni() and used by hfsplus\_strcasecmp(), triggering
the KMSAN warning when the uninitialized bytes are used as array indices
in case\_fold().

Fix by introducing hfsplus\_brec\_read\_cat() wrapper that:
1. Calls hfs\_brec\_read() to read the data
2. Validates the record size based on the type field:
   - Fixed size for folder and file records
   - Variable size for thread records (depends on string length)
3. Returns -EIO if size doesn't match expected

For thread records, check against HFSPLUS\_MIN\_THREAD\_SZ before reading
nodeName.length to avoid reading uninitialized data at call sites that
don't zero-initialize the entry structure.

Also initialize the tmp variable in hfsplus\_find\_cat() as defensive
programming to ensure no uninitialized data even if validation is
bypassed.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3003dbf62d151d47a6b90f71655292a51a05f244; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8be69532e399eec9d9d990f6958b4ff2383b19b3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3bc337697c66db2e2a4a94f0509c282c1a014b86; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 61a790974ff7e533acbceca06c7d02f22bf96d4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c91bbd6193c70a02c50c22e0fb1f60c3c5bd053a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a420904450962a562ad053a41a53a27755021b48; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 93e8d613f1a01b6637f387cc93f184cf7fb881d6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b6b592275aeff184aa82fcf6abccd833fb71b393 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46169. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46169.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3003dbf62d151d47a6b90f71655292a51a05f244; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8be69532e399eec9d9d990f6958b4ff2383b19b3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3bc337697c66db2e2a4a94f0509c282c1a014b86; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 3003dbf62d151d47a6b90f71655292a51a05f244, Linux 8be69532e399eec9d9d990f6958b4ff2383b19b3, Linux 3bc337697c66db2e2a4a94f0509c282c1a014b86, Linux 61a790974ff7e533acbceca06c7d02f22bf96d4d, Linux 93e8d613f1a01b6637f387cc93f184cf7fb881d6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46169 being exploited?

There is no confirmed exploitation: CVE-2026-46169 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46169?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46169?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3003dbf62d151d47a6b90f71655292a51a05f244; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8be69532e399eec9d9d990f6958b4ff2383b19b3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3bc337697c66db2e2a4a94f0509c282c1a014b86; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 61a790974ff7e533acbceca06c7d02f22bf96d4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c91bbd6193c70a02c50c22e0fb1f60c3c5bd053a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a420904450962a562ad053a41a53a27755021b48; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 93e8d613f1a01b6637f387cc93f184cf7fb881d6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b6b592275aeff184aa82fcf6abccd833fb71b393; Linux 2.6.12.

### Is there a fix for CVE-2026-46169?

Yes. Fixed in Linux 3003dbf62d151d47a6b90f71655292a51a05f244, Linux 8be69532e399eec9d9d990f6958b4ff2383b19b3, Linux 3bc337697c66db2e2a4a94f0509c282c1a014b86, Linux 61a790974ff7e533acbceca06c7d02f22bf96d4d, Linux 93e8d613f1a01b6637f387cc93f184cf7fb881d6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-46169?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/61a790974ff7e533acbceca06c7d02f22bf96d4d>
- patch: <https://git.kernel.org/stable/c/c91bbd6193c70a02c50c22e0fb1f60c3c5bd053a>
- patch: <https://git.kernel.org/stable/c/a420904450962a562ad053a41a53a27755021b48>
- patch: <https://git.kernel.org/stable/c/93e8d613f1a01b6637f387cc93f184cf7fb881d6>
- patch: <https://git.kernel.org/stable/c/b6b592275aeff184aa82fcf6abccd833fb71b393>
- other: <https://git.kernel.org/stable/c/3003dbf62d151d47a6b90f71655292a51a05f244>
- other: <https://git.kernel.org/stable/c/8be69532e399eec9d9d990f6958b4ff2383b19b3>
- other: <https://git.kernel.org/stable/c/3bc337697c66db2e2a4a94f0509c282c1a014b86>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46169>

HTML: <https://flawdb.com/CVE-2026-46169> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46169>
