CVE-2026-23224
Use-After-Free Vulnerability in Linux Kernel EROFS DirectIO Mounts
Publication date: 2026-02-18
Last updated on: 2026-04-02
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 6.19 (inc) to 6.19.1 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.18.11 (exc) |
| linux | linux_kernel | From 6.12 (inc) to 6.12.72 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Use-After-Free (UAF) issue in the Linux kernel's erofs filesystem when using file-backed mounts with the directio option enabled.
The problem occurs due to a race condition involving the submission and completion of bio requests during file read operations. Specifically, the bio is submitted and returns -EIOCBQUEUED, and when the asynchronous I/O completes, the kernel frees an I/O control block (iocb) structure prematurely.
As a result, the iocb's file pointer can become a dangling pointer, leading to a use-after-free scenario when the file is accessed later.
The fix introduced a reference count in the erofs_fileio_rq structure to ensure that the memory is only freed when it is safe to do so, preventing the UAF condition.
How can this vulnerability impact me? :
This vulnerability can cause system instability or crashes (kernel panics) when using the erofs filesystem with file-backed mounts and the directio option.
Because it is a use-after-free bug, it may potentially be exploited to execute arbitrary code or cause denial of service by crashing the system, depending on the attacker's capabilities and system configuration.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know