# CVE-2025-68261: ext4: add i\_data\_sem protection in ext4\_destroy\_inline\_data\_nolock()

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0cd8feea8777f8d9b9a862b89c688b049a5c8475, 144c48da33a01d92995aeccd8208eb47d2a8e659, 22a76b0861ae61a299c8e126c1aca8c4fda820fd, 3.17, 3.19, 4.10, 4.11, 4.5, 5b266cf6851ce72b11b067fe02adf5a8687104ad, 5cad18e527ba8a9ca5463cc170073eeb5a4826f4, 61e03dc3794ebf77a706b85e5a36c9c6d70be6de, b322bac9f01d03190b5abc52be5d9dd9f22a2b41, ba8aeff294ac7ff6dfe293663d815c54c5ee218c (CNA); fix release not confirmed
- Status: published
- Published: 2025-12-16 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2025-68261, DEBIAN-CVE-2025-68261
- Record: https://cvemate.com/vulnerability/CVE-2025-68261 · JSON: https://cvemate.com/vulnerability/CVE-2025-68261/json

## Description

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

ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock()

Fix a race between inline data destruction and block mapping.

The function ext4_destroy_inline_data_nolock() changes the inode data
layout by clearing EXT4_INODE_INLINE_DATA and setting EXT4_INODE_EXTENTS.
At the same time, another thread may execute ext4_map_blocks(), which
tests EXT4_INODE_EXTENTS to decide whether to call ext4_ext_map_blocks()
or ext4_ind_map_blocks().

Without i_data_sem protection, ext4_ind_map_blocks() may receive inode
with EXT4_INODE_EXTENTS flag and triggering assert.

kernel BUG at fs/ext4/indirect.c:546!
EXT4-fs (loop2): unmounting filesystem.
invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:ext4_ind_map_blocks.cold+0x2b/0x5a fs/ext4/indirect.c:546

Call Trace:
 <TASK>
 ext4_map_blocks+0xb9b/0x16f0 fs/ext4/inode.c:681
 _ext4_get_block+0x242/0x590 fs/ext4/inode.c:822
 ext4_block_write_begin+0x48b/0x12c0 fs/ext4/inode.c:1124
 ext4_write_begin+0x598/0xef0 fs/ext4/inode.c:1255
 ext4_da_write_begin+0x21e/0x9c0 fs/ext4/inode.c:3000
 generic_perform_write+0x259/0x5d0 mm/filemap.c:3846
 ext4_buffered_write_iter+0x15b/0x470 fs/ext4/file.c:285
 ext4_file_write_iter+0x8e0/0x17f0 fs/ext4/file.c:679
 call_write_iter include/linux/fs.h:2271 [inline]
 do_iter_readv_writev+0x212/0x3c0 fs/read_write.c:735
 do_iter_write+0x186/0x710 fs/read_write.c:861
 vfs_iter_write+0x70/0xa0 fs/read_write.c:902
 iter_file_splice_write+0x73b/0xc90 fs/splice.c:685
 do_splice_from fs/splice.c:763 [inline]
 direct_splice_actor+0x10f/0x170 fs/splice.c:950
 splice_direct_to_actor+0x33a/0xa10 fs/splice.c:896
 do_splice_direct+0x1a9/0x280 fs/splice.c:1002
 do_sendfile+0xb13/0x12c0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __x64_sys_sendfile64+0x1cf/0x210 fs/read_write.c:1309
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x35/0x80 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x6e/0xd8
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.592%, percentile 49.725%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 159)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.63-1 \| \< 6.17.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-173.183 \| \< 6.8.0-110.110 \| \< 6.17.0-19.19
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110 \| \< 6.8.0-1052.55 \| \< 6.17.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1009.9~24.04.2
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1052.55+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1054.60 \| \< 6.17.0-1010.10

## References (first 20 of 45)

- <https://git.kernel.org/stable/c/b322bac9f01d03190b5abc52be5d9dd9f22a2b41>
- <https://git.kernel.org/stable/c/61e03dc3794ebf77a706b85e5a36c9c6d70be6de>
- <https://git.kernel.org/stable/c/5b266cf6851ce72b11b067fe02adf5a8687104ad>
- <https://git.kernel.org/stable/c/144c48da33a01d92995aeccd8208eb47d2a8e659>
- <https://git.kernel.org/stable/c/22a76b0861ae61a299c8e126c1aca8c4fda820fd>
- <https://git.kernel.org/stable/c/ba8aeff294ac7ff6dfe293663d815c54c5ee218c>
- <https://git.kernel.org/stable/c/5cad18e527ba8a9ca5463cc170073eeb5a4826f4>
- <https://git.kernel.org/stable/c/0cd8feea8777f8d9b9a862b89c688b049a5c8475>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2025-68261>
- <https://www.cve.org/CVERecord?id=CVE-2025-68261>
- <https://git.kernel.org/linus/0cd8feea8777f8d9b9a862b89c688b049a5c8475>
- <https://ubuntu.com/security/notices/USN-8094-1>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8096-2>
- <https://ubuntu.com/security/notices/USN-8094-2>
- <https://ubuntu.com/security/notices/USN-8096-3>
- <https://ubuntu.com/security/notices/USN-8096-4>
- <https://ubuntu.com/security/notices/USN-8116-1>
- <https://ubuntu.com/security/notices/USN-8096-5>

---

Data as of 2026-12-05T03:43:56.512Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
