CVE-2025-38220
publishedext4: only dirty folios when data journaling regular files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < cf6a4c4ac7b6e3214f25df594c9689a62f1bb456 · d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < be5f3061a6f904e3674257879e71881ceee5b673 · d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < d7af6eee8cd60f55aa8c5fe2b91f11ec0c9a0f27 · d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < e26268ff1dcae5662c1b96c35f18cfa6ab73d9de · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.95 through 6.6.* (unaffected · semver) · 6.12.35 through 6.12.* (unaffected · semver) · 6.15.4 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1080 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.30.1.el10_0 | ALSA-2025:15005 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.30.1.el10_0 | ALSA-2025:15005 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-tools-libsaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-tools-libsx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-tools-libs-develaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-tools-libs-develx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uki-virtx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | libperfaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | libperfx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | perfaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | perfx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | python3-perfaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | python3-perfx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | rtlaaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | rtlax86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | rvaarch64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 10 | rvx86_64 | Advisory build | 0:6.12.0-55.30.1.0.1.el10_0 | ELSA-2025-15005 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: only dirty folios when data journaling regular files fstest generic/388 occasionally reproduces a crash that looks as follows: BUG: kernel NULL pointer dereference, address: 0000000000000000 ... Call Trace: <TASK> ext4_block_zero_page_range+0x30c/0x380 [ext4] ext4_truncate+0x436/0x440 [ext4] ext4_process_orphan+0x5d/0x110 [ext4] ext4_orphan_cleanup+0x124/0x4f0 [ext4] ext4_fill_super+0x262d/0x3110 [ext4] get_tree_bdev_flags+0x132/0x1d0 vfs_get_tree+0x26/0xd0 vfs_cmd_create+0x59/0xe0 __do_sys_fsconfig+0x4ed/0x6b0 do_syscall_64+0x82/0x170 ... This occurs when processing a symlink inode from the orphan list. The partial block zeroing code in the truncate path calls ext4_dirty_journalled_data() -> folio_mark_dirty(). The latter calls mapping->a_ops->dirty_folio(), but symlink inodes are not assigned an a_ops vector in ext4, hence the crash. To avoid this problem, update the ext4_dirty_journalled_data() helper to only mark the folio dirty on regular files (for which a_ops is assigned). This also matches the journaling logic in the ext4_symlink() creation path, where ext4_handle_dirty_metadata() is called directly.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < cf6a4c4ac7b6e3214f25df594c9689a62f1bb456 (affected · git)d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < be5f3061a6f904e3674257879e71881ceee5b673 (affected · git)d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < d7af6eee8cd60f55aa8c5fe2b91f11ec0c9a0f27 (affected · git)d84c9ebdac1e39bc7b036c0c829ee8c1956edabc to < e26268ff1dcae5662c1b96c35f18cfa6ab73d9de (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.95 through 6.6.* (unaffected · semver)6.12.35 through 6.12.* (unaffected · semver)6.15.4 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ext4: only dirty folios when data journaling regular files
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f9ebb512527d43251989e8213e497d1a6dbf850a58936e196fa625d3ff356b0f
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record