Skip to main content

Linux Kernel EUVDEUVD-2026-32448

| CVE-2026-46066 MEDIUM
Off-by-one Error (CWE-193)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-2hfr-22wv-h4vj
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local write access to fscrypt-enabled CephFS mount
  2. Delivery
    Write files with discontiguous dirty folio pattern
  3. Exploit
    Induce system memory pressure to cause bounce buffer alloc failure
  4. Execution
    num_ops off-by-one mismatch created in ceph_process_folio_batch
  5. Persist
    BUG_ON assertion fires in ceph_submit_write
  6. Impact
    Kernel panic and full system crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Exploitation Conditions

Four concurrent conditions are required: (1) a kernel in the affected version range (6.18.16-6.18.29, 6.19.6, or 7.0.x prior to 7.0.4) - earlier stable branches such as 6.6.x contain the latent defect but cannot trigger it; (2) a CephFS mount with fscrypt encryption explicitly enabled - standard unencrypted CephFS mounts are entirely unaffected; (3) the attacker or a process under attacker control has write access to files on that encrypted mount (PR:L); (4) memory pressure sufficient to cause a bounce buffer (ciphertext) allocation failure in the writeback path. Remote unauthenticated exploitation is not possible (AV:L). The vulnerability cannot be triggered without fscrypt; this single configuration prerequisite is the primary limiting factor for most environments.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects the threat model: local access with low privileges, pure availability impact via kernel panic, no confidentiality or integrity exposure. EPSS 0.02% (4th percentile) is consistent with the narrow exploitation surface - fscrypt+CephFS is a relatively uncommon deployment combination, and triggering requires inducing memory pressure in addition to write access. The CVE is not listed in CISA KEV, and no public exploit code has been identified. While the Linux kernel is ubiquitous, the compound precondition (specific kernel version range AND fscrypt-enabled CephFS AND memory pressure) significantly narrows the realistic attack surface. The CVSS and EPSS signals are fully consistent. This is a genuine but niche regression - organizations not using fscrypt-encrypted CephFS are not affected at all, and those who are should prioritize patching promptly given the deterministic crash behavior and the reproduction recipe published in the commit message.

Exploit ScenarioDerived

A local user with low-privilege write access to an fscrypt-encrypted CephFS mount writes large files using an alternating 4KiB-written/4KiB-skipped pattern, producing discontiguous dirty folios in the page cache. Concurrently, memory pressure (induced by the same or another process allocating memory) causes a kmalloc failure when the writeback path attempts to allocate a bounce buffer for ciphertext. The resulting off-by-one in num_ops triggers the BUG_ON assertion in ceph_submit_write(), panicking the kernel and crashing the host. No public exploit exists, but the commit message provides a precise and complete reproduction recipe.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Kernel panic in the Linux Ceph filesystem client affects systems running fscrypt-encrypted CephFS on kernel versions 6.18.16-6.18.29, 6.19.6, and 7.0.x prior to 7.0.4. An off-by-one error (CWE-193) in ceph_wbc->num_ops during encrypted writeback causes a hard BUG_ON assertion in ceph_submit_write(), crashing the kernel when a bounce buffer allocation fails under memory pressure. No public exploit exists and EPSS is 0.02% (4th percentile), but the CVE description contains a precise reproduction recipe, making reliable local triggering straightforward for anyone with write access to an affected encrypted mount.

RemediationAI

Upgrade to Linux kernel 6.18.30, 7.0.4, or 7.1-rc1 or later, which include the fix that decrements ceph_wbc->num_ops when move_dirty_folio_in_page_array() fails on a not-yet-counted extent. Fix commits are available at https://git.kernel.org/stable/c/6200f41d6fcf2ac7e24866431e381cbc914560e4, https://git.kernel.org/stable/c/a0d9555bf9eaeba34fe6b6bb86f442fe08ba3842, and https://git.kernel.org/stable/c/ba12c1e578890f6337a415b7dedf476c6d455105. For systems where an immediate kernel upgrade is not feasible, the most effective compensating control is to disable fscrypt encryption on CephFS mounts; note this removes at-rest encryption protection and requires data migration. A secondary mitigation is to ensure generous memory headroom on hosts serving encrypted CephFS workloads, reducing the probability of bounce buffer allocation failures - but this cannot be guaranteed and is not a reliable control. Monitoring kernel live-patching channels (e.g., SUSE KLPD, Ubuntu Livepatch, Oracle Ksplice) for backported fixes is advisable where reboots are costly.

