CVE-2026-43405 (GCVE-0-2026-43405)
Vulnerability from cvelistv5
Published
2026-05-08 14:21
Modified
2026-10-19 19:16
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Version: a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-43405",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:17:06.278684Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-190",
                "description": "CWE-190 Integer Overflow or Wraparound",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T19:16:28.480Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ceph/mon_client.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ee5588e2bc41acb73f6676c0520420c107cd0140",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            },
            {
              "lessThan": "86f7060cd638d6eb042e8ed780fb83a59ca0dcb3",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            },
            {
              "lessThan": "5f2806684b05bd24d05c091083b8e2517ba8ffac",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            },
            {
              "lessThan": "b268984ae88cb0dcd7a8e8263962c748448e26e8",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            },
            {
              "lessThan": "ba0a4df8c563536857dcbf7b4dbd0f2a15f57ace",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            },
            {
              "lessThan": "08bc6173fd611ad5a40f472bf5f15b92aea0fe40",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            },
            {
              "lessThan": "770444611f047dbfd4517ec0bc1b179d40c2f346",
              "status": "affected",
              "version": "a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ceph/mon_client.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.11"
            },
            {
              "lessThan": "5.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.167",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.78",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.19",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.9",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Use u32 for non-negative values in ceph_monmap_decode()\n\nThis patch fixes unnecessary implicit conversions that change signedness\nof blob_len and num_mon in ceph_monmap_decode().\nCurrently blob_len and num_mon are (signed) int variables. They are used\nto hold values that are always non-negative and get assigned in\nceph_decode_32_safe(), which is meant to assign u32 values. Both\nvariables are subsequently used as unsigned values, and the value of\nnum_mon is further assigned to monmap-\u003enum_mon, which is of type u32.\nTherefore, both variables should be of type u32. This is especially\nrelevant for num_mon. If the value read from the incoming message is\nvery large, it is interpreted as a negative value, and the check for\nnum_mon \u003e CEPH_MAX_MON does not catch it. This leads to the attempt to\nallocate a very large chunk of memory for monmap, which will most likely\nfail. In this case, an unnecessary attempt to allocate memory is\nperformed, and -ENOMEM is returned instead of -EINVAL."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable decoder processes CEPH_MSG_MON_MAP data received over the Ceph monitor TCP connection from a remote peer.\nAC:L - Triggering requires sending a single malformed monmap with a large u32 num_mon value; there is no race or condition outside the attacker\u0027s control once they control the monitor-side message stream.\nPR:N - The attacker needs no privileges on the vulnerable host; a malicious or compromised Ceph monitor endpoint can supply the crafted network message.\nUI:N - Although Ceph clients are initially created by mount or RBD setup, monitor map updates are received asynchronously over an established session and do not require further victim action.\nS:U - The impact remains within the kernel/Ceph client security authority and does not cross a VM, sandbox, or hardware isolation boundary.\nC:N - The signedness bug causes an oversized allocation attempt that fails; the investigated path does not expose kernel memory or create a read primitive.\nI:N - The allocation is overflow-safe and fails before the monmap is installed or populated, so there is no demonstrated memory corruption or data modification primitive.\nA:H - A crafted monmap can repeatedly force huge kernel allocation attempts and prevent the client from obtaining or refreshing a valid monitor map, denying Ceph storage availability in affected deployments."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:27:48.288Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ee5588e2bc41acb73f6676c0520420c107cd0140"
        },
        {
          "url": "https://git.kernel.org/stable/c/86f7060cd638d6eb042e8ed780fb83a59ca0dcb3"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f2806684b05bd24d05c091083b8e2517ba8ffac"
        },
        {
          "url": "https://git.kernel.org/stable/c/b268984ae88cb0dcd7a8e8263962c748448e26e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba0a4df8c563536857dcbf7b4dbd0f2a15f57ace"
        },
        {
          "url": "https://git.kernel.org/stable/c/08bc6173fd611ad5a40f472bf5f15b92aea0fe40"
        },
        {
          "url": "https://git.kernel.org/stable/c/770444611f047dbfd4517ec0bc1b179d40c2f346"
        }
      ],
      "title": "libceph: Use u32 for non-negative values in ceph_monmap_decode()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43405",
    "datePublished": "2026-05-08T14:21:45.581Z",
    "dateReserved": "2026-05-01T14:12:56.007Z",
    "dateUpdated": "2026-10-19T19:16:28.480Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-43405\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:17:06.278684Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-190\", \"description\": \"CWE-190 Integer Overflow or Wraparound\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:17:06.984Z\"}}], \"cna\": {\"title\": \"libceph: Use u32 for non-negative values in ceph_monmap_decode()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The vulnerable decoder processes CEPH_MSG_MON_MAP data received over the Ceph monitor TCP connection from a remote peer.\\nAC:L - Triggering requires sending a single malformed monmap with a large u32 num_mon value; there is no race or condition outside the attacker\u0027s control once they control the monitor-side message stream.\\nPR:N - The attacker needs no privileges on the vulnerable host; a malicious or compromised Ceph monitor endpoint can supply the crafted network message.\\nUI:N - Although Ceph clients are initially created by mount or RBD setup, monitor map updates are received asynchronously over an established session and do not require further victim action.\\nS:U - The impact remains within the kernel/Ceph client security authority and does not cross a VM, sandbox, or hardware isolation boundary.\\nC:N - The signedness bug causes an oversized allocation attempt that fails; the investigated path does not expose kernel memory or create a read primitive.\\nI:N - The allocation is overflow-safe and fails before the monmap is installed or populated, so there is no demonstrated memory corruption or data modification primitive.\\nA:H - A crafted monmap can repeatedly force huge kernel allocation attempts and prevent the client from obtaining or refreshing a valid monitor map, denying Ceph storage availability in affected deployments.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"ee5588e2bc41acb73f6676c0520420c107cd0140\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"86f7060cd638d6eb042e8ed780fb83a59ca0dcb3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"5f2806684b05bd24d05c091083b8e2517ba8ffac\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"b268984ae88cb0dcd7a8e8263962c748448e26e8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"ba0a4df8c563536857dcbf7b4dbd0f2a15f57ace\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"08bc6173fd611ad5a40f472bf5f15b92aea0fe40\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a5cbd5fc22d5043a8a76e15d75d031fe24d1f69c\", \"lessThan\": \"770444611f047dbfd4517ec0bc1b179d40c2f346\", \"versionType\": \"git\"}], \"programFiles\": [\"net/ceph/mon_client.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.11\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.11\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.203\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.167\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.130\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.78\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18.19\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"6.19.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.19.*\"}, {\"status\": \"unaffected\", \"version\": \"7.0\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/ceph/mon_client.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ee5588e2bc41acb73f6676c0520420c107cd0140\"}, {\"url\": \"https://git.kernel.org/stable/c/86f7060cd638d6eb042e8ed780fb83a59ca0dcb3\"}, {\"url\": \"https://git.kernel.org/stable/c/5f2806684b05bd24d05c091083b8e2517ba8ffac\"}, {\"url\": \"https://git.kernel.org/stable/c/b268984ae88cb0dcd7a8e8263962c748448e26e8\"}, {\"url\": \"https://git.kernel.org/stable/c/ba0a4df8c563536857dcbf7b4dbd0f2a15f57ace\"}, {\"url\": \"https://git.kernel.org/stable/c/08bc6173fd611ad5a40f472bf5f15b92aea0fe40\"}, {\"url\": \"https://git.kernel.org/stable/c/770444611f047dbfd4517ec0bc1b179d40c2f346\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nlibceph: Use u32 for non-negative values in ceph_monmap_decode()\\n\\nThis patch fixes unnecessary implicit conversions that change signedness\\nof blob_len and num_mon in ceph_monmap_decode().\\nCurrently blob_len and num_mon are (signed) int variables. They are used\\nto hold values that are always non-negative and get assigned in\\nceph_decode_32_safe(), which is meant to assign u32 values. Both\\nvariables are subsequently used as unsigned values, and the value of\\nnum_mon is further assigned to monmap-\u003enum_mon, which is of type u32.\\nTherefore, both variables should be of type u32. This is especially\\nrelevant for num_mon. If the value read from the incoming message is\\nvery large, it is interpreted as a negative value, and the check for\\nnum_mon \u003e CEPH_MAX_MON does not catch it. This leads to the attempt to\\nallocate a very large chunk of memory for monmap, which will most likely\\nfail. In this case, an unnecessary attempt to allocate memory is\\nperformed, and -ENOMEM is returned instead of -EINVAL.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.203\", \"versionStartIncluding\": \"5.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.167\", \"versionStartIncluding\": \"5.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.130\", \"versionStartIncluding\": \"5.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.78\", \"versionStartIncluding\": \"5.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.19\", \"versionStartIncluding\": \"5.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19.9\", \"versionStartIncluding\": \"5.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0\", \"versionStartIncluding\": \"5.11\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:27:48.288Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-43405\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T19:16:28.480Z\", \"dateReserved\": \"2026-05-01T14:12:56.007Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-05-08T14:21:45.581Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…