Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40362

published high CVSS 3.1 · 8.8

ceph: fix multifs mds auth caps issue

Published
16 Dec 2025, 13:40:02 UTC
Updated
15 Oct 2026, 22:02:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux596afb0b8933ba6ed7227adcc538db26feb25c74 to < 07640d34a781bb2e39020a39137073c03c4aa932 · 596afb0b8933ba6ed7227adcc538db26feb25c74 to < ca3da8b27ab9a0923ad477447cfb8fc7f4b4c523 · 596afb0b8933ba6ed7227adcc538db26feb25c74 to < 22c73d52a6d05c5a2053385c0d6cd9984732799d · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1495 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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 3. Authorize read and write permission to the same user 'client.usr' on fs 'fsname2' $ceph fs authorize fsname2 client.usr / rw 4. 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. 5. Mount the file system 'fsname1' with the user 'client.usr' $sudo bin/mount.ceph [email protected]=/ /kmnt_fsname1_usr/ 6. 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 7. Mount the file system 'fsname1' with the user 'client.admin' and create a file. $sudo bin/mount.ceph [email protected]=/ /kmnt_fsname1_admin $echo "data" > /kmnt_fsname1_admin/admin_file1 8. 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" ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The broken check is reached through ordinary local syscalls (`open`, `openat(O_CREAT)`, `unlink`, `rmdir`, `setattr`) on an already-mounted CephFS; the attacker acts on the client host, not over the wire. AC:L - No race, no memory-layout dependency — the attacker simply performs the file operation and the mismatched cap entry is applied deterministically; the multi-filesystem/`ceph fs authorize` configuration is a standard supported multi-tenant CephFS deployment. PR:L - Any unprivileged local user with access to the CephFS mount can trigger it; no capability, no user-namespace trick, and no cluster-side privilege is needed because the mount's cephx key is shared by all local users. UI:N - Exploitation requires no action by any other user or administrator beyond the mount already existing; the attacker's own file operations are sufficient. S:C - The kernel client enforces the Ceph cluster's cephx MDS auth policy on the cluster's behalf (the MDS delegates async-dirop authorization to it via CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK), so the bypass grants access to data in a different filesystem/tenant governed by the Ceph cluster's separate security authority. C:H - A cap entry belonging to another filesystem (e.g. `allow rw fsname=fs2 path=/`) is applied to the mounted filesystem, defeating `path=` and uid/gid read restrictions and exposing the contents of files the key was never authorized to read. I:H - The commit's reproducer shows a read-only-authorized user creating files and deleting an admin-written file on the restricted filesystem; root_squash and writeable=false restrictions are both defeated, giving unauthorized write over the tree. A:H - The same bypass permits unlink/rmdir and overwrite of other tenants' data on shared cluster storage, destroying data that legitimate users depend on.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 596afb0b8933ba6ed7227adcc538db26feb25c74 to < 07640d34a781bb2e39020a39137073c03c4aa932 (affected · git)596afb0b8933ba6ed7227adcc538db26feb25c74 to < ca3da8b27ab9a0923ad477447cfb8fc7f4b4c523 (affected · git)596afb0b8933ba6ed7227adcc538db26feb25c74 to < 22c73d52a6d05c5a2053385c0d6cd9984732799d (affected · git)Default: unaffected Linux · cna
Linux Linux 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

ceph: fix multifs mds auth caps issue

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
70f7b65c4127fe5b13e3e0925942f1e03709da9aaf8f0d9950587fd497daafd8
Ingested
15 Oct 2026, 23:29:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected