# CVE-2025-68297: ceph: fix crash in process\_v2\_sparse\_read() for encrypted directories

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **Published:** 2025-12-16T15:06:16.756Z
- **Modified:** 2026-10-19T22:10:00.130Z

## Who should check

- Anyone running Linux \>= da9c33a70f095d5d55c36d0bfeba969e31de08ae, \< 5a3f3e39b18705bc578fae58abacc8ef93c15194; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 47144748fbf12068ba4b82512098fe1ac748a2e9; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 7d1b7de853f7d1eefd6d22949bcefc0c25186727; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 43962db4a6f593903340c85591056a0cef812dfd; bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; \>= 6.6.17, \< 6.6.119; \>= 6.7.5, \< 6.8
- Anyone running Linux 6.8

## Description

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

ceph: fix crash in process\_v2\_sparse\_read() for encrypted directories

The crash in process\_v2\_sparse\_read() for fscrypt-encrypted directories
has been reported. Issue takes place for Ceph msgr2 protocol in secure
mode. It can be reproduced by the steps:

sudo mount -t ceph :/ /mnt/cephfs/ -o name=admin,fs=cephfs,ms\_mode=secure

(1) mkdir /mnt/cephfs/fscrypt-test-3
(2) cp area\_decrypted.tar /mnt/cephfs/fscrypt-test-3
(3) fscrypt encrypt --source=raw\_key --key=./my.key /mnt/cephfs/fscrypt-test-3
(4) fscrypt lock /mnt/cephfs/fscrypt-test-3
(5) fscrypt unlock --key=my.key /mnt/cephfs/fscrypt-test-3
(6) cat /mnt/cephfs/fscrypt-test-3/area\_decrypted.tar
(7) Issue has been triggered

