# CVE-2026-31450: ext4: publish jinode after initialization

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-26)
- **CWE:** CWE-476, CWE-362
- **Published:** 2026-04-22T13:53:45.532Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 2d2b648960147d078b000b9a7494017082024366; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< e4325e84727e539c8597bd5b8491349f57f7fb17; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< be54c0055407a73b60349c093c8ce621cb8fa232; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< a070d5a872ffe0e0fe5c46eda6386140ded39adb; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< e76bcb727e4874a2f9d0297f8e3f8eced89b0764; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 4855a59e21789c79f003a9b5f4135c95a7495c6b; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 33f486987af21531a7b18973d11795ede3da9ddd; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 1aec30021edd410b986c156f195f3d23959a9d11
- Anyone running Linux 3.11

## Description

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

ext4: publish jinode after initialization

ext4\_inode\_attach\_jinode() publishes ei-\>jinode to concurrent users.
It used to set ei-\>jinode before jbd2\_journal\_init\_jbd\_inode(),
allowing a reader to observe a non-NULL jinode with i\_vfs\_inode
still unset.

The fast commit flush path can then pass this jinode to
jbd2\_wait\_inode\_data(), which dereferences i\_vfs\_inode-\>i\_mapping and
may crash.

Below is the crash I observe:
\`\`\`
BUG: unable to handle page fault for address: 000000010beb47f4
PGD 110e51067 P4D 110e51067 PUD 0
Oops: Oops: 0000 \[\#1\] SMP NOPTI
CPU: 1 UID: 0 PID: 4850 Comm: fc\_fsync\_bench\_ Not tainted 6.18.0-00764-g795a690c06a5 \#1 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Arch Linux 1.17.0-2-2 04/01/2014
RIP: 0010:xas\_find\_marked+0x3d/0x2e0
Code: e0 03 48 83 f8 02 0f 84 f0 01 00 00 48 8b 47 08 48 89 c3 48 39 c6 0f 82 fd 01 00 00 48 85 c9 74 3d 48 83 f9 03 77 63 4c 8b 0f \<49\> 8b 71 08 48 c7 47 18 00 00 00 00 48 89 f1 83 e1 03 48 83 f9 02
RSP: 0018:ffffbbee806e7bf0 EFLAGS: 00010246
RAX: 000000000010beb4 RBX: 000000000010beb4 RCX: 0000000000000003
RDX: 0000000000000001 RSI: 0000002000300000 RDI: ffffbbee806e7c10
RBP: 0000000000000001 R08: 0000002000300000 R09: 000000010beb47ec
R10: ffff9ea494590090 R11: 0000000000000000 R12: 0000002000300000
R13: ffffbbee806e7c90 R14: ffff9ea494513788 R15: ffffbbee806e7c88
FS: 00007fc2f9e3e6c0(0000) GS:ffff9ea6b1444000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000010beb47f4 CR3: 0000000119ac5000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
\<TASK\>
filemap\_get\_folios\_tag+0x87/0x2a0
\_\_filemap\_fdatawait\_range+0x5f/0xd0
? srso\_alias\_return\_thunk+0x5/0xfbef5
? \_\_schedule+0x3e7/0x10c0
? srso\_alias\_return\_thunk+0x5/0xfbef5
? srso\_alias\_return\_thunk+0x5/0xfbef5
? srso\_alias\_return\_thunk+0x5/0xfbef5
? preempt\_count\_sub+0x5f/0x80
? srso\_alias\_return\_thunk+0x5/0xfbef5
? cap\_safe\_nice+0x37/0x70
? srso\_alias\_return\_thunk+0x5/0xfbef5
? preempt\_count\_sub+0x5f/0x80
? srso\_alias\_return\_thunk+0x5/0xfbef5
filemap\_fdatawait\_range\_keep\_errors+0x12/0x40
ext4\_fc\_commit+0x697/0x8b0
? ext4\_file\_write\_iter+0x64b/0x950
? srso\_alias\_return\_thunk+0x5/0xfbef5
? preempt\_count\_sub+0x5f/0x80
? srso\_alias\_return\_thunk+0x5/0xfbef5
? vfs\_write+0x356/0x480
? srso\_alias\_return\_thunk+0x5/0xfbef5
? preempt\_count\_sub+0x5f/0x80
ext4\_sync\_file+0xf7/0x370
do\_fsync+0x3b/0x80
? syscall\_trace\_enter+0x108/0x1d0
\_\_x64\_sys\_fdatasync+0x16/0x20
do\_syscall\_64+0x62/0x2c0
entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
...
\`\`\`

Fix this by initializing the jbd2\_inode first.
Use smp\_wmb() and WRITE\_ONCE() to publish ei-\>jinode after
initialization. Readers use READ\_ONCE() to fetch the pointer.

## Affected and fixed versions

- Linux: \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 2d2b648960147d078b000b9a7494017082024366; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< e4325e84727e539c8597bd5b8491349f57f7fb17; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< be54c0055407a73b60349c093c8ce621cb8fa232; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< a070d5a872ffe0e0fe5c46eda6386140ded39adb; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< e76bcb727e4874a2f9d0297f8e3f8eced89b0764; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 4855a59e21789c79f003a9b5f4135c95a7495c6b; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 33f486987af21531a7b18973d11795ede3da9ddd; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 1aec30021edd410b986c156f195f3d23959a9d11 (cvelist)
- Linux: 3.11 (cvelist)

## Mitigation

- Upgrade Linux to 1aec30021edd410b986c156f195f3d23959a9d11 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-31450. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31450.md
Affected: Linux >= a361293f5fedea0016a10599f409631a15d47ee7, < 2d2b648960147d078b000b9a7494017082024366; >= a361293f5fedea0016a10599f409631a15d47ee7, < e4325e84727e539c8597bd5b8491349f57f7fb17; >= a361293f5fedea0016a10599f409631a15d47ee7, < be54c0055407a73b60349c093c8ce621cb8fa232; >= a361293f5fedea0016a1059…
Fixed in: Linux 2d2b648960147d078b000b9a7494017082024366, Linux 4855a59e21789c79f003a9b5f4135c95a7495c6b, Linux 33f486987af21531a7b18973d11795ede3da9ddd, Linux 1aec30021edd410b986c156f195f3d23959a9d11

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

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

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

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

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

Linux \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 2d2b648960147d078b000b9a7494017082024366; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< e4325e84727e539c8597bd5b8491349f57f7fb17; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< be54c0055407a73b60349c093c8ce621cb8fa232; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< a070d5a872ffe0e0fe5c46eda6386140ded39adb; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< e76bcb727e4874a2f9d0297f8e3f8eced89b0764; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 4855a59e21789c79f003a9b5f4135c95a7495c6b; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 33f486987af21531a7b18973d11795ede3da9ddd; \>= a361293f5fedea0016a10599f409631a15d47ee7, \< 1aec30021edd410b986c156f195f3d23959a9d11; Linux 3.11.

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

Yes. Fixed in Linux 2d2b648960147d078b000b9a7494017082024366, Linux 4855a59e21789c79f003a9b5f4135c95a7495c6b, Linux 33f486987af21531a7b18973d11795ede3da9ddd, Linux 1aec30021edd410b986c156f195f3d23959a9d11. Upgrade Linux to 1aec30021edd410b986c156f195f3d23959a9d11 or later.

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

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/2d2b648960147d078b000b9a7494017082024366>
- patch: <https://git.kernel.org/stable/c/e4325e84727e539c8597bd5b8491349f57f7fb17>
- patch: <https://git.kernel.org/stable/c/be54c0055407a73b60349c093c8ce621cb8fa232>
- patch: <https://git.kernel.org/stable/c/a070d5a872ffe0e0fe5c46eda6386140ded39adb>
- patch: <https://git.kernel.org/stable/c/e76bcb727e4874a2f9d0297f8e3f8eced89b0764>
- patch: <https://git.kernel.org/stable/c/4855a59e21789c79f003a9b5f4135c95a7495c6b>
- patch: <https://git.kernel.org/stable/c/33f486987af21531a7b18973d11795ede3da9ddd>
- patch: <https://git.kernel.org/stable/c/1aec30021edd410b986c156f195f3d23959a9d11>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

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

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