{"id":"CVE-2022-50763","aliases":["CVE-2022-50763"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: marvell/octeontx - prevent integer overflows","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: marvell/octeontx - prevent integer overflows\n\nThe \"code_length\" value comes from the firmware file.  If your firmware\nis untrusted realistically there is probably very little you can do to\nprotect yourself.  Still we try to limit the damage as much as possible.\nAlso Smatch marks any data read from the filesystem as untrusted and\nprints warnings if it not capped correctly.\n\nThe \"code_length * 2\" can overflow.  The round_up(ucode_size, 16) +\nsizeof() expression can overflow too.  Prevent these overflows.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: marvell/octeontx - prevent integer overflows\n\nThe \"code_length\" value comes from the firmware file.  If your firmware\nis untrusted realistically there is probably very little you can do to\nprotect yourself.  Still we try to limit the damage as much as possible.\nAlso Smatch marks any data read from the filesystem as untrusted and\nprints warnings if it not capped correctly.\n\nThe \"code_length * 2\" can overflow.  The round_up(ucode_size, 16) +\nsizeof() expression can overflow too.  Prevent these overflows.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: marvell/octeontx - prevenir desbordamientos de enteros\n\nEl valor ’code_length’ proviene del archivo de firmware. Si su firmware no es de confianza, realistamente probablemente hay muy poco que pueda hacer para protegerse. Aun así, intentamos limitar el daño tanto como sea posible. Además, Smatch marca cualquier dato leído del sistema de archivos como no de confianza e imprime advertencias si no está limitado correctamente.\n\nEl ’code_length * 2’ puede desbordarse. La expresión round_up(ucode_size, 16) + sizeof() también puede desbordarse. Prevenir estos desbordamientos.","source":"nvd"}],"published":"2025-12-24T13:05:54.704Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d9110b0b01ff1cd02751cd5c2c94e938a8906083","fixed":"7bfa7d67735381715c98091194e81e7685f9b7db","status":"affected"},{"type":"git","introduced":"d9110b0b01ff1cd02751cd5c2c94e938a8906083","fixed":"12acfa1059ad69aa352ddb2bf23ba1b831aff15f","status":"affected"},{"type":"git","introduced":"d9110b0b01ff1cd02751cd5c2c94e938a8906083","fixed":"8f5eee162e55175d9dac98b5e9b8da76449d2257","status":"affected"},{"type":"git","introduced":"d9110b0b01ff1cd02751cd5c2c94e938a8906083","fixed":"e7ff7a46baafd38d7ed45604397e650d61f5db8d","status":"affected"},{"type":"git","introduced":"d9110b0b01ff1cd02751cd5c2c94e938a8906083","fixed":"caca37cf6c749ff0303f68418cfe7b757a4e0697","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","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/7bfa7d67735381715c98091194e81e7685f9b7db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12acfa1059ad69aa352ddb2bf23ba1b831aff15f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f5eee162e55175d9dac98b5e9b8da76449d2257","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7ff7a46baafd38d7ed45604397e650d61f5db8d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/caca37cf6c749ff0303f68418cfe7b757a4e0697","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50763","url":"https://www.cve.org/CVERecord?id=CVE-2022-50763","licence":"CVE Terms of Use","modified":"2026-05-11T19:25:03.878Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50763","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50763","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.351Z","epss":{"score":0.00277,"percentile":0.21604,"date":"2026-12-01T12:00:22.000Z"}}