[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025121637-CVE-2025-68283-77dd@gregkh>
Date: Tue, 16 Dec 2025 16:06:37 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68283: libceph: replace BUG_ON with bounds check for map->max_osd
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
libceph: replace BUG_ON with bounds check for map->max_osd
OSD indexes come from untrusted network packets. Boundary checks are
added to validate these against map->max_osd.
[ idryomov: drop BUG_ON in ceph_get_primary_affinity(), minor cosmetic
edits ]
The Linux kernel CVE team has assigned CVE-2025-68283 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.159 with commit 57f5fbae9f1024aba17ff75e00433324115c548a
Fixed in 6.6.119 with commit becc488a4d864db338ebd4e313aa3c77da24b604
Fixed in 6.12.61 with commit e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d
Fixed in 6.17.11 with commit b4368b7f97014e1015445d61abd0b27c4c6e8424
Fixed in 6.18 with commit ec3797f043756a94ea2d0f106022e14ac4946c02
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-68283
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/osdmap.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/57f5fbae9f1024aba17ff75e00433324115c548a
https://git.kernel.org/stable/c/becc488a4d864db338ebd4e313aa3c77da24b604
https://git.kernel.org/stable/c/e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d
https://git.kernel.org/stable/c/b4368b7f97014e1015445d61abd0b27c4c6e8424
https://git.kernel.org/stable/c/ec3797f043756a94ea2d0f106022e14ac4946c02
Powered by blists - more mailing lists