{"id":"CVE-2026-68158","summary":"libceph: Fix multiplication overflow in decode_new_up_state_weight()","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 ]","modified":"2026-11-01T17:28:01.969450576Z","published":"2026-08-10T11:59:24.675Z","related":["SUSE-SU-2026:23477-1","SUSE-SU-2026:23481-1","SUSE-SU-2026:23528-1","SUSE-SU-2026:23529-1","SUSE-SU-2026:23881-1","SUSE-SU-2026:23887-1","SUSE-SU-2026:23897-1","SUSE-SU-2026:23902-1","SUSE-SU-2026:24283-1","SUSE-SU-2026:24284-1","SUSE-SU-2026:24285-1","SUSE-SU-2026:24286-1","SUSE-SU-2026:24287-1","SUSE-SU-2026:24288-1","SUSE-SU-2026:24289-1","SUSE-SU-2026:24290-1","SUSE-SU-2026:24291-1","SUSE-SU-2026:24292-1","SUSE-SU-2026:24293-1","SUSE-SU-2026:24294-1","SUSE-SU-2026:24295-1","SUSE-SU-2026:24296-1","SUSE-SU-2026:24297-1","SUSE-SU-2026:24298-1","SUSE-SU-2026:24299-1","SUSE-SU-2026:24300-1","SUSE-SU-2026:24301-1","SUSE-SU-2026:24302-1","SUSE-SU-2026:24303-1","SUSE-SU-2026:24304-1","SUSE-SU-2026:24305-1","SUSE-SU-2026:24306-1","SUSE-SU-2026:24307-1","SUSE-SU-2026:24308-1","SUSE-SU-2026:24309-1","SUSE-SU-2026:24310-1","SUSE-SU-2026:24311-1","SUSE-SU-2026:24312-1","SUSE-SU-2026:24313-1","SUSE-SU-2026:24327-1","SUSE-SU-2026:24328-1","SUSE-SU-2026:24329-1","SUSE-SU-2026:24330-1","SUSE-SU-2026:24331-1","SUSE-SU-2026:24332-1","SUSE-SU-2026:24333-1","SUSE-SU-2026:24334-1","SUSE-SU-2026:24335-1","SUSE-SU-2026:24336-1","SUSE-SU-2026:24337-1","SUSE-SU-2026:24338-1","SUSE-SU-2026:24339-1","SUSE-SU-2026:24340-1","SUSE-SU-2026:24341-1","SUSE-SU-2026:24342-1","SUSE-SU-2026:24343-1","SUSE-SU-2026:24344-1","SUSE-SU-2026:24345-1","SUSE-SU-2026:24346-1","SUSE-SU-2026:24347-1","SUSE-SU-2026:24348-1","SUSE-SU-2026:24349-1","SUSE-SU-2026:24350-1","SUSE-SU-2026:24351-1","SUSE-SU-2026:24352-1","SUSE-SU-2026:24353-1","SUSE-SU-2026:24354-1","SUSE-SU-2026:24355-1","SUSE-SU-2026:24356-1","SUSE-SU-2026:24357-1","SUSE-SU-2026:24387-1","SUSE-SU-2026:24388-1","SUSE-SU-2026:24389-1","SUSE-SU-2026:24390-1","SUSE-SU-2026:24391-1","SUSE-SU-2026:24392-1","SUSE-SU-2026:24393-1","SUSE-SU-2026:24394-1","SUSE-SU-2026:24395-1","SUSE-SU-2026:24396-1","SUSE-SU-2026:24397-1","SUSE-SU-2026:24398-1","SUSE-SU-2026:24399-1","SUSE-SU-2026:24400-1","SUSE-SU-2026:24401-1","SUSE-SU-2026:24402-1","SUSE-SU-2026:24403-1","SUSE-SU-2026:24415-1","SUSE-SU-2026:24416-1","SUSE-SU-2026:24417-1","SUSE-SU-2026:24419-1","SUSE-SU-2026:24420-1","SUSE-SU-2026:24423-1","SUSE-SU-2026:24424-1","SUSE-SU-2026:24425-1","SUSE-SU-2026:24426-1","SUSE-SU-2026:24427-1","SUSE-SU-2026:24428-1","SUSE-SU-2026:24429-1","SUSE-SU-2026:24430-1","SUSE-SU-2026:24431-1","SUSE-SU-2026:24432-1","SUSE-SU-2026:24433-1","SUSE-SU-2026:24434-1","SUSE-SU-2026:24438-1","SUSE-SU-2026:24439-1","SUSE-SU-2026:24440-1","SUSE-SU-2026:24443-1","SUSE-SU-2026:24444-1","SUSE-SU-2026:24447-1","SUSE-SU-2026:24448-1","SUSE-SU-2026:24449-1","SUSE-SU-2026:24450-1","SUSE-SU-2026:24451-1","SUSE-SU-2026:24452-1","SUSE-SU-2026:24453-1","SUSE-SU-2026:24454-1","SUSE-SU-2026:24455-1","SUSE-SU-2026:24456-1","SUSE-SU-2026:24457-1","SUSE-SU-2026:24458-1","SUSE-SU-2026:4120-1","SUSE-SU-2026:4254-1","SUSE-SU-2026:4279-1","SUSE-SU-2026:4282-1","SUSE-SU-2026:4284-1","SUSE-SU-2026:4369-1","SUSE-SU-2026:4665-1","SUSE-SU-2026:4667-1","SUSE-SU-2026:4708-1","SUSE-SU-2026:4714-1","SUSE-SU-2026:4718-1","SUSE-SU-2026:4725-1","SUSE-SU-2026:4730-1","SUSE-SU-2026:4733-1","SUSE-SU-2026:4734-1","SUSE-SU-2026:4748-1","SUSE-SU-2026:4749-1","SUSE-SU-2026:4768-1","SUSE-SU-2026:4776-1","SUSE-SU-2026:4785-1","SUSE-SU-2026:4793-1","SUSE-SU-2026:4856-1","SUSE-SU-2026:4888-1","SUSE-SU-2026:4889-1","openSUSE-SU-2026:21910-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68158.json","cna_assigner":"Linux"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"930c532869774ebf8af9efe9484c597f896a7d46"},{"fixed":"2ceee3b77b83052648c40fef965f836fd7699d26"},{"fixed":"e4473751cc37db41f3f7da25d64a23e0c74570f1"},{"fixed":"f6961070c326bd158c38fa48756cde2bd78c4aaa"},{"fixed":"05c90e059269f087becfcce23348496085835c29"},{"fixed":"143ba49ead77ec483c0326f8aaad8649874e99c4"},{"fixed":"1732d89dfcd74f6fde9ce70900d316c4a151c153"},{"fixed":"bee4b5b53e7bff0467fd916cc44c9b190733c6bd"},{"fixed":"98917a499ec7064c14fc56d180a4fd636fc2784c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.10.103"},{"fixed":"3.11"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.12.63"},{"fixed":"3.13"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.14.75"},{"fixed":"3.15"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.16.39"},{"fixed":"3.17"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.18.39"},{"fixed":"3.19"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4.1.30"},{"fixed":"4.2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4.4.17"},{"fixed":"4.5"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4.6.6"},{"fixed":"4.7"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1196c36fd53c3b1615eb02f986cb727b1dfc1047"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6b96b2d473701b45df3fea8dd9796b6ec39e6d54"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7405d73cea0d0e6c541f5c534078feeb46188844"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8777c9f654637d56f4c4ca54eb1bc7c609b70085"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6831c98ce0b8a3e88db64aa224372effd0dcc694"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"032951d32c13b7564dfba82758260cb7aa1149d2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"14877928f10667a5606383885d004f7185f33718"}]}],"versions":["v3.10.108","v3.10.107","v3.10.106","v3.10.105","v3.10.104","v3.10.103","v3.12.74","v3.12.73","v3.12.72","v3.12.71","v3.12.70","v3.12.69","v3.12.68","v3.12.67","v3.12.66","v3.12.65","v3.12.64","v3.12.63","v3.14.79","v3.14.78","v3.14.77","v3.14.76","v3.14.75","v3.16.85","v3.16.84","v3.16.83","v3.16.82","v3.16.81","v3.16.80","v3.16.79","v3.16.78","v3.16.77","v3.16.76","v3.16.75","v3.16.74","v3.16.73","v3.16.72","v3.16.71","v3.16.70","v3.16.69","v3.16.68","v3.16.67","v3.16.66","v3.16.65","v3.16.64","v3.16.63","v3.16.62","v3.16.61","v3.16.60","v3.16.59","v3.16.58","v3.16.57","v3.16.56","v3.16.55","v3.16.54","v3.16.53","v3.16.52","v3.16.51","v3.16.50","v3.16.49","v3.16.48","v3.16.47","v3.16.46","v3.16.45","v3.16.44","v3.16.43","v3.16.42","v3.16.41","v3.16.40","v3.16.39","v3.18.140","v3.18.139","v3.18.138","v3.18.137","v3.18.136","v3.18.135","v3.18.134","v3.18.133","v3.18.132","v3.18.131","v3.18.130","v3.18.129","v3.18.128","v3.18.127","v3.18.126","v3.18.125","v3.18.124","v3.18.123","v3.18.122","v3.18.121","v3.18.120","v3.18.119","v3.18.118","v3.18.117","v3.18.116","v3.18.115","v3.18.114","v3.18.113","v3.18.112","v3.18.111","v3.18.110","v3.18.109","v3.18.108","v3.18.107","v3.18.106","v3.18.105","v3.18.104","v3.18.103","v3.18.102","v3.18.101","v3.18.100","v3.18.99","v3.18.98","v3.18.97","v3.18.96","v3.18.95","v3.18.94","v3.18.93","v3.18.92","v3.18.91","v3.18.90","v3.18.89","v3.18.88","v3.18.87","v3.18.86","v3.18.85","v3.18.84","v3.18.83","v3.18.82","v3.18.81","v3.18.80","v3.18.79","v3.18.78","v3.18.77","v3.18.76","v3.18.75","v3.18.74","v3.18.73","v3.18.72","v3.18.71","v3.18.70","v3.18.69","v3.18.68","v3.18.67","v3.18.66","v3.18.65","v3.18.64","v3.18.63","v3.18.62","v3.18.61","v3.18.60","v3.18.59","v3.18.58","v3.18.57","v3.18.56","v3.18.55","v3.18.54","v3.18.53","v3.18.52","v3.18.51","v3.18.50","v3.18.49","v3.18.48","v3.18.47","v3.18.46","v3.18.45","v3.18.44","v3.18.43","v3.18.42","v3.18.41","v3.18.40","v3.18.39","v4.1.52","v4.1.51","v4.1.50","v4.1.49","v4.1.48","v4.1.47","v4.1.46","v4.1.45","v4.1.44","v4.1.43","v4.1.42","v4.1.41","v4.1.40","v4.1.39","v4.1.38","v4.1.37","v4.1.36","v4.1.35","v4.1.34","v4.1.33","v4.1.32","v4.1.31","v4.1.30","v4.4.302","v4.4.301","v4.4.300","v4.4.299","v4.4.298","v4.4.297","v4.4.296","v4.4.295","v4.4.294","v4.4.293","v4.4.292","v4.4.291","v4.4.290","v4.4.289","v4.4.288","v4.4.287","v4.4.286","v4.4.285","v4.4.284","v4.4.283","v4.4.282","v4.4.281","v4.4.280","v4.4.279","v4.4.278","v4.4.277","v4.4.276","v4.4.275","v4.4.274","v4.4.273","v4.4.272","v4.4.271","v4.4.270","v4.4.269","v4.4.268","v4.4.267","v4.4.266","v4.4.265","v4.4.264","v4.4.263","v4.4.262","v4.4.261","v4.4.260","v4.4.259","v4.4.258","v4.4.257","v4.4.256","v4.4.255","v4.4.254","v4.4.253","v4.4.252","v4.4.251","v4.4.250","v4.4.249","v4.4.248","v4.4.247","v4.4.246","v4.4.245","v4.4.244","v4.4.243","v4.4.242","v4.4.241","v4.4.240","v4.4.239","v4.4.238","v4.4.237","v4.4.236","v4.4.235","v4.4.234","v4.4.233","v4.4.232","v4.4.231","v4.4.230","v4.4.229","v4.4.228","v4.4.227","v4.4.226","v4.4.225","v4.4.224","v4.4.223","v4.4.222","v4.4.221","v4.4.220","v4.4.219","v4.4.218","v4.4.217","v4.4.216","v4.4.215","v4.4.214","v4.4.213","v4.4.212","v4.4.211","v4.4.210","v4.4.209","v4.4.208","v4.4.207","v4.4.206","v4.4.205","v4.4.204","v4.4.203","v4.4.202","v4.4.201","v4.4.200","v4.4.199","v4.4.198","v4.4.197","v4.4.196","v4.4.195","v4.4.194","v4.4.193","v4.4.192","v4.4.191","v4.4.190","v4.4.189","v4.4.188","v4.4.187","v4.4.186","v4.4.185","v4.4.184","v4.4.183","v4.4.182","v4.4.181","v4.4.180","v4.4.179","v4.4.178","v4.4.177","v4.4.176","v4.4.175","v4.4.174","v4.4.173","v4.4.172","v4.4.171","v4.4.170","v4.4.169","v4.4.168","v4.4.167","v4.4.166","v4.4.165","v4.4.164","v4.4.163","v4.4.162","v4.4.161","v4.4.160","v4.4.159","v4.4.158","v4.4.157","v4.4.156","v4.4.155","v4.4.154","v4.4.153","v4.4.152","v4.4.151","v4.4.150","v4.4.149","v4.4.148","v4.4.147","v4.4.146","v4.4.145","v4.4.144","v4.4.143","v4.4.142","v4.4.141","v4.4.140","v4.4.139","v4.4.138","v4.4.137","v4.4.136","v4.4.135","v4.4.134","v4.4.133","v4.4.132","v4.4.131","v4.4.130","v4.4.129","v4.4.128","v4.4.127","v4.4.126","v4.4.125","v4.4.124","v4.4.123","v4.4.122","v4.4.121","v4.4.120","v4.4.119","v4.4.118","v4.4.117","v4.4.116","v4.4.115","v4.4.114","v4.4.113","v4.4.112","v4.4.111","v4.4.110","v4.4.109","v4.4.108","v4.4.107","v4.4.106","v4.4.105","v4.4.104","v4.4.103","v4.4.102","v4.4.101","v4.4.100","v4.4.99","v4.4.98","v4.4.97","v4.4.96","v4.4.95","v4.4.94","v4.4.93","v4.4.92","v4.4.91","v4.4.90","v4.4.89","v4.4.88","v4.4.87","v4.4.86","v4.4.85","v4.4.84","v4.4.83","v4.4.82","v4.4.81","v4.4.80","v4.4.79","v4.4.78","v4.4.77","v4.4.76","v4.4.75","v4.4.74","v4.4.73","v4.4.72","v4.4.71","v4.4.70","v4.4.69","v4.4.68","v4.4.67","v4.4.66","v4.4.65","v4.4.64","v4.4.63","v4.4.62","v4.4.61","v4.4.60","v4.4.59","v4.4.58","v4.4.57","v4.4.56","v4.4.55","v4.4.54","v4.4.53","v4.4.52","v4.4.51","v4.4.50","v4.4.49","v4.4.48","v4.4.47","v4.4.46","v4.4.45","v4.4.44","v4.4.43","v4.4.42","v4.4.41","v4.4.40","v4.4.39","v4.4.38","v4.4.37","v4.4.36","v4.4.35","v4.4.34","v4.4.33","v4.4.32","v4.4.31","v4.4.30","v4.4.29","v4.4.28","v4.4.27","v4.4.26","v4.4.25","v4.4.24","v4.4.23","v4.4.22","v4.4.21","v4.4.20","v4.4.19","v4.4.18","v4.4.17","v4.6.7","v4.6.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68158.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68158.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}