CVE-2026-43405
libceph: Use u32 for non-negative values in ceph_monmap_decode()
Reported by linux · Published May 8, 2026
In the Linux kernel, the following vulnerability has been resolved: libceph: Use u32 for non-negative values in ceph_monmap_decode() This patch fixes unnecessary implicit conversions that change signedness of blob_len and num_mon in ceph_monmap_decode(). Currently blob_len and num_mon are (signed) int variables. They are used to hold values that are always non-negative and get assigned in ceph_decode_32_safe(), which is meant to assign u32 values. Both variables are subsequently used as unsigned values, and the value of num_mon is further assigned to monmap->num_mon, which is of type u32. Therefore, both variables should be of type u32. This is especially relevant for num_mon. If the value read from the incoming message is very large, it is interpreted as a negative value, and the check for num_mon > CEPH_MAX_MON does not catch it. This leads to the attempt to allocate a very large chunk of memory for monmap, which will most likely fail. In this case, an unnecessary attempt to allocate memory is performed, and -ENOMEM is returned instead of -EINVAL.
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-modules-extra | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-libbpf | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.18-libbpf-devel | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.18-libbpf-static | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| Linux | Linux | ee5588e2bc41acb73f6676c0520420c107cd0140, ba0a4df8c563536857dcbf7b4dbd0f2a15f57ace, b268984ae88cb0dcd7a8e8263962c748448e26e8, 86f7060cd638d6eb042e8ed780fb83a59ca0dcb3, 770444611f047dbfd4517ec0bc1b179d40c2f346, 5f2806684b05bd24d05c091083b8e2517ba8ffac, 08bc6173fd611ad5a40f472bf5f15b92aea0fe40 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c, a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c, a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c |
| Linux | Linux | 5.11, 0, 5.15.203 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-libbpf-devel | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| linux | linux_kernel | 5.11, 5.11, 5.11 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel-livepatch-6.1.168-202.320 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
…and 26 more
Timeline
- May 8, 2026 CVE Published
- May 8, 2026 Security Advisory (81 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Aug 8, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (75 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-43405
vulnetix vdb fixes CVE-2026-43405
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-43405/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart