In the Linux kernel, the following vulnerability has been resolved:
libceph: fix two unsafe bare decodes in decode_lockers()
decode_lockers() in cls_lock_client.c contains two bare decode operations that allow a malicious or compromised OSD to trigger slab-out-of-bounds reads:
1. ceph_decode_32(p) at the num_lockers field has no preceding bounds check. ceph_start_decoding() accepts struct_len=0 as valid -- the internal ceph_decode_need(p, end, 0, bad) always passes -- so when an OSD sends struct_len=0, ceph_start_decoding() returns success with p == end. The immediately following bare ceph_decode_32(p) then reads 4 bytes past the validated buffer boundary. The garbage value is passed directly to kzalloc_objs() as the locker count.
The sibling function decode_watchers() in osd_client.c already uses ceph_decode_32_safe() after its own ceph_start_decoding() call. decode_lockers() was the only site using the bare variant.
2. ceph_decode_8(p) after the decode_locker() loop has no preceding bounds check. If an OSD crafts num_lockers such that the loop advances p exactly to end, the subsequent bare ceph_decode_8(p) reads one byte past the validated buffer boundary. The result is passed directly into *type, which is used as a lock type discriminator by callers, giving an OSD-controlled one-byte OOB read with direct influence over the lock type field.
Fix both by replacing bare operations with their safe variants: ceph_decode_32(p) -> ceph_decode_32_safe(p, end, *num_lockers, err_inval) ceph_decode_8(p) -> ceph_decode_8_safe(p, end, *type, err_free_lockers)
The goto targets differ intentionally: err_inval: is a new label returning -EINVAL directly. It is used for the pre-allocation failure path where *lockers is not yet allocated and must not be passed to ceph_free_lockers().
err_free_lockers: is the existing label. It is used for the post-allocation failure path where *lockers is allocated and must be freed.
ret is set to -EINVAL before ceph_decode_8_safe() so that err_free_lockers returns the correct error code on bounds violation. Without this, err_free_lockers would return a stale ret value (0 from the successful decode_locker() loop), silently swallowing the error.
-EINVAL is correct for both failure paths. The data received from the OSD is structurally malformed. -ENOMEM would misrepresent the failure class to callers and to stable@ backporters triaging error paths.
Attacker model: a malicious or compromised OSD in a multi-tenant Ceph deployment can trigger this against any kernel client that issues the lock.get_info class method (e.g. during RBD exclusive lock acquisition).
[ idryomov: trim changelog, formatting ]
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade python-perfUpgrade kernel-livepatch-5.15.220-153.252Upgrade perf-debuginfoUpgrade kernel-tools-develUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-toolsUpgrade perfUpgrade kernel-develUpgrade kernel-livepatch-5.10.268-266.1092Upgrade kernel-tools-debuginfoUpgrade python-perf-debuginfoUpgrade bpftool-debuginfoUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernelUpgrade kernel-headersUpgrade bpftool | Oct 19, 2026 | Oct 19, 2026 |
| Amazon_linux_2023 | — | Upgrade kernel6.18-headersUpgrade bpftool6.18-debuginfoUpgrade kernel6.18-modules-extraUpgrade perf6.18-debuginfoUpgrade microvm-kernel6.18Upgrade kernel6.18-debuginfoUpgrade kernel6.18Upgrade kernel6.18-debuginfo-common-aarch64Upgrade kernel-livepatch-6.18.48-107.148Upgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-toolsUpgrade python3-perf6.18-debuginfoUpgrade kernel6.18-tools-develUpgrade python3-perf6.18Upgrade bpftool6.18Upgrade kernel6.18-modules-extra-commonUpgrade kernel6.18-develUpgrade kernel6.18-tools-debuginfoUpgrade perf6.18 | Sep 30, 2026 | Aug 8, 2026 |
| Debian | — | Upgrade linux-6.12Upgrade linux | Aug 26, 2026 | Aug 26, 2026 |
| Redhat_linux | — | No solution exists | Oct 28, 2026 | Aug 8, 2026 |
| Ubuntu | — | Upgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-7.0.0-1014-awsUpgrade linux-image-oem-26.04Upgrade linux-image-azure-fdeUpgrade linux-image-awsUpgrade linux-image-azureUpgrade linux-image-realtime-7.0Upgrade linux-image-oem-26.04aUpgrade linux-image-azure-lts-26.04Upgrade linux-image-6.8.0-1035-nvidia-tegra-rtNo solution existsUpgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-gcp-7.0Upgrade linux-image-azure-fde-7.0Upgrade linux-image-gke-64k-7.0Upgrade linux-image-nvidia-tegra-rtUpgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-gcp-64kUpgrade linux-image-genericUpgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-oracleUpgrade linux-image-aws-7.0Upgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-gke-64kUpgrade linux-image-gke-7.0Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-7.0.0-1014-gcp-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-nvidia-tegraUpgrade linux-image-generic-64kUpgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-gcpUpgrade linux-image-oracle-7.0Upgrade linux-image-gkeUpgrade linux-image-ibmUpgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-realtimeUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-7.0.0-1015-oemUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-7.0.0-38-genericUpgrade linux-image-6.8.0-1035-nvidia-tegraUpgrade linux-image-7.0.0-1014-gcpUpgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-oracle-64kUpgrade linux-image-generic-64k-7.0Upgrade linux-image-virtual-7.0Upgrade linux-image-virtualUpgrade linux-image-realtime-64kUpgrade linux-image-oem-7.0Upgrade linux-image-generic-hwe-26.04 | Sep 21, 2026 | Sep 18, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Sep 15, 2026 | Aug 8, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub