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

smb/client: handle overlapping allocated ranges in fallocate

smb3_simple_fallocate_range() can skip holes when an allocated range
returned by the server starts before the current fallocate offset. The
skipped hole is not zero-filled, but fallocate still returns success. A
later write to that hole may therefore fail with ENOSPC.

The function queries allocated ranges so that it can preserve existing
contents and write zeroes only into holes. However, the server may return
a range that starts before the current fallocate offset.

For example, assume the fallocate request is [100, 400) and the only
allocated range returned by the server is [0, 200):

Request: [100, 400)
Server range: [ 0, 200) allocated

Correct:
[100, 200) allocated data, skip
[200, 400) hole, zero-fill

Current:
[100, 300) skipped
[300, 400) zero-filled afterwards

The current code adds the full server range length, 200, to the current
offset 100 and moves to 300. As a result, the hole in [200, 300) is
skipped without being zero-filled.

Fix this by advancing only over the part of the allocated range that
overlaps the current fallocate offset. Ignore ranges that end before the
current offset and reject ranges whose end offset overflows.

This also prevents a malformed range length from causing an out-of-bounds
zero-buffer read.
Published: 2026-08-10
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability exists in the Linux kernel SMB client’s fallocate implementation. When the client receives an allocated range from the server that starts before the current fallocate offset, it incorrectly advances over the whole range and skips a hole that should have been zero‑filled. The unwritten hole then leads to write failures later with ENOSPC, which can cause app crashes or denial of service by preventing normal file growth.

Affected Systems

All Linux kernels that include the SMB client module are potentially affected. No specific version ranges are listed; any distribution using an unpatched kernel should update to a version that incorporates the repository commit shown in the references.

Risk and Exploitability

The CVSS score is 9.8 and the EPSS score is < 1%, and the flaw is not in CISA’s KEV catalog. Based on the description, an attacker can trigger the issue by sending a specially crafted SMB response with an overlapping allocated range. The client will then skip the hole, after which a subsequent write can fail. Because the trigger is a server‑side message, the vulnerability is potentially exploitable in a controlled environment and could cause denial of service or data integrity problems.

Generated by OpenCVE AI on August 14, 2026 at 01:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the SMB client fallocate fix.
  • Limit SMB client usage to trusted servers only.
  • Disable SMB1 to reduce attack surface.
  • If fallocate usage cannot be avoided, replace it with explicit zero‑fill logic to ensure holes are handled properly.

Generated by OpenCVE AI on August 14, 2026 at 01:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Thu, 13 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 12 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-704

Tue, 11 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Mon, 10 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-704

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb/client: handle overlapping allocated ranges in fallocate smb3_simple_fallocate_range() can skip holes when an allocated range returned by the server starts before the current fallocate offset. The skipped hole is not zero-filled, but fallocate still returns success. A later write to that hole may therefore fail with ENOSPC. The function queries allocated ranges so that it can preserve existing contents and write zeroes only into holes. However, the server may return a range that starts before the current fallocate offset. For example, assume the fallocate request is [100, 400) and the only allocated range returned by the server is [0, 200): Request: [100, 400) Server range: [ 0, 200) allocated Correct: [100, 200) allocated data, skip [200, 400) hole, zero-fill Current: [100, 300) skipped [300, 400) zero-filled afterwards The current code adds the full server range length, 200, to the current offset 100 and moves to 300. As a result, the hole in [200, 300) is skipped without being zero-filled. Fix this by advancing only over the part of the allocated range that overlaps the current fallocate offset. Ignore ranges that end before the current offset and reject ranges whose end offset overflows. This also prevents a malformed range length from causing an out-of-bounds zero-buffer read.
Title smb/client: handle overlapping allocated ranges in fallocate
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:34:42.827Z

Reserved: 2026-07-30T09:28:09.388Z

Link: CVE-2026-68388

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:32.060

Modified: 2026-08-19T17:20:47.397

Link: CVE-2026-68388

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T00:00:00Z

Links: CVE-2026-68388 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T01:15:17Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size