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

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.13% (percentile 66, 2026-11-26)
- **Published:** 2025-12-16T14:45:03.252Z
- **Modified:** 2026-11-10T13:17:56.963Z

## Who should check

- Anyone running Linux \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< b322bac9f01d03190b5abc52be5d9dd9f22a2b41; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 61e03dc3794ebf77a706b85e5a36c9c6d70be6de; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 5b266cf6851ce72b11b067fe02adf5a8687104ad; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 144c48da33a01d92995aeccd8208eb47d2a8e659; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 22a76b0861ae61a299c8e126c1aca8c4fda820fd; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< ba8aeff294ac7ff6dfe293663d815c54c5ee218c; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 5cad18e527ba8a9ca5463cc170073eeb5a4826f4; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 0cd8feea8777f8d9b9a862b89c688b049a5c8475; 3e96c3fdcfccb321a9e1623f78cc71b44593e965; 5781ac24bbd998ebb1ff30143bb06244d847af48; …
- Anyone running Linux 4.11

## Description

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

## Affected and fixed versions

- Linux: \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< b322bac9f01d03190b5abc52be5d9dd9f22a2b41; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 61e03dc3794ebf77a706b85e5a36c9c6d70be6de; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 5b266cf6851ce72b11b067fe02adf5a8687104ad; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 144c48da33a01d92995aeccd8208eb47d2a8e659; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 22a76b0861ae61a299c8e126c1aca8c4fda820fd; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< ba8aeff294ac7ff6dfe293663d815c54c5ee218c; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 5cad18e527ba8a9ca5463cc170073eeb5a4826f4; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 0cd8feea8777f8d9b9a862b89c688b049a5c8475; 3e96c3fdcfccb321a9e1623f78cc71b44593e965; 5781ac24bbd998ebb1ff30143bb06244d847af48; … (cvelist)
- Linux: 4.11 (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-2025-68261. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68261.md
Affected: Linux >= c755e251357a0cee0679081f08c3f4ba797a8009, < b322bac9f01d03190b5abc52be5d9dd9f22a2b41; >= c755e251357a0cee0679081f08c3f4ba797a8009, < 61e03dc3794ebf77a706b85e5a36c9c6d70be6de; >= c755e251357a0cee0679081f08c3f4ba797a8009, < 5b266cf6851ce72b11b067fe02adf5a8687104ad; >= c755e251357a0cee0679081…
Fixed in: Linux 61e03dc3794ebf77a706b85e5a36c9c6d70be6de, Linux 5b266cf6851ce72b11b067fe02adf5a8687104ad, Linux 144c48da33a01d92995aeccd8208eb47d2a8e659, Linux 22a76b0861ae61a299c8e126c1aca8c4fda820fd, Linux 5cad18e527ba8a9ca5463cc170073eeb5a4826f4, Linux 0cd8feea8777f8d9b9a862b89c688b049a5c8475

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-2025-68261 being exploited?

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

### How serious is CVE-2025-68261?

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

### Which versions are affected by CVE-2025-68261?

Linux \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< b322bac9f01d03190b5abc52be5d9dd9f22a2b41; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 61e03dc3794ebf77a706b85e5a36c9c6d70be6de; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 5b266cf6851ce72b11b067fe02adf5a8687104ad; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 144c48da33a01d92995aeccd8208eb47d2a8e659; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 22a76b0861ae61a299c8e126c1aca8c4fda820fd; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< ba8aeff294ac7ff6dfe293663d815c54c5ee218c; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 5cad18e527ba8a9ca5463cc170073eeb5a4826f4; \>= c755e251357a0cee0679081f08c3f4ba797a8009, \< 0cd8feea8777f8d9b9a862b89c688b049a5c8475; 3e96c3fdcfccb321a9e1623f78cc71b44593e965; 5781ac24bbd998ebb1ff30143bb06244d847af48; …; Linux 4.11.

### Is there a fix for CVE-2025-68261?

Yes. Fixed in Linux 61e03dc3794ebf77a706b85e5a36c9c6d70be6de, Linux 5b266cf6851ce72b11b067fe02adf5a8687104ad, Linux 144c48da33a01d92995aeccd8208eb47d2a8e659, Linux 22a76b0861ae61a299c8e126c1aca8c4fda820fd, Linux 5cad18e527ba8a9ca5463cc170073eeb5a4826f4, Linux 0cd8feea8777f8d9b9a862b89c688b049a5c8475. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68261?

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/b322bac9f01d03190b5abc52be5d9dd9f22a2b41>
- other: <https://git.kernel.org/stable/c/61e03dc3794ebf77a706b85e5a36c9c6d70be6de>
- other: <https://git.kernel.org/stable/c/5b266cf6851ce72b11b067fe02adf5a8687104ad>
- other: <https://git.kernel.org/stable/c/144c48da33a01d92995aeccd8208eb47d2a8e659>
- other: <https://git.kernel.org/stable/c/22a76b0861ae61a299c8e126c1aca8c4fda820fd>
- other: <https://git.kernel.org/stable/c/ba8aeff294ac7ff6dfe293663d815c54c5ee218c>
- other: <https://git.kernel.org/stable/c/5cad18e527ba8a9ca5463cc170073eeb5a4826f4>
- other: <https://git.kernel.org/stable/c/0cd8feea8777f8d9b9a862b89c688b049a5c8475>
- 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-2025-68261>

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