# CVE-2026-31465: writeback: don't block sync for filesystems with no data integrity guarantees

> 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 3, 2026-11-26)
- **Published:** 2026-04-22T13:53:55.614Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 83800f8ef358ea2fc9b1ae4986b83f2bc24be927; \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 5c24a13d8a0466ca0446e58309e51f2606520164; \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 76f9377cd2ab7a9220c25d33940d9ca20d368172
- Anyone running Linux 6.16

## Description

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

writeback: don't block sync for filesystems with no data integrity guarantees

Add a SB\_I\_NO\_DATA\_INTEGRITY superblock flag for filesystems that cannot
guarantee data persistence on sync (eg fuse). For superblocks with this
flag set, sync kicks off writeback of dirty inodes but does not wait
for the flusher threads to complete the writeback.

This replaces the per-inode AS\_NO\_DATA\_INTEGRITY mapping flag added in
commit f9a49aa302a0 ("fs/writeback: skip AS\_NO\_DATA\_INTEGRITY mappings
in wait\_sb\_inodes()"). The flag belongs at the superblock level because
data integrity is a filesystem-wide property, not a per-inode one.
Having this flag at the superblock level also allows us to skip having
to iterate every dirty inode in wait\_sb\_inodes() only to skip each inode
individually.

Prior to this commit, mappings with no data integrity guarantees skipped
waiting on writeback completion but still waited on the flusher threads
to finish initiating the writeback. Waiting on the flusher threads is
unnecessary. This commit kicks off writeback but does not wait on the
flusher threads. This change properly addresses a recent report \[1\] for
a suspend-to-RAM hang seen on fuse-overlayfs that was caused by waiting
on the flusher threads to finish:

Workqueue: pm\_fs\_sync pm\_fs\_sync\_work\_fn
Call Trace:
 \<TASK\>
 \_\_schedule+0x457/0x1720
 schedule+0x27/0xd0
 wb\_wait\_for\_completion+0x97/0xe0
 sync\_inodes\_sb+0xf8/0x2e0
 \_\_iterate\_supers+0xdc/0x160
 ksys\_sync+0x43/0xb0
 pm\_fs\_sync\_work\_fn+0x17/0xa0
 process\_one\_work+0x193/0x350
 worker\_thread+0x1a1/0x310
 kthread+0xfc/0x240
 ret\_from\_fork+0x243/0x280
 ret\_from\_fork\_asm+0x1a/0x30
 \</TASK\>

On fuse this is problematic because there are paths that may cause the
flusher thread to block (eg if systemd freezes the user session cgroups
first, which freezes the fuse daemon, before invoking the kernel
suspend. The kernel suspend triggers -\>write\_node() which on fuse issues
a synchronous setattr request, which cannot be processed since the
daemon is frozen. Or if the daemon is buggy and cannot properly complete
writeback, initiating writeback on a dirty folio already under writeback
leads to writeback\_get\_folio() -\> folio\_prepare\_writeback() -\>
unconditional wait on writeback to finish, which will cause a hang).
This commit restores fuse to its prior behavior before tmp folios were
removed, where sync was essentially a no-op.

\[1\] https://lore.kernel.org/linux-fsdevel/CAJnrk1a-asuvfrbKXbEwwDSctvemF+6zfhdnuzO65Pt8HsFSRw@mail.gmail.com/T/\#m632c4648e9cafc4239299887109ebd880ac6c5c1

## Affected and fixed versions

- Linux: \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 83800f8ef358ea2fc9b1ae4986b83f2bc24be927; \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 5c24a13d8a0466ca0446e58309e51f2606520164; \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 76f9377cd2ab7a9220c25d33940d9ca20d368172 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 76f9377cd2ab7a9220c25d33940d9ca20d368172 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-31465.md
Affected: Linux >= 0c58a97f919c24fe4245015f4375a39ff05665b6, < 83800f8ef358ea2fc9b1ae4986b83f2bc24be927; >= 0c58a97f919c24fe4245015f4375a39ff05665b6, < 5c24a13d8a0466ca0446e58309e51f2606520164; >= 0c58a97f919c24fe4245015f4375a39ff05665b6, < 76f9377cd2ab7a9220c25d33940d9ca20d368172; Linux 6.16
Fixed in: Linux 83800f8ef358ea2fc9b1ae4986b83f2bc24be927, Linux 5c24a13d8a0466ca0446e58309e51f2606520164, Linux 76f9377cd2ab7a9220c25d33940d9ca20d368172

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-31465 being exploited?

There is no confirmed exploitation: CVE-2026-31465 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-31465?

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

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

Linux \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 83800f8ef358ea2fc9b1ae4986b83f2bc24be927; \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 5c24a13d8a0466ca0446e58309e51f2606520164; \>= 0c58a97f919c24fe4245015f4375a39ff05665b6, \< 76f9377cd2ab7a9220c25d33940d9ca20d368172; Linux 6.16.

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

Yes. Fixed in Linux 83800f8ef358ea2fc9b1ae4986b83f2bc24be927, Linux 5c24a13d8a0466ca0446e58309e51f2606520164, Linux 76f9377cd2ab7a9220c25d33940d9ca20d368172. Upgrade Linux to 76f9377cd2ab7a9220c25d33940d9ca20d368172 or later.

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

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/83800f8ef358ea2fc9b1ae4986b83f2bc24be927>
- patch: <https://git.kernel.org/stable/c/5c24a13d8a0466ca0446e58309e51f2606520164>
- patch: <https://git.kernel.org/stable/c/76f9377cd2ab7a9220c25d33940d9ca20d368172>

## 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-31465>

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