Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38221

published

ext4: fix out of bounds punch offset

Published
04 Jul 2025, 13:37:37 UTC
Updated
11 May 2026, 21:23:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux33f61ecabb10098b63dad3b729552779379f900d to < a4d60ba277ecd8a98c5a593cbc0ef2237c20a541 · 982bf37da09d078570650b691d9084f43805a5de to < 28b62cb58fd014338f5004170f2e3a35bf0af238 · 982bf37da09d078570650b691d9084f43805a5de to < b5e58bcd79625423487fa3ecba8e8411b5396327 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.15 (affected) · 0 to < 6.15 (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
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662

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: fix out of bounds punch offset Punching a hole with a start offset that exceeds max_end is not permitted and will result in a negative length in the truncate_inode_partial_folio() function while truncating the page cache, potentially leading to undesirable consequences. A simple reproducer: truncate -s 9895604649994 /mnt/foo xfs_io -c "pwrite 8796093022208 4096" /mnt/foo xfs_io -c "fpunch 8796093022213 25769803777" /mnt/foo kernel BUG at include/linux/highmem.h:275! Oops: invalid opcode: 0000 [#1] SMP PTI CPU: 3 UID: 0 PID: 710 Comm: xfs_io Not tainted 6.15.0-rc3 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014 RIP: 0010:zero_user_segments.constprop.0+0xd7/0x110 RSP: 0018:ffffc90001cf3b38 EFLAGS: 00010287 RAX: 0000000000000005 RBX: ffffea0001485e40 RCX: 0000000000001000 RDX: 000000000040b000 RSI: 0000000000000005 RDI: 000000000040b000 RBP: 000000000040affb R08: ffff888000000000 R09: ffffea0000000000 R10: 0000000000000003 R11: 00000000fffc7fc5 R12: 0000000000000005 R13: 000000000040affb R14: ffffea0001485e40 R15: ffff888031cd3000 FS: 00007f4f63d0b780(0000) GS:ffff8880d337d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000001ae0b038 CR3: 00000000536aa000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> truncate_inode_partial_folio+0x3dd/0x620 truncate_inode_pages_range+0x226/0x720 ? bdev_getblk+0x52/0x3e0 ? ext4_get_group_desc+0x78/0x150 ? crc32c_arch+0xfd/0x180 ? __ext4_get_inode_loc+0x18c/0x840 ? ext4_inode_csum+0x117/0x160 ? jbd2_journal_dirty_metadata+0x61/0x390 ? __ext4_handle_dirty_metadata+0xa0/0x2b0 ? kmem_cache_free+0x90/0x5a0 ? jbd2_journal_stop+0x1d5/0x550 ? __ext4_journal_stop+0x49/0x100 truncate_pagecache_range+0x50/0x80 ext4_truncate_page_cache_block_range+0x57/0x3a0 ext4_punch_hole+0x1fe/0x670 ext4_fallocate+0x792/0x17d0 ? __count_memcg_events+0x175/0x2a0 vfs_fallocate+0x121/0x560 ksys_fallocate+0x51/0xc0 __x64_sys_fallocate+0x24/0x40 x64_sys_call+0x18d2/0x4170 do_syscall_64+0xa7/0x220 entry_SYSCALL_64_after_hwframe+0x76/0x7e Fix this by filtering out cases where the punching start offset exceeds max_end.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

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.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 33f61ecabb10098b63dad3b729552779379f900d to < a4d60ba277ecd8a98c5a593cbc0ef2237c20a541 (affected · git)982bf37da09d078570650b691d9084f43805a5de to < 28b62cb58fd014338f5004170f2e3a35bf0af238 (affected · git)982bf37da09d078570650b691d9084f43805a5de to < b5e58bcd79625423487fa3ecba8e8411b5396327 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.15 (affected)0 to < 6.15 (unaffected · semver)6.15.4 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

ext4: fix out of bounds punch offset

Provenance

Schema
5.2
Searchable
yes
Content hash
15c484da08d4cf19dcf0f3291200da5e22bcdd56d50c762566227f14c2d06830
Ingested
23 Sep 2026, 08:46:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected