CVE-2026-23224

Description

A flaw was found in the Linux kernel's erofs filesystem. A local user could exploit a Use-After-Free (UAF) vulnerability, which occurs due to a race condition when performing file-backed mounts with the 'directio' option. This flaw can lead to a kernel panic, resulting in a Denial of Service (DoS) for the system.

Statement

A use after free can occur in EROFS file backed mounts when the directio option is enabled. The read path allocates an erofs_fileio_rq that contains a bio and an embedded kiocb. The request is submitted through vfs_iocb_iter_read into the backing filesystem direct IO path. When direct IO completes asynchronously the completion callback erofs_fileio_ki_complete can run in the dio completion workqueue and free the request structure while the submit side still has execution paths that may access fields derived from the kiocb such as ki_filp. This race can result in a kernel NULL dereference or a use after free and can panic the kernel. For the CVSS the PR is L in a paranoid configuration because the affected configuration might be reachable in some environments through delegated mount capabilities or misconfiguration.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.67.87.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityLowHighHigh
Integrity ImpactLowHighHigh
Availability ImpactHighHighHigh

Vector

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

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

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

Frequently Asked Questions

Want to get errata notifications? Sign up here.