In the Linux kernel, the following vulnerability has been resolved: libceph: fix two unsafe bare decodes in decode_lockers() decode_lockers() in… (CVE-2026-68082)
A vulnerability in the Linux kernel's Ceph client code (decode_lockers() function) allows a malicious or compromised Ceph OSD to trigger out-of-bounds reads by exploiting unsafe decode operations. This can lead to slab-out-of-bounds reads and influence over lock type fields during lock.get_info operations. The issue is fixed by replacing unsafe decode calls with safe variants that include proper bounds checking.
AI Analysis
Technical Summary
The Linux kernel's cls_lock_client.c file contained two unsafe bare decode operations in the decode_lockers() function. These operations lacked proper bounds checking, allowing a malicious or compromised Ceph OSD to cause slab-out-of-bounds reads. Specifically, ceph_decode_32(p) was called without verifying buffer length, leading to a 4-byte read past the buffer boundary when struct_len=0 was sent. Additionally, ceph_decode_8(p) was called after a loop that could advance the pointer exactly to the buffer end, causing a 1-byte out-of-bounds read. These unsafe reads could lead to memory corruption or influence over lock type discriminators used by kernel clients during lock.get_info calls, such as RBD exclusive lock acquisition. The fix replaces these bare decode calls with their safe counterparts (ceph_decode_32_safe and ceph_decode_8_safe) that perform proper bounds checks and handle errors correctly.
Potential Impact
A malicious or compromised Ceph OSD in a multi-tenant environment can exploit this vulnerability to cause out-of-bounds memory reads on kernel clients issuing lock.get_info requests. This could lead to memory corruption or incorrect lock type handling, potentially impacting kernel stability or security in affected systems using Ceph. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by replacing unsafe decode operations with safe variants that include bounds checking and proper error handling. Users should apply the official kernel updates that include this patch once available. Since no vendor advisory or patch link is provided, check the Linux kernel mailing lists or official repositories for the patch and update guidance. No additional mitigations are indicated.
In the Linux kernel, the following vulnerability has been resolved: libceph: fix two unsafe bare decodes in decode_lockers() decode_lockers() in… (CVE-2026-68082)
Description
A vulnerability in the Linux kernel's Ceph client code (decode_lockers() function) allows a malicious or compromised Ceph OSD to trigger out-of-bounds reads by exploiting unsafe decode operations. This can lead to slab-out-of-bounds reads and influence over lock type fields during lock.get_info operations. The issue is fixed by replacing unsafe decode calls with safe variants that include proper bounds checking.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's cls_lock_client.c file contained two unsafe bare decode operations in the decode_lockers() function. These operations lacked proper bounds checking, allowing a malicious or compromised Ceph OSD to cause slab-out-of-bounds reads. Specifically, ceph_decode_32(p) was called without verifying buffer length, leading to a 4-byte read past the buffer boundary when struct_len=0 was sent. Additionally, ceph_decode_8(p) was called after a loop that could advance the pointer exactly to the buffer end, causing a 1-byte out-of-bounds read. These unsafe reads could lead to memory corruption or influence over lock type discriminators used by kernel clients during lock.get_info calls, such as RBD exclusive lock acquisition. The fix replaces these bare decode calls with their safe counterparts (ceph_decode_32_safe and ceph_decode_8_safe) that perform proper bounds checks and handle errors correctly.
Potential Impact
A malicious or compromised Ceph OSD in a multi-tenant environment can exploit this vulnerability to cause out-of-bounds memory reads on kernel clients issuing lock.get_info requests. This could lead to memory corruption or incorrect lock type handling, potentially impacting kernel stability or security in affected systems using Ceph. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by replacing unsafe decode operations with safe variants that include bounds checking and proper error handling. Users should apply the official kernel updates that include this patch once available. Since no vendor advisory or patch link is provided, check the Linux kernel mailing lists or official repositories for the patch and update guidance. No additional mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7xmj-3fxq-r5hp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68082"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a774280bf8831d539b061c3
Added to database: 08/08/2026, 14:51:44 UTC
Last enriched: 08/08/2026, 14:55:41 UTC
Last updated: 08/09/2026, 00:41:16 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.