CVE-2026-80697: erofs: ensure valid f_path for page cache sharing

Published Aug 28, 2026
·
Updated

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

erofs: ensure valid fpath for page cache sharing

Previously, backing files for page cache sharing were set up with fpath left as NULL (only finode was valid). It worked, but a recent mincore fix relies on fpath.mnt and crashes (found by "erofs/028" on 7.2-rc4):

BUG: kernel NULL pointer dereference, address: 0000000000000018 #PF: supervisor read access in kernel mode #PF: errorcode(0x0000) - not-present page PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP PTI CPU: 3 UID: 0 PID: 675528 Comm: fincore Not tainted 7.2.0-rc4-00002-g[]-dirty #1 PREEMPT(lazy) Hardware name: Red Hat KVM, BIOS 1.16.0-4.al8 04/01/2014 RIP: 0010:dosysmincore+0xc0/0x2c0 ...

Specify valid paths using valid disconnected dentries together with erofsisharemnt instead of leaving fpath empty, so they are more like real backing files in a pseudo filesystem and standard backingfileopen() can be used directly.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 28, 2026
CVE Published
via MITRE·06:53 AM
Data Sourced
via MITRE·06:53 AM
Description
Data Sourced
via NVD·08:16 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the crash?

The affected system must use EROFS page cache sharing with backing files whose f_path was left NULL. A mincore operation can then dereference the missing mount path and cause a kernel NULL-pointer crash.

2

How can I identify a likely occurrence of this issue?

The reported failure is a kernel NULL pointer dereference in __do_sys_mincore, with the faulting address shown as 0x18. The issue was reproduced by the erofs/028 test using fincore.

3

What does the fix change?

The fix gives page-cache-sharing backing files valid paths, using disconnected dentries with erofs_ishare_mnt, rather than leaving f_path empty. It also allows standard backing_file_open() to be used directly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203