Skip to main content

Linux Kernel CVE-2025-40362

HIGH
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid Ceph keyring with per-fs caps
  2. Delivery
    Identify multifs cluster with asymmetric caps
  3. Exploit
    Mount lower-privilege filesystem via kernel client
  4. Execution
    Client misapplies other fs's rw caps
  5. Persist
    Create/delete files beyond granted permission
  6. Impact
    Unauthorized data modification/destruction

Vulnerability Assessment

Exploitation Conditions

Requires a multi-filesystem (multifs) Ceph cluster with at least two CephFS filesystems, and a single Ceph client identity (keyring) that holds DIFFERENT MDS auth caps across those filesystems (e.g., 'allow r' on one and 'allow rw' on another) - this divergence is what gets misapplied. The attacker must already hold valid Ceph credentials (PR:L) and be able to mount the target filesystem using the in-kernel CephFS client. Limiting factors: exploitation is confined to multifs deployments (single-fs clusters are unaffected), depends on the operator having provisioned asymmetric per-fs caps for the same identity, requires local mount capability on a host with the keyring, and needs no user interaction. It is an authorization-scope confusion, so no memory corruption or network-facing unauthenticated path is involved.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 8.8 High) indicates local access, low complexity, and low (but non-zero) privileges, with a scope change reflecting that the flaw in the kernel client subverts the authority of the separate Ceph MDS access-control system. This is fundamentally an authorization bypass, not remote code execution: it requires the attacker to already possess valid Ceph credentials (a keyring for some client identity) and to operate in a multifs cluster where that identity has differing caps across filesystems - a meaningful precondition that limits the real-world population of exploitable deployments. EPSS is low (0.25%) and there is no KEV listing and no known POC, which aligns with a targeted, environment-specific issue rather than a broadly automatable one. Note a tension worth verifying: the input tags this 'Information Disclosure', but the demonstrated impact is integrity/authorization escalation (unauthorized write and delete) rather than pure disclosure - treat the integrity impact as primary. Overall this is a genuine but conditional privilege/authorization issue: high impact where the multifs precondition holds, low relevance elsewhere.

Exploit ScenarioDerived

In a Ceph cluster hosting 'fsname1' and 'fsname2', an operator grants 'client.usr' read-only on fsname1 and read-write on fsname2. The user mounts fsname1 with their kernel client and, because the client applies fsname2's rw caps to fsname1, successfully creates and deletes files (including those written by client.admin) on the filesystem where they should have read-only access. No public POC is documented, but the reproduction steps are fully detailed in the commit message and the referenced Ceph tracker.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Authorization bypass in the Linux kernel CephFS client (ceph module) lets an authenticated Ceph user exercise MDS auth capabilities granted for one filesystem against a different filesystem in a multi-filesystem (multifs) Ceph cluster. Because the kernel client failed to validate the fsname alongside the associated caps, a user holding read-only rights on 'fsname1' but read-write rights on 'fsname2' would incorrectly gain read-write on 'fsname1', enabling file creation and deletion they should not be permitted. No public exploit identified at time of analysis, and the EPSS score is low (0.25%, 16th percentile), consistent with a specialized storage-cluster condition rather than mass exploitation.

RemediationAI

