{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "930c532869774ebf8af9efe9484c597f896a7d46"
            },
            {
              "fixed": "2ceee3b77b83052648c40fef965f836fd7699d26"
            },
            {
              "fixed": "e4473751cc37db41f3f7da25d64a23e0c74570f1"
            },
            {
              "fixed": "f6961070c326bd158c38fa48756cde2bd78c4aaa"
            },
            {
              "fixed": "05c90e059269f087becfcce23348496085835c29"
            },
            {
              "fixed": "143ba49ead77ec483c0326f8aaad8649874e99c4"
            },
            {
              "fixed": "1732d89dfcd74f6fde9ce70900d316c4a151c153"
            },
            {
              "fixed": "bee4b5b53e7bff0467fd916cc44c9b190733c6bd"
            },
            {
              "fixed": "98917a499ec7064c14fc56d180a4fd636fc2784c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1196c36fd53c3b1615eb02f986cb727b1dfc1047"
            },
            {
              "last_affected": "bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196"
            },
            {
              "last_affected": "6b96b2d473701b45df3fea8dd9796b6ec39e6d54"
            },
            {
              "last_affected": "7405d73cea0d0e6c541f5c534078feeb46188844"
            },
            {
              "last_affected": "8777c9f654637d56f4c4ca54eb1bc7c609b70085"
            },
            {
              "last_affected": "6831c98ce0b8a3e88db64aa224372effd0dcc694"
            },
            {
              "last_affected": "032951d32c13b7564dfba82758260cb7aa1149d2"
            },
            {
              "last_affected": "14877928f10667a5606383885d004f7185f33718"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.10.103"
            },
            {
              "fixed": "3.11"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.12.63"
            },
            {
              "fixed": "3.13"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.14.75"
            },
            {
              "fixed": "3.15"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.16.39"
            },
            {
              "fixed": "3.17"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.18.39"
            },
            {
              "fixed": "3.19"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.1.30"
            },
            {
              "fixed": "4.2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.4.17"
            },
            {
              "fixed": "4.5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.6.6"
            },
            {
              "fixed": "4.7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.7.0"
            },
            {
              "fixed": "5.10.265"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.216"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.183"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.148"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.101"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.42"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68158.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix multiplication overflow in decode_new_up_state_weight()\n\nIf a message of type CEPH_MSG_OSD_MAP contains a (maliciously) corrupted\nosdmap, out-of-bounds memory accesses may occur in\ndecode_new_up_state_weight(). This happens because the bounds check for\nthe new_state part is based on calculating its length depending on a len\nvalue read from the incoming message. This calculation may overflow\nleading to an incorrect bounds check. Subsequently, out-of-bounds reads\nmay occur when decoding this part.\n\nThis patch switches the multiplication to use check_mul_overflow() to\nabort processing the osdmap if an overflow occurred. Therefore,\nosdmaps/messages containing large values for len that result in a\nmultiplication overflow are treated as invalid.\n\n[ idryomov: rename new_state_len -\u003e new_state_item_size, formatting ]",
  "id": "CVE-2026-68158",
  "modified": "2026-08-21T03:30:13.227341550Z",
  "published": "2026-08-10T11:59:24.675Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/05c90e059269f087becfcce23348496085835c29"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/143ba49ead77ec483c0326f8aaad8649874e99c4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1732d89dfcd74f6fde9ce70900d316c4a151c153"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2ceee3b77b83052648c40fef965f836fd7699d26"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98917a499ec7064c14fc56d180a4fd636fc2784c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bee4b5b53e7bff0467fd916cc44c9b190733c6bd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4473751cc37db41f3f7da25d64a23e0c74570f1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6961070c326bd158c38fa48756cde2bd78c4aaa"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68158.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68158"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libceph: Fix multiplication overflow in decode_new_up_state_weight()"
}