\[  408.072247\] ------------\[ cut here \]------------
\[  408.072251\] WARNING: CPU: 1 PID: 392 at net/ceph/messenger\_v2.c:865
ceph\_con\_v2\_try\_read+0x4b39/0x72f0
\[  408.072267\] Modules linked in: intel\_rapl\_msr intel\_rapl\_common
intel\_uncore\_frequency\_common intel\_pmc\_core pmt\_telemetry pmt\_discovery
pmt\_class intel\_pmc\_ssram\_telemetry intel\_vsec kvm\_intel joydev kvm irqbypass
polyval\_clmulni ghash\_clmulni\_intel aesni\_intel rapl input\_leds psmouse
serio\_raw i2c\_piix4 vga16fb bochs vgastate i2c\_smbus floppy mac\_hid qemu\_fw\_cfg
pata\_acpi sch\_fq\_codel rbd msr parport\_pc ppdev lp parport efi\_pstore
\[  408.072304\] CPU: 1 UID: 0 PID: 392 Comm: kworker/1:3 Not tainted 6.17.0-rc7+
\[  408.072307\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.17.0-5.fc42 04/01/2014
\[  408.072310\] Workqueue: ceph-msgr ceph\_con\_workfn
\[  408.072314\] RIP: 0010:ceph\_con\_v2\_try\_read+0x4b39/0x72f0
\[  408.072317\] Code: c7 c1 20 f0 d4 ae 50 31 d2 48 c7 c6 60 27 d5 ae 48 c7 c7 f8
8e 6f b0 68 60 38 d5 ae e8 00 47 61 fe 48 83 c4 18 e9 ac fc ff ff \<0f\> 0b e9 06
fe ff ff 4c 8b 9d 98 fd ff ff 0f 84 64 e7 ff ff 89 85
\[  408.072319\] RSP: 0018:ffff88811c3e7a30 EFLAGS: 00010246
\[  408.072322\] RAX: ffffed1024874c6f RBX: ffffea00042c2b40 RCX: 0000000000000f38
\[  408.072324\] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
\[  408.072325\] RBP: ffff88811c3e7ca8 R08: 0000000000000000 R09: 00000000000000c8
\[  408.072326\] R10: 00000000000000c8 R11: 0000000000000000 R12: 00000000000000c8
\[  408.072327\] R13: dffffc0000000000 R14: ffff8881243a6030 R15: 0000000000003000
\[  408.072329\] FS:  0000000000000000(0000) GS:ffff88823eadf000(0000)
knlGS:0000000000000000
\[  408.072331\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  408.072332\] CR2: 000000c0003c6000 CR3: 000000010c106005 CR4: 0000000000772ef0
\[  408.072336\] PKRU: 55555554
\[  408.072337\] Call Trace:
\[  408.072338\]  \<TASK\>
\[  408.072340\]  ? sched\_clock\_noinstr+0x9/0x10
\[  408.072344\]  ? \_\_pfx\_ceph\_con\_v2\_try\_read+0x10/0x10
\[  408.072347\]  ? \_raw\_spin\_unlock+0xe/0x40
\[  408.072349\]  ? finish\_task\_switch.isra.0+0x15d/0x830
\[  408.072353\]  ? \_\_kasan\_check\_write+0x14/0x30
\[  408.072357\]  ? mutex\_lock+0x84/0xe0
\[  408.072359\]  ? \_\_pfx\_mutex\_lock+0x10/0x10
\[  408.072361\]  ceph\_con\_workfn+0x27e/0x10e0
\[  408.072364\]  ? metric\_delayed\_work+0x311/0x2c50
\[  408.072367\]  process\_one\_work+0x611/0xe20
\[  408.072371\]  ? \_\_kasan\_check\_write+0x14/0x30
\[  408.072373\]  worker\_thread+0x7e3/0x1580
\[  408.072375\]  ? \_\_pfx\_\_raw\_spin\_lock\_irqsave+0x10/0x10
\[  408.072378\]  ? \_\_pfx\_worker\_thread+0x10/0x10
\[  408.072381\]  kthread+0x381/0x7a0
\[  408.072383\]  ? \_\_pfx\_\_raw\_spin\_lock\_irq+0x10/0x10
\[  408.072385\]  ? \_\_pfx\_kthread+0x10/0x10
\[  408.072387\]  ? \_\_kasan\_check\_write+0x14/0x30
\[  408.072389\]  ? recalc\_sigpending+0x160/0x220
\[  408.072392\]  ? \_raw\_spin\_unlock\_irq+0xe/0x50
\[  408.072394\]  ? calculate\_sigpending+0x78/0xb0
\[  408.072395\]  ? \_\_pfx\_kthread+0x10/0x10
\[  408.072397\]  ret\_from\_fork+0x2b6/0x380
\[  408.072400\]  ? \_\_pfx\_kthread+0x10/0x10
\[  408.072402\]  ret\_from\_fork\_asm+0x1a/0x30
\[  408.072406\]  \</TASK\>
\[  408.072407\] ---\[ end trace 0000000000000000 \]---
\[  408.072418\] Oops: general protection fault, probably for non-canonical
address 0xdffffc00000000
---truncated---

## Affected and fixed versions

- Linux: \>= da9c33a70f095d5d55c36d0bfeba969e31de08ae, \< 5a3f3e39b18705bc578fae58abacc8ef93c15194; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 47144748fbf12068ba4b82512098fe1ac748a2e9; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 7d1b7de853f7d1eefd6d22949bcefc0c25186727; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 43962db4a6f593903340c85591056a0cef812dfd; bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; \>= 6.6.17, \< 6.6.119; \>= 6.7.5, \< 6.8 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 6.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68297. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68297.md
Affected: Linux >= da9c33a70f095d5d55c36d0bfeba969e31de08ae, < 5a3f3e39b18705bc578fae58abacc8ef93c15194; >= 8e46a2d068c92a905d01cbb018b00d66991585ab, < 47144748fbf12068ba4b82512098fe1ac748a2e9; >= 8e46a2d068c92a905d01cbb018b00d66991585ab, < 7d1b7de853f7d1eefd6d22949bcefc0c25186727; >= 8e46a2d068c92a905d01cbb…
Fixed in: Linux 5a3f3e39b18705bc578fae58abacc8ef93c15194, Linux 47144748fbf12068ba4b82512098fe1ac748a2e9, Linux 7d1b7de853f7d1eefd6d22949bcefc0c25186727, Linux 43962db4a6f593903340c85591056a0cef812dfd, Linux 6.6.119, Linux 6.8

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= da9c33a70f095d5d55c36d0bfeba969e31de08ae, \< 5a3f3e39b18705bc578fae58abacc8ef93c15194; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 47144748fbf12068ba4b82512098fe1ac748a2e9; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 7d1b7de853f7d1eefd6d22949bcefc0c25186727; \>= 8e46a2d068c92a905d01cbb018b00d66991585ab, \< 43962db4a6f593903340c85591056a0cef812dfd; bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; \>= 6.6.17, \< 6.6.119; \>= 6.7.5, \< 6.8; Linux 6.8.

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

Yes. Fixed in Linux 5a3f3e39b18705bc578fae58abacc8ef93c15194, Linux 47144748fbf12068ba4b82512098fe1ac748a2e9, Linux 7d1b7de853f7d1eefd6d22949bcefc0c25186727, Linux 43962db4a6f593903340c85591056a0cef812dfd, Linux 6.6.119, Linux 6.8. Upgrade Linux to 6.8 or later.

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

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/5a3f3e39b18705bc578fae58abacc8ef93c15194>
- other: <https://git.kernel.org/stable/c/47144748fbf12068ba4b82512098fe1ac748a2e9>
- other: <https://git.kernel.org/stable/c/7d1b7de853f7d1eefd6d22949bcefc0c25186727>
- other: <https://git.kernel.org/stable/c/43962db4a6f593903340c85591056a0cef812dfd>

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

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