{"id":"CVE-2026-68158","aliases":["CVE-2026-68158"],"related":[],"kind":"vulnerability","state":"published","title":"libceph: Fix multiplication overflow in decode_new_up_state_weight()","summary":"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 -> new_state_item_size, formatting ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 -> new_state_item_size, formatting ]","source":"cvelist"}],"published":"2026-08-10T11:59:24.675Z","modified":"2026-11-30T16:13:21.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"2ceee3b77b83052648c40fef965f836fd7699d26","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"e4473751cc37db41f3f7da25d64a23e0c74570f1","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"f6961070c326bd158c38fa48756cde2bd78c4aaa","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"05c90e059269f087becfcce23348496085835c29","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"143ba49ead77ec483c0326f8aaad8649874e99c4","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"1732d89dfcd74f6fde9ce70900d316c4a151c153","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"bee4b5b53e7bff0467fd916cc44c9b190733c6bd","status":"affected"},{"type":"git","introduced":"930c532869774ebf8af9efe9484c597f896a7d46","fixed":"98917a499ec7064c14fc56d180a4fd636fc2784c","status":"affected"},{"type":"git","version":"1196c36fd53c3b1615eb02f986cb727b1dfc1047","status":"affected"},{"type":"git","version":"bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196","status":"affected"},{"type":"git","version":"6b96b2d473701b45df3fea8dd9796b6ec39e6d54","status":"affected"},{"type":"git","version":"7405d73cea0d0e6c541f5c534078feeb46188844","status":"affected"},{"type":"git","version":"8777c9f654637d56f4c4ca54eb1bc7c609b70085","status":"affected"},{"type":"git","version":"6831c98ce0b8a3e88db64aa224372effd0dcc694","status":"affected"},{"type":"git","version":"032951d32c13b7564dfba82758260cb7aa1149d2","status":"affected"},{"type":"git","version":"14877928f10667a5606383885d004f7185f33718","status":"affected"},{"type":"semver","introduced":"3.10.103","fixed":"3.11","status":"affected"},{"type":"semver","introduced":"3.12.63","fixed":"3.13","status":"affected"},{"type":"semver","introduced":"3.14.75","fixed":"3.15","status":"affected"},{"type":"semver","introduced":"3.16.39","fixed":"3.17","status":"affected"},{"type":"semver","introduced":"3.18.39","fixed":"3.19","status":"affected"},{"type":"semver","introduced":"4.1.30","fixed":"4.2","status":"affected"},{"type":"semver","introduced":"4.4.17","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.6.6","fixed":"4.7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2ceee3b77b83052648c40fef965f836fd7699d26","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4473751cc37db41f3f7da25d64a23e0c74570f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6961070c326bd158c38fa48756cde2bd78c4aaa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05c90e059269f087becfcce23348496085835c29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/143ba49ead77ec483c0326f8aaad8649874e99c4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1732d89dfcd74f6fde9ce70900d316c4a151c153","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bee4b5b53e7bff0467fd916cc44c9b190733c6bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98917a499ec7064c14fc56d180a4fd636fc2784c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:45:15.268Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68158","url":"https://www.cve.org/CVERecord?id=CVE-2026-68158","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:55.112Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68158","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68158","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:21.093Z","epss":{"score":0.00714,"percentile":0.54888,"date":"2026-12-01T12:00:22.000Z"}}