7.5
HIGH CVSS 3.1
CVE-2026-52957
libceph: Fix potential null-ptr-deref in decode_choose_args()
Description

In the Linux kernel, the following vulnerability has been resolved: libceph: Fix potential null-ptr-deref in decode_choose_args() A message of type CEPH_MSG_OSD_MAP contains an OSD map that itself contains a CRUSH map. When decoding this CRUSH map in crush_decode(), an array of max_buckets CRUSH buckets is decoded, where some indices may not refer to actual buckets and are therefore set to NULL. The received CRUSH map may optionally contain choose_args that get decoded in decode_choose_args(). When decoding a crush_choose_arg_map, a series of choose_args for different buckets is decoded, with the bucket_index being read from the incoming message. It is only checked that the bucket index does not exceed max_buckets, but not that it doesn't point to an index with a NULL bucket. If a (potentially corrupted) message contains a crush_choose_arg_map including such a bucket_index, a null pointer dereference may occur in the subsequent processing when attempting to access the bucket with the given index. This patch fixes the issue by extending the affected check. Now, it is only attempted to access the bucket if it is not NULL.

INFO

Published Date :

June 24, 2026, 5:17 p.m.

Last Modified :

July 14, 2026, 4:42 p.m.

Remotely Exploit :

Yes !

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-52957 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Address null pointer dereference in crush_decode by checking bucket validity.
  • Apply the provided kernel patch.
  • Ensure bucket indexes are not null.
  • Validate bucket indexes against max_buckets.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-52957 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-52957 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52957 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-52957 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 14, 2026

    Action Type Old Value New Value
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.13:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.13:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.13:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.13:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.13.1 up to (excluding) 5.10.258 *cpe:2.3:o:linux:linux_kernel:4.13:rc7:*:*:*:*:*:*
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/301286c0ccd37d66b0e40786fd35a4f19cdbd88a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/312ec973efac0efb9b9ed64214235910e9ecbaa8 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7169f326a23d0f547fcd90e68b72fd387622e126 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d55ffad8d422b5d1cc44dad32bd3d25f4471cd9f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d7a65a34d2453f8cd3e0cc0e1319740af7e24276 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f2f95e6d4b97e70bb876139b0583fc8079983f85 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 29, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'd55ffad8d422b5d1cc44dad32bd3d25f4471cd9f', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '301286c0ccd37d66b0e40786fd35a4f19cdbd88a', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '7169f326a23d0f547fcd90e68b72fd387622e126', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'd7a65a34d2453f8cd3e0cc0e1319740af7e24276', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '312ec973efac0efb9b9ed64214235910e9ecbaa8', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'f2f95e6d4b97e70bb876139b0583fc8079983f85', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '5.10.258', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '5.15.209', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.1.175', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.141', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.91', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.33', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.0.10', 'versionType': 'semver'}], 'programFiles': ['net/ceph/osdmap.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ceph/osdmap.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': 'd55ffad8d422b5d1cc44dad32bd3d25f4471cd9f', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': '301286c0ccd37d66b0e40786fd35a4f19cdbd88a', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': '7169f326a23d0f547fcd90e68b72fd387622e126', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': 'd7a65a34d2453f8cd3e0cc0e1319740af7e24276', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': '312ec973efac0efb9b9ed64214235910e9ecbaa8', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': 'f2f95e6d4b97e70bb876139b0583fc8079983f85', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': 'a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5', 'lessThan': '28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf', 'versionType': 'git'}], 'programFiles': ['net/ceph/osdmap.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ceph/osdmap.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 28, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'd55ffad8d422b5d1cc44dad32bd3d25f4471cd9f', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '301286c0ccd37d66b0e40786fd35a4f19cdbd88a', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '7169f326a23d0f547fcd90e68b72fd387622e126', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'd7a65a34d2453f8cd3e0cc0e1319740af7e24276', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '312ec973efac0efb9b9ed64214235910e9ecbaa8', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'f2f95e6d4b97e70bb876139b0583fc8079983f85', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '5.10.258', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '5.15.209', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.1.175', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.141', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.91', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.33', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.0.10', 'versionType': 'semver'}], 'programFiles': ['net/ceph/osdmap.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ceph/osdmap.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: libceph: Fix potential null-ptr-deref in decode_choose_args() A message of type CEPH_MSG_OSD_MAP contains an OSD map that itself contains a CRUSH map. When decoding this CRUSH map in crush_decode(), an array of max_buckets CRUSH buckets is decoded, where some indices may not refer to actual buckets and are therefore set to NULL. The received CRUSH map may optionally contain choose_args that get decoded in decode_choose_args(). When decoding a crush_choose_arg_map, a series of choose_args for different buckets is decoded, with the bucket_index being read from the incoming message. It is only checked that the bucket index does not exceed max_buckets, but not that it doesn't point to an index with a NULL bucket. If a (potentially corrupted) message contains a crush_choose_arg_map including such a bucket_index, a null pointer dereference may occur in the subsequent processing when attempting to access the bucket with the given index. This patch fixes the issue by extending the affected check. Now, it is only attempted to access the bucket if it is not NULL.
    Added Reference https://git.kernel.org/stable/c/28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf
    Added Reference https://git.kernel.org/stable/c/301286c0ccd37d66b0e40786fd35a4f19cdbd88a
    Added Reference https://git.kernel.org/stable/c/312ec973efac0efb9b9ed64214235910e9ecbaa8
    Added Reference https://git.kernel.org/stable/c/7169f326a23d0f547fcd90e68b72fd387622e126
    Added Reference https://git.kernel.org/stable/c/a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c
    Added Reference https://git.kernel.org/stable/c/d55ffad8d422b5d1cc44dad32bd3d25f4471cd9f
    Added Reference https://git.kernel.org/stable/c/d7a65a34d2453f8cd3e0cc0e1319740af7e24276
    Added Reference https://git.kernel.org/stable/c/f2f95e6d4b97e70bb876139b0583fc8079983f85
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.