cve.bz

CVE-2025-68285 linux linux

9.8 criticalEPSS 0.6%Fix available

Critical (9.8) in linux linux. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: libceph: fix potential use-after-free in have_mon_and_osd_map() The wait loop in __ceph_open_session() can race with the client receiving a new monmap or osdmap shortly after the initial map is received. Both ceph_monc_handle_map() and handle_one_map() install a new map immediately after freeing the old one kfree(monc->monmap); monc->monmap = monmap; ceph_osdmap_destroy(osdc->osdmap); osdc->osdmap = newmap; under client->monc.mutex and client->osdc.lock respectively, but because neither is taken in have_mon_and_osd_map() it's possible for client->monc.monmap->epoch and client->osdc.osdmap->epoch arms in client->monc.monmap && client->monc.monmap->epoch && client->osdc.osdmap && client->osdc.osdmap->epoch; condition to dereference an already freed map. This happens to be reproducible with generic/395 and generic/397 with KASAN enabled: BUG: KASAN: slab-use-after-free in have_mon_and_osd_map+0x56/0x70 Read of size 4 at addr ffff88811012d810 by task mount.ceph/13305 CPU: 2 UID: 0 PID: 13305 Comm: mount.ceph Not tainted 6.14.0-rc2-build2+ #1266 ... Call Trace: <TASK> have_mon_and_osd_map+0x56/0x70 ceph_open_session+0x182/0x290 ceph_get_tree+0x333/0x680 vfs_get_tree+0x49/0x180 do_new_mount+0x1a3/0x2d0 path_mount+0x6dd/0x730 do_mount+0x99/0xe0 __do_sys_mount+0x141/0x180 do_syscall_64+0x9f/0x100 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK> Allocated by task 13305: ceph_osdmap_alloc+0x16/0x130 ceph_osdc_init+0x27a/0x4c0 ceph_create_client+0x153/0x190 create_fs_client+0x50/0x2a0 ceph_get_tree+0xff/0x680 vfs_get_tree+0x49/0x180 do_new_mount+0x1a3/0x2d0 path_mount+0x6dd/0x730 do_mount+0x99/0xe0 __do_sys_mount+0x141/0x180 do_syscall_64+0x9f/0x100 entry_SYSCALL_64_after_hwframe+0x76/0x7e Freed by task 9475: kfree+0x212/0x290 handle_one_map+0x23c/0x3b0 ceph_osdc_handle_map+0x3c9/0x590 mon_dispatch+0x655/0x6f0 ceph_con_process_message+0xc3/0xe0 ceph_con_v1_try_read+0x614/0x760 ceph_con_workfn+0x2de/0x650 process_one_work+0x486/0x7c0 process_scheduled_works+0x73/0x90 worker_thread+0x1c8/0x2a0 kthread+0x2ec/0x300 ret_from_fork+0x24/0x40 ret_from_fork_asm+0x1a/0x30 Rewrite the wait loop to check the above condition directly with client->monc.mutex and client->osdc.lock taken as appropriate. While at it, improve the timeout handling (previously mount_timeout could be exceeded in case wait_event_interruptible_timeout() slept more than once) and access client->auth_err under client->monc.mutex to match how it's set in finish_auth(). monmap_show() and osdmap_show() now take the respective lock before accessing the map as well.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Linux Linux: fixed in 5.10.247
  • Linux Linux: fixed in 5.15.197
  • Linux Linux: fixed in 6.1.159
  • Linux Linux: fixed in 6.6.119
  • Linux Linux: fixed in 6.12.61
  • Linux Linux: fixed in 6.17.11
  • Linux Linux: fixed in 6.18
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-68285 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68285?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68285?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-68285 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-68285

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-68285](https://cve.bz/cve/badge/CVE-2025-68285.svg)](https://cve.bz/cve/CVE-2025-68285)

HTML:

<a href="https://cve.bz/cve/CVE-2025-68285"><img src="https://cve.bz/cve/badge/CVE-2025-68285.svg" alt="CVE-2025-68285"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux2.6.35 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.247
Linux5.155.15.197
Linux6.16.1.159
Linux6.66.6.119
Linux6.126.12.61
Linux6.176.17.11
Linuxlater releases6.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux-6.16.1.159-1~deb11u1DLA-4436-1
Debian12linux6.1.159-1DEBIAN-CVE-2025-68285
Debian13linux6.12.63-1DEBIAN-CVE-2025-68285
Debian14linux6.17.11-1DEBIAN-CVE-2025-68285
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-68285
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-68285
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-68285
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-173.183UBUNTU-CVE-2025-68285 USN-8096-1
Ubuntu22.04:LTSlinux-aws5.15.0-1103.110UBUNTU-CVE-2025-68285 USN-8096-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1050.53~22.04.1UBUNTU-CVE-2025-68285 USN-8095-4
Ubuntu22.04:LTSlinux-azure5.15.0-1109.118UBUNTU-CVE-2025-68285 USN-8163-2
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-68285 USN-8126-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1109.118.1UBUNTU-CVE-2025-68285
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1058.65~22.04.1UBUNTU-CVE-2025-68285
Ubuntu22.04:LTSlinux-gcp5.15.0-1103.112UBUNTU-CVE-2025-68285 USN-8096-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1052.55~22.04.1UBUNTU-CVE-2025-68285 USN-8095-1
79 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-553_30_10:1-10.el8_10RHSA-2026:2446
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-553_40_10:1-8.el8_10RHSA-2026:2446
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-553_53_10:1-6.el8_10RHSA-2026:2446
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-553_72_10:1-3.el8_10RHSA-2026:2446
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-553_85_10:1-1.el8_10RHSA-2026:2446
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 19 more0:4.18.0-553.92.1.el8_10RHSA-2026:0444
Red Hatenterprise_linux:8::crbkernel-tools-libs-devel0:4.18.0-553.92.1.el8_10RHSA-2026:0444
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.92.1.rt7.433.el8_10RHSA-2026:0443
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.92.1.rt7.433.el8_10RHSA-2026:0443
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-611.24.1.el9_7RHSA-2026:0793
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-611.24.1.el9_7RHSA-2026:0793
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-611_9_1, kpatch-patch-5_14_0-611_9_1-debuginfo, kpatch-patch-5_14_0-611_9_1-debugsource0:1-2.el9_7RHSA-2026:1820
64 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.194.1SUSE-SU-2026:0617-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6kernel-default6.4.0-150600.23.87.1SUSE-SU-2026:0471-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.31.1SUSE-SU-2026:0447-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.9.1SUSE-SU-2026:20228-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.194.1SUSE-SU-2026:0617-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morekernel-default-base5.14.21-150400.24.194.1.150400.24.98.3SUSE-SU-2026:0617-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.136.1SUSE-SU-2026:0474-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.136.1.150500.6.67.1SUSE-SU-2026:0474-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.296.1SUSE-SU-2026:1078-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_6515-2.1SUSE-SU-2026:0953-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_6714-2.1SUSE-SU-2026:1088-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_6812-2.1SUSE-SU-2026:0954-1
106 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.87.1SUSE-SU-2026:0471-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.87.1.150600.12.40.1SUSE-SU-2026:0471-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.9.1.160000.2.6openSUSE-SU-2026:20145-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 9 more6.12.0-160000.9.1openSUSE-SU-2026:20145-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.92.1.rt7.433.el8_10ALSA-2026:0443
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.92.1.el8_10ALSA-2026:0444
AlmaLinux9rv, perf, rtla and 71 more5.14.0-611.24.1.el9_7ALSA-2026:0793
AlmaLinux10kernel-doc, kernel-abi-stablelists6.12.0-124.28.1.el10_1ALSA-2026:0786
AlmaLinux10rv, perf, rtla and 72 more6.12.0-211.60.1.el10_2ALSA-2026:71602
Rocky Linux8kernel0:4.18.0-553.92.1.el8_10RLSA-2026:0444
Rocky Linux8kernel-rt0:4.18.0-553.92.1.rt7.433.el8_10RLSA-2026:0443

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This race condition occurs during Ceph client session establishment. Exploitation is timing-dependent and requires concurrent map updates during mount, making practical exploitation difficult but not impossible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-124.28.1.el10_1Fixed 2026-01-19RHSA-2026:0786
Red Hat Enterprise Linux 10kernel-0:6.12.0-211.60.1.el10_2Fixed 2026-09-24RHSA-2026:71602
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.54.1.el10_0Fixed 2026-01-19RHSA-2026:0747
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.145.1.rt56.1297.el7Fixed 2026-01-19RHSA-2026:0754
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.145.1.el7Fixed 2026-01-19RHSA-2026:0755
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.92.1.rt7.433.el8_10Fixed 2026-01-12RHSA-2026:0443
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.92.1.el8_10Fixed 2026-01-12RHSA-2026:0444
Red Hat Enterprise Linux 8kpatch-patchFixed 2026-02-11RHSA-2026:2446
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.181.1.el8_2Fixed 2026-01-15RHSA-2026:0643
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.183.1.el8_4Fixed 2026-01-14RHSA-2026:0533
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.183.1.el8_4Fixed 2026-01-14RHSA-2026:0533
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.175.1.el8_6Fixed 2026-01-14RHSA-2026:0536
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.175.1.el8_6Fixed 2026-01-14RHSA-2026:0536
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.175.1.el8_6Fixed 2026-01-14RHSA-2026:0536
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskpatch-patchFixed 2026-02-11RHSA-2026:2558
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.124.1.el8_8Fixed 2026-01-14RHSA-2026:0532
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.124.1.el8_8Fixed 2026-01-14RHSA-2026:0532
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskpatch-patchFixed 2026-02-11RHSA-2026:2557
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-68285.

References

Check your stackJSON