CVE-2026-98005

erofs: delimit inode_share cache key components

Published Sep 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

erofs: delimit inode_share cache key components

Previously, inode_share keys were encoded as follows:

fingerprint || domain_id

It would be better to have a separator between the fingerprint and domain
ID so that the fingerprint won't be parsed as part of a domain ID.

Change the key encoding as follows:

domain_id || '\0' || fingerprint

Since domain_id is a NUL-terminated string, this makes the in-memory key
indices unambiguous.

Analysis

AI-generated

Technical impact

In Linux kernel erofs, the cache key for inode_share entries was created by concatenating a fingerprint string directly with a domain identifier without any delimiter, resulting in an ambiguous key that could be misinterpreted when parsed. This ambiguity may lead to incorrect cache lookups or unintended memory corruption during key processing, potentially destabilizing the kernel. The weakness is rooted in improper handling of composite key components, matching CWE‑694. Based on the description, it is inferred that an attacker could manipulate the fingerprint to cause ambiguity in cache key parsing.

Affected Systems

The issue resides in the erofs module of the Linux kernel, affecting all kernel releases that predate the commit that added the "\0" separator between the domain ID and fingerprint. Therefore any Linux system running a kernel version before that change and that mounts erofs filesystems is potentially impacted. The vulnerability applies to all processor architectures supported by the kernel.

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score is less than 1%; the vulnerability is not present in the CISA KEV catalog. The lack of a publicly documented exploitation path and the need to mount or manipulate erofs images suggest that exploitation would require local or privileged access. Based on the description, it is inferred that the attack vector likely requires local or privileged access. Consequently the severity is considered low to moderate and the risk to environments that use erofs is primarily a source of kernel instability rather than a direct attack vector. Administrators should treat the bug as a stability issue and prioritize relevant kernel updates.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest stable release that contains the key encoding fix in erofs.
  • If an immediate kernel update cannot be applied, prevent the system from mounting erofs filesystems by removing or disabling the filesystem module or using mount options.
  • Enable kernel logging for erofs activity and review dmesg and syslog for any cache lookup or corruption related messages to detect abnormal behavior.

Generated by OpenCVE AI on October 1, 2026 at 01:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-694
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: erofs: delimit inode_share cache key components Previously, inode_share keys were encoded as follows: fingerprint || domain_id It would be better to have a separator between the fingerprint and domain ID so that the fingerprint won't be parsed as part of a domain ID. Change the key encoding as follows: domain_id || '\0' || fingerprint Since domain_id is a NUL-terminated string, this makes the in-memory key indices unambiguous.
Title erofs: delimit inode_share cache key components
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-694

    Use of Multiple Resources with Duplicate Identifier

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:12 AM
Reserved
Sep 25, 2026, 10:19 AM
Status
Received
Published
Sep 25, 2026, 11:17 AM
Modified
Oct 19, 2026, 10:17 AM
Severity
Moderate
Public date
Sep 25, 2026, 12:00 AM