Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39723

HIGH 7.1EPSS 35%

netfs: Fix unbuffered write error handling

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < f08c80af3c9a9849cd178b4843b7c01d103506a1; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < 387164a2b97e1f5404c6d0049a7409bac7d2bc5b; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < a3de58b12ce074ec05b8741fa28d62ccb1070468
  • Anyone running Linux 6.10

Vulnerability facts

Affected
Linux >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < f08c80af3c9a9849cd178b4843b7c01d103506a1; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < 387164a2b97e1f5404c6d0049a7409bac7d2bc5b; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < a3de58b12ce074ec05b8741fa28d62ccb1070468; Linux 6.10
Fixed in
Linux 387164a2b97e1f5404c6d0049a7409bac7d2bc5b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: High
EPSS
0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
CWE
CWE-787
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix unbuffered write error handling If all the subrequests in an unbuffered write stream fail, the subrequest collector doesn't update the stream->transferred value and it retains its initial LONG_MAX value. Unfortunately, if all active streams fail, then we take the smallest value of { LONG_MAX, LONG_MAX, ... } as the value to set in wreq->transferred - which is then returned from ->write_iter(). LONG_MAX was chosen as the initial value so that all the streams can be quickly assessed by taking the smallest value of all stream->transferred - but this only works if we've set any of them. Fix this by adding a flag to indicate whether the value in stream->transferred is valid and checking that when we integrate the values. stream->transferred can then be initialised to zero. This was found by running the generic/750 xfstest against cifs with cache=none. It splices data to the target file. Once (if) it has used up all the available scratch space, the writes start failing with ENOSPC. This causes ->write_iter() to fail. However, it was returning wreq->transferred, i.e. LONG_MAX, rather than an error (because it thought the amount transferred was non-zero) and iter_file_splice_write() would then try to clean up that amount of pipe bufferage - leading to an oops when it overran. The kernel log showed: CIFS: VFS: Send error in write = -28 followed by: BUG: kernel NULL pointer dereference, address: 0000000000000008 with: RIP: 0010:iter_file_splice_write+0x3a4/0x520 do_splice+0x197/0x4e0 or: RIP: 0010:pipe_buf_release (include/linux/pipe_fs_i.h:282) iter_file_splice_write (fs/splice.c:755) Also put a warning check into splice to announce if ->write_iter() returned that it had written more than it was asked to.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < f08c80af3c9a9849cd178b4843b7c01d103506a1; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < 387164a2b97e1f5404c6d0049a7409bac7d2bc5b; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < a3de58b12ce074ec05b8741fa28d62ccb1070468—cvelist
Linux6.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2025-39723.md
Affected: Linux >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < f08c80af3c9a9849cd178b4843b7c01d103506a1; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < 387164a2b97e1f5404c6d0049a7409bac7d2bc5b; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < a3de58b12ce074ec05b8741fa28d62ccb1070468; Linux 6.10
Fixed in: Linux 387164a2b97e1f5404c6d0049a7409bac7d2bc5b

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.

References

FAQ

Is CVE-2025-39723 being exploited?

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

How serious is CVE-2025-39723?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-39723?

Linux >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < f08c80af3c9a9849cd178b4843b7c01d103506a1; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < 387164a2b97e1f5404c6d0049a7409bac7d2bc5b; >= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < a3de58b12ce074ec05b8741fa28d62ccb1070468; Linux 6.10.

Is there a fix for CVE-2025-39723?

Yes. Fixed in Linux 387164a2b97e1f5404c6d0049a7409bac7d2bc5b. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors