CVE-2026-68159
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.58.1.el10 |
| kernel6.18-headers | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel-zfcpdump-modules-core | errata.rockylinux.org | 6.12.0-211.58.1.el10 |
| python3-perf-debuginfo | errata.rockylinux.org | 6.12.0-211.58.1.el10 |
| kernel-modules-extra | errata.rockylinux.org | 6.12.0-211.58.1.el10, 5.14.0-687.49.1.el9 |
| kernel-debuginfo | errata.rockylinux.org | 6.12.0-211.58.1.el10 |
| bpftool6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| rtla | errata.rockylinux.org | 6.12.0-211.58.1.el10, 5.14.0-687.49.1.el9 |
| kernel-devel | errata.rockylinux.org | 5.14.0-687.49.1.el9, 4.18.0-553.169.1.el8 |
| kernel-rt-debug-kvm | errata.rockylinux.org | 4.18.0-553.169.1.rt7.510.el8 |
| kernel-rt-modules-core | errata.rockylinux.org | 5.14.0-687.49.1.el9 |
| kernel-modules | errata.rockylinux.org | 4.18.0-553.169.1.el8 |
27 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a303bb0e58345fe9f7ab2f82b90266f2b5036058, a303bb0e58345fe9f7ab2f82b90266f2b5036058, a303bb0e58345fe9f7ab2f82b90266f2b5036058 |
| Linux | Linux | 4.13, 0, 5.10.266 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| linux | linux_kernel | 4.13, 4.13, 4.13 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2023 | python3-perf | 0 |
| Linux | Linux | 6.18.46, *, * |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
…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