Upstream fix available (stable commits 07640d34, 22c73d52, ca3da8b2); released patched version not independently confirmed from the provided data - update to the fixed kernel build for your distribution/stable branch that incorporates these commits (verify via your vendor's changelog). As a compensating control until patched, avoid the exact trigger condition: do not rely on the in-kernel CephFS client to enforce differing per-filesystem caps for the same client identity in a multifs cluster - instead provision distinct Ceph auth identities per filesystem so that no single keyring carries divergent caps across filesystems (trade-off: more keys to manage and rotate). Alternatively, restrict which hosts hold CephFS keyrings and mount privileges, and where feasible use the userspace ceph-fuse client whose corresponding fix/tests are referenced by the tracker (trade-off: fuse has lower performance than the kernel client). Consolidating to a single filesystem per cluster, where operationally acceptable, also eliminates the condition. Consult the kernel.org stable commit references above for the authoritative patch content.

Affected ProductsAI

The vulnerability is in the Linux kernel's CephFS client (ceph module). NVD does not publish CPE ranges in the provided data, so exact vulnerable kernel version boundaries are not enumerated here; the fix landed as upstream stable commits (git.kernel.org/stable/c/07640d34a781bb2e39020a39137073c03c4aa932, .../22c73d52a6d05c5a2053385c0d6cd9984732799d, and .../ca3da8b27ab9a0923ad477447cfb8fc7f4b4c523), indicating multiple stable branches were patched. Only deployments using the in-kernel CephFS client to mount volumes from a Ceph cluster that hosts more than one filesystem are affected; single-filesystem clusters are not impacted by this specific caps cross-application.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The affected component is the in-kernel CephFS client (fs/ceph), which mounts CephFS volumes and enforces MDS (Metadata Server) authorization capabilities delivered as part of a client's Ceph auth key. In a multifs cluster, a single 'client.X' identity can hold different caps per filesystem (e.g., 'allow r' on fsname1 and 'allow rw' on fsname2). The client-side caps evaluation matched only the capability grant string without binding it to the specific filesystem name, so caps intended for one fs were applied to another. The corrected logic validates the fsname - reconciled against the ceph_mount_options fsname rather than trusting the mdsmap - before applying caps. Although NVD lists CWE as N/A, the root cause is an incorrect/authorization-context-confusion class (analogous to CWE-863 Incorrect Authorization / CWE-285 Improper Authorization): the right permission set is evaluated against the wrong resource scope.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Requires valid low-privilege Ceph credentials and local mount access (PR:L, AV:L); the client bypasses the separate MDS authority (S:C) enabling unauthorized read, write, and delete (C/I/A:H).

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

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

DescriptionCVE.org

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

ceph: fix multifs mds auth caps issue

The mds auth caps check should also validate the fsname along with the associated caps. Not doing so would result in applying the mds auth caps of one fs on to the other fs in a multifs ceph cluster. The bug causes multiple issues w.r.t user authentication, following is one such example.

Steps to Reproduce (on vstart cluster):

  1. Create two file systems in a cluster, say 'fsname1' and 'fsname2'
  2. Authorize read only permission to the user 'client.usr' on fs 'fsname1'

$ceph fs authorize fsname1 client.usr / r

  1. Authorize read and write permission to the same user 'client.usr' on fs 'fsname2'

$ceph fs authorize fsname2 client.usr / rw

  1. Update the keyring

$ceph auth get client.usr >> ./keyring

With above permssions for the user 'client.usr', following is the expectation. a. The 'client.usr' should be able to only read the contents and not allowed to create or delete files on file system 'fsname1'. b. The 'client.usr' should be able to read/write on file system 'fsname2'.

But, with this bug, the 'client.usr' is allowed to read/write on file system 'fsname1'. See below.

  1. Mount the file system 'fsname1' with the user 'client.usr'

$sudo bin/mount.ceph usr@.fsname1=/ /kmnt_fsname1_usr/

  1. Try creating a file on file system 'fsname1' with user 'client.usr'. This

should fail but passes with this bug. $touch /kmnt_fsname1_usr/file1

  1. Mount the file system 'fsname1' with the user 'client.admin' and create a

file. $sudo bin/mount.ceph admin@.fsname1=/ /kmnt_fsname1_admin $echo "data" > /kmnt_fsname1_admin/admin_file1

  1. Try removing an existing file on file system 'fsname1' with the user

'client.usr'. This shoudn't succeed but succeeds with the bug. $rm -f /kmnt_fsname1_usr/admin_file1

For more information, please take a look at the corresponding mds/fuse patch and tests added by looking into the tracker mentioned below.

v2: Fix a possible null dereference in doutc v3: Don't store fsname from mdsmap, validate against ceph_mount_options's fsname and use it v4: Code refactor, better warning message and fix possible compiler warning

[ Slava.Dubeyko: "fsname check failed" -> "fsname mismatch" ]

Executive ViewAI

Why It Matters

A kernel-level authorization bypass in CephFS multi-filesystem deployments allows authenticated cluster users to escalate privileges across filesystems and perform unauthorized file operations, creating a data integrity and compliance risk for organizations managing multi-tenant or multi-application Ceph clusters.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. If multifs is not operationally required, disable and migrate to separate Ceph cluster instances. Restrict authenticated user capabilities through granular Ceph auth to prevent cross-filesystem capability usage. Monitor Ceph MDS and kernel audit logs for unauthorized cross-filesystem access patterns. Apply principle of least privilege to all Ceph user accounts and enforce read-only access by default except where write access is explicitly business-required.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
in-kernel CephFS client with multi-filesystem clusters, specialized storage deployments
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Image SL-Micro Affected
Container suse/sl-micro/6.0/toolbox:latest Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
SUSE Linux Enterprise High Availability Extension 16.0 Fixed

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