# CVE-2026-80806: ext4: don't enable DAX on new encrypted files

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-04T15:13:20.282Z
- **Modified:** 2026-10-19T09:17:15.243Z

## Who should check

- Anyone running Linux \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< add98959b220935b243170214c787bc03044a44d; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< f53b325068bca0b238c3e0d2eb7de9b1f2268cab; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< a13f61ba9b2a7a4ff1f140949ccfad23c5313757; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< ed1cd834da65db127f1c30ff67e78f14825a06c1; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 458776af0061afec1014cb3cd0061e282e482e83; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 3392391b363a63ebb531d45318a729b1c998565b; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< e27bae352158c007143d5bb50f3af33a177c0a37; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< da32af420d6d466e247c43ac0b829edeac7ae0ad
- Anyone running Linux 5.8

## Description

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

ext4: don't enable DAX on new encrypted files

Currently, when a new encrypted regular file is created, the call to
ext4\_set\_inode\_flags(inode, init=true) in \_\_ext4\_new\_inode() is made
before EXT4\_INODE\_ENCRYPT is set.  As a result, it can set S\_DAX if the
filesystem is mounted with "-o dax=always".

EXT4\_INODE\_ENCRYPT then actually gets set a bit later in
\_\_ext4\_new\_inode(), when it calls fscrypt\_set\_context() which calls
ext4\_set\_context().  ext4\_set\_context() sets EXT4\_INODE\_ENCRYPT and
calls ext4\_set\_inode\_flags(inode, init=false) to set S\_ENCRYPTED too.

This was intended to clear S\_DAX as well.  However, this was broken by
commit 043546e46dc7 ("fs/ext4: Only change S\_DAX on inode load").  This
causes data written to the file to bypass encryption, also causing
xfstests failures such as generic/548 (when "-o dax=always" is used).

Fix this by simplifying the flow by making \_\_ext4\_new\_inode() set
EXT4\_INODE\_ENCRYPT earlier.  This makes it take effect in
ext4\_set\_inode\_flags(inode, init=true), making S\_DAX never be set.

Similarly, make EXT4\_STATE\_MAY\_INLINE\_DATA never be set in the first
place on new encrypted inodes.  Then it doesn't need to be cleared.

As a result of these simplifications, ext4\_set\_context() no longer needs
to change inode flags or state when 'handle != NULL'.  Remove that too.

## Affected and fixed versions

- Linux: \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< add98959b220935b243170214c787bc03044a44d; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< f53b325068bca0b238c3e0d2eb7de9b1f2268cab; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< a13f61ba9b2a7a4ff1f140949ccfad23c5313757; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< ed1cd834da65db127f1c30ff67e78f14825a06c1; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 458776af0061afec1014cb3cd0061e282e482e83; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 3392391b363a63ebb531d45318a729b1c998565b; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< e27bae352158c007143d5bb50f3af33a177c0a37; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< da32af420d6d466e247c43ac0b829edeac7ae0ad (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80806.md
Affected: Linux >= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, < add98959b220935b243170214c787bc03044a44d; >= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, < f53b325068bca0b238c3e0d2eb7de9b1f2268cab; >= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, < 5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c; >= 043546e46dc70c25ff7e2cf…
Fixed in: Linux 5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c, Linux 458776af0061afec1014cb3cd0061e282e482e83, Linux 3392391b363a63ebb531d45318a729b1c998565b

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

There is no confirmed exploitation: CVE-2026-80806 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80806?

It has no CVSS score yet. Unknown.

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

Linux \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< add98959b220935b243170214c787bc03044a44d; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< f53b325068bca0b238c3e0d2eb7de9b1f2268cab; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< a13f61ba9b2a7a4ff1f140949ccfad23c5313757; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< ed1cd834da65db127f1c30ff67e78f14825a06c1; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 458776af0061afec1014cb3cd0061e282e482e83; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< 3392391b363a63ebb531d45318a729b1c998565b; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< e27bae352158c007143d5bb50f3af33a177c0a37; \>= 043546e46dc70c25ff7e2cf6d09cbb0424fc9978, \< da32af420d6d466e247c43ac0b829edeac7ae0ad; Linux 5.8.

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

Yes. Fixed in Linux 5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c, Linux 458776af0061afec1014cb3cd0061e282e482e83, Linux 3392391b363a63ebb531d45318a729b1c998565b. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/add98959b220935b243170214c787bc03044a44d>
- other: <https://git.kernel.org/stable/c/f53b325068bca0b238c3e0d2eb7de9b1f2268cab>
- other: <https://git.kernel.org/stable/c/5959cad3cfa852ec07bbdaf9c17f4838a94a8e6c>
- other: <https://git.kernel.org/stable/c/a13f61ba9b2a7a4ff1f140949ccfad23c5313757>
- other: <https://git.kernel.org/stable/c/ed1cd834da65db127f1c30ff67e78f14825a06c1>
- other: <https://git.kernel.org/stable/c/458776af0061afec1014cb3cd0061e282e482e83>
- other: <https://git.kernel.org/stable/c/3392391b363a63ebb531d45318a729b1c998565b>
- other: <https://git.kernel.org/stable/c/e27bae352158c007143d5bb50f3af33a177c0a37>
- other: <https://git.kernel.org/stable/c/da32af420d6d466e247c43ac0b829edeac7ae0ad>

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

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