Skip to contentSkip to conversation

CVE-2025-68284: libceph: prevent potential out-of-bounds writes in handle_auth_session_key()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 16, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

libceph: prevent potential out-of-bounds writes in handle_auth_session_key()

The len field originates from untrusted network packets. Boundary checks have been added to prevent potential out-of-bounds writes when decrypting the connection secret or processing service tickets.

[ idryomov: changelog ]

The Linux kernel CVE team has assigned CVE-2025-68284 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.15.197 with commit f22c55a20a2d9ffbbac57408d5d488cef8201e9d
	Fixed in 6.1.159 with commit 8dfcc56af28cffb8f25fb9be37b3acc61f2a3d09
	Fixed in 6.6.119 with commit ccbccfba25e9aa395daaea156b5e7790910054c4
	Fixed in 6.12.61 with commit 5ef575834ca99f719d7573cdece9df2fe2b72424
	Fixed in 6.17.11 with commit 6920ff09bf911bc919cd7a6b7176fbdd1a6e6850
	Fixed in 6.18 with commit 7fce830ecd0a0256590ee37eb65a39cbad3d64fc

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2025-68284

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/ceph/auth_x.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/f22c55a20a2d9ffbbac57408d5d488cef8201e9d
	https://git.kernel.org/stable/c/8dfcc56af28cffb8f25fb9be37b3acc61f2a3d09
	https://git.kernel.org/stable/c/ccbccfba25e9aa395daaea156b5e7790910054c4
	https://git.kernel.org/stable/c/5ef575834ca99f719d7573cdece9df2fe2b72424
	https://git.kernel.org/stable/c/6920ff09bf911bc919cd7a6b7176fbdd1a6e6850
	https://git.kernel.org/stable/c/7fce830ecd0a0256590ee37eb65a39cbad3d64fc