CVE-2026-68158
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: libceph: Fix multiplication overflow in decode_new_up_state_weight() If a message of type CEPH_MSG_OSD_MAP contains a (maliciously) corrupted osdmap, out-of-bounds memory accesses may occur in decode_new_up_state_weight(). This happens because the bounds check for the new_state part is based on calculating its length depending on a len value read from the incoming message. This calculation may overflow leading to an incorrect bounds check. Subsequently, out-of-bounds reads may occur when decoding this part. This patch switches the multiplication to use check_mul_overflow() to abort processing the osdmap if an overflow occurred. Therefore, osdmaps/messages containing large values for len that result in a multiplication overflow are treated as invalid. [ idryomov: rename new_state_len -> new_state_item_size, formatting ]
View original CVE JSON
{
"id": "CVE-2026-68158",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-08-10T13:20:02.033",
"lastModified": "2026-10-19T21:17:56.030",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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 ]"
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"net/ceph/osdmap.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "2ceee3b77b83052648c40fef965f836fd7699d26",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "e4473751cc37db41f3f7da25d64a23e0c74570f1",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "f6961070c326bd158c38fa48756cde2bd78c4aaa",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "05c90e059269f087becfcce23348496085835c29",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "143ba49ead77ec483c0326f8aaad8649874e99c4",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "1732d89dfcd74f6fde9ce70900d316c4a151c153",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "bee4b5b53e7bff0467fd916cc44c9b190733c6bd",
"versionType": "git",
"status": "affected"
},
{
"version": "930c532869774ebf8af9efe9484c597f896a7d46",
"lessThan": "98917a499ec7064c14fc56d180a4fd636fc2784c",
"versionType": "git",
"status": "affected"
},
{
"version": "1196c36fd53c3b1615eb02f986cb727b1dfc1047",
"versionType": "git",
"status": "affected"
},
{
"version": "bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196",
"versionType": "git",
"status": "affected"
},
{
"version": "6b96b2d473701b45df3fea8dd9796b6ec39e6d54",
"versionType": "git",
"status": "affected"
},
{
"version": "7405d73cea0d0e6c541f5c534078feeb46188844",
"versionType": "git",
"status": "affected"
},
{
"version": "8777c9f654637d56f4c4ca54eb1bc7c609b70085",
"versionType": "git",
"status": "affected"
},
{
"version": "6831c98ce0b8a3e88db64aa224372effd0dcc694",
"versionType": "git",
"status": "affected"
},
{
"version": "032951d32c13b7564dfba82758260cb7aa1149d2",
"versionType": "git",
"status": "affected"
},
{
"version": "14877928f10667a5606383885d004f7185f33718",
"versionType": "git",
"status": "affected"
},
{
"version": "3.10.103",
"lessThan": "3.11",
"versionType": "semver",
"status": "affected"
},
{
"version": "3.12.63",
"lessThan": "3.13",
"versionType": "semver",
"status": "affected"
},
{
"version": "3.14.75",
"lessThan": "3.15",
"versionType": "semver",
"status": "affected"
},
{
"version": "3.16.39",
"lessThan": "3.17",
"versionType": "semver",
"status": "affected"
},
{
"version": "3.18.39",
"lessThan": "3.19",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.1.30",
"lessThan": "4.2",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.4.17",
"lessThan": "4.5",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.6.6",
"lessThan": "4.7",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"net/ceph/osdmap.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.7",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.265",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.216",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.183",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.148",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.101",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.42",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.1.6",
"lessThanOrEqual": "7.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-10-16T15:45:15.268376Z",
"id": "CVE-2026-68158",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-190"
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/05c90e059269f087becfcce23348496085835c29",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/143ba49ead77ec483c0326f8aaad8649874e99c4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/1732d89dfcd74f6fde9ce70900d316c4a151c153",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2ceee3b77b83052648c40fef965f836fd7699d26",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/98917a499ec7064c14fc56d180a4fd636fc2784c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/bee4b5b53e7bff0467fd916cc44c9b190733c6bd",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e4473751cc37db41f3f7da25d64a23e0c74570f1",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f6961070c326bd158c38fa48756cde2bd78c4aaa",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}