VDB

CVE-2026-68159

CVE-2026-68159 PUBLISHED CVSS 9.8 CRITICAL

libceph: bound pg_{temp,upmap,upmap_items} length to CEPH_PG_MAX_SIZE

Reported by linux · Published August 10, 2026

In the Linux kernel, the following vulnerability has been resolved: libceph: bound pg_{temp,upmap,upmap_items} length to CEPH_PG_MAX_SIZE __decode_pg_temp() decodes an user-controlled length but only rejects values large enough to overflow the allocation; it does not bound it to CEPH_PG_MAX_SIZE. The helper backs both pg_temp and pg_upmap decoding, and apply_upmap()/get_temp_osds() later copy the decoded list into the fixed-size on-stack array struct ceph_osds.osds[CEPH_PG_MAX_SIZE]. A monitor that sends an OSDMap with a pg_temp/pg_upmap entry longer than 32 thus causes a stack out-of-bounds write. An OSD set for a single PG can never exceed CEPH_PG_MAX_SIZE, so reject longer entries at decode time. The bound is well below the old overflow threshold, so it also covers the allocation-size overflow the previous check guarded against. BUG: KASAN: stack-out-of-bounds in ceph_pg_to_up_acting_osds Write of size 4 ... by task exploit kasan_report (mm/kasan/report.c:595) ceph_pg_to_up_acting_osds (net/ceph/osdmap.c:2617 net/ceph/osdmap.c:2833) calc_target (net/ceph/osd_client.c:1638) __submit_request (net/ceph/osd_client.c:2394) ceph_osdc_start_request (net/ceph/osd_client.c:2490) ceph_osdc_call (net/ceph/osd_client.c:5164) rbd_dev_image_probe (drivers/block/rbd.c:6899) do_rbd_add (drivers/block/rbd.c:7138) ... kernel BUG at net/ceph/osdmap.c:2670! [ idryomov: do the same in __decode_pg_upmap_items() ]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-debug-modules-extraerrata.rockylinux.org6.12.0-211.58.1.el10
kernel6.18-headersAmazon Linux1:6.18.48-107.148.amzn2023
kernel-zfcpdump-modules-coreerrata.rockylinux.org6.12.0-211.58.1.el10
python3-perf-debuginfoerrata.rockylinux.org6.12.0-211.58.1.el10
kernel-modules-extraerrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.49.1.el9
kernel-debuginfoerrata.rockylinux.org6.12.0-211.58.1.el10
bpftool6.12Amazon Linux1:6.12.110-135.201.amzn2023
rtlaerrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.49.1.el9
kernel-develerrata.rockylinux.org5.14.0-687.49.1.el9, 4.18.0-553.169.1.el8
kernel-rt-debug-kvmerrata.rockylinux.org4.18.0-553.169.1.rt7.510.el8
kernel-rt-modules-coreerrata.rockylinux.org5.14.0-687.49.1.el9
kernel-moduleserrata.rockylinux.org4.18.0-553.169.1.el8

27 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa303bb0e58345fe9f7ab2f82b90266f2b5036058, a303bb0e58345fe9f7ab2f82b90266f2b5036058, a303bb0e58345fe9f7ab2f82b90266f2b5036058
LinuxLinux4.13, 0, 5.10.266
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel-devel0
linuxlinux_kernel4.13, 4.13, 4.13
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
amazon:2023perf0
amazon:2023kernel0
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023python3-perf0
LinuxLinux6.18.46, *, *
amazon:2023python3-perf6.180
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-tools-devel0

…and 18 more

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 24, 2026 EPSS Score (30 in total, the first dated here)
  • Sep 30, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68159
vulnetix vdb fixes CVE-2026-68159

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68159/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›