Affected VersionsENISA

Linux patch: 6.18.30
Linux patch: 0
Linux d55207717ded95c8f2760a30e93319fa313186e6 <a0d9555bf9eaeba34fe6b6bb86f442fe08ba3842
Linux d55207717ded95c8f2760a30e93319fa313186e6 <6200f41d6fcf2ac7e24866431e381cbc914560e4
Linux d55207717ded95c8f2760a30e93319fa313186e6 <ba12c1e578890f6337a415b7dedf476c6d455105
Linux 6.6
Linux patch: 7.0.4
Linux patch: 7.1-rc1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The defect resides in the Linux kernel Ceph filesystem client's writeback path for fscrypt-encrypted files (CPE: cpe:2.3:o:linux:linux_kernel). CWE-193 (Off-by-One Error): ceph_process_folio_batch() increments ceph_wbc->num_ops when it begins accounting for a discontiguous dirty folio, but when move_dirty_folio_in_page_array() subsequently fails to allocate a bounce buffer for ciphertext, the folio is abandoned without decrementing the counter. The downstream ceph_submit_write() enforces the invariant that num_ops equals the number of contiguous write-extent operations via a hard BUG_ON assertion; the mismatch panics the kernel. The underlying defect has existed since 2022, but was masked until commit cac190c7674f enabled multi-folio encrypted writeback - that commit landed in 6.18.16, 6.19.6, and 7.0-rc1, unmasking the panic exclusively on those versions. The vulnerability is strictly confined to fscrypt-enabled CephFS mounts; unencrypted CephFS and all other filesystems are unaffected.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local write access to an fscrypt CephFS mount required (AV:L, PR:L); sole impact is kernel panic with no confidentiality or integrity exposure (C:N/I:N/A:H).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 24, 2026 - 17:07 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

ceph: fix num_ops off-by-one when crypto allocation fails

move_dirty_folio_in_page_array() may fail if the file is encrypted, the dirty folio is not the first in the batch, and it fails to allocate a bounce buffer to hold the ciphertext. When that happens, ceph_process_folio_batch() simply redirties the folio and flushes the current batch -- it can retry that folio in a future batch.

However, if this failed folio is not contiguous with the last folio that did make it into the batch, then ceph_process_folio_batch() has already incremented ceph_wbc->num_ops; because it doesn't follow through and add the discontiguous folio to the array, ceph_submit_write() -- which expects that ceph_wbc->num_ops accurately reflects the number of contiguous ranges (and therefore the required number of "write extent" ops) in the writeback -- will panic the kernel:

BUG_ON(ceph_wbc->op_idx + 1 != req->r_num_ops);

This issue can be reproduced on affected kernels by writing to fscrypt-enabled CephFS file(s) with a 4KiB-written/4KiB-skipped/repeat pattern (total filesize should not matter) and gradually increasing the system's memory pressure until a bounce buffer allocation fails.

Fix this crash by decrementing ceph_wbc->num_ops back to the correct value when move_dirty_folio_in_page_array() fails, but the folio already started counting a new (i.e. still-empty) extent.

The defect corrected by this patch has existed since 2022 (see first Fixes:), but another bug blocked multi-folio encrypted writeback until recently (see second Fixes:). The second commit made it into 6.18.16, 6.19.6, and 7.0-rc1, unmasking the panic in those versions. This patch therefore fixes a regression (panic) introduced by cac190c7674f.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel, core OS component of most production infrastructure
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy