{"id":"CVE-2025-40077","aliases":["CVE-2025-40077"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: fix to avoid overflow while left shift operation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid overflow while left shift operation\n\nShould cast type of folio->index from pgoff_t to loff_t to avoid overflow\nwhile left shift operation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid overflow while left shift operation\n\nShould cast type of folio->index from pgoff_t to loff_t to avoid overflow\nwhile left shift operation.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nf2fs: corrección para evitar desbordamiento durante la operación de desplazamiento a la izquierda\n\nSe debe convertir el tipo de folio->index de pgoff_t a loff_t para evitar desbordamiento durante la operación de desplazamiento a la izquierda.","source":"nvd"}],"published":"2025-10-28T11:48:42.976Z","modified":"2026-10-30T13:18:13.367Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3265d3db1f16395cfc6b8ea9b31b4001d98d05ef","fixed":"7fb12f75da1da83b29964c02646f851d919301ea","status":"affected"},{"type":"git","introduced":"3265d3db1f16395cfc6b8ea9b31b4001d98d05ef","fixed":"ef49378864bb1ed14cd48c8e687729e12714d849","status":"affected"},{"type":"git","introduced":"3265d3db1f16395cfc6b8ea9b31b4001d98d05ef","fixed":"0e75a098b0a37f02ca31fe99ac16004c8163cf67","status":"affected"},{"type":"git","introduced":"3265d3db1f16395cfc6b8ea9b31b4001d98d05ef","fixed":"57d3381dfb97ff73ddd18601017fec21cca80985","status":"affected"},{"type":"git","introduced":"3265d3db1f16395cfc6b8ea9b31b4001d98d05ef","fixed":"0fe1c6bec54ea68ed8c987b3890f2296364e77bb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","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/7fb12f75da1da83b29964c02646f851d919301ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef49378864bb1ed14cd48c8e687729e12714d849","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e75a098b0a37f02ca31fe99ac16004c8163cf67","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57d3381dfb97ff73ddd18601017fec21cca80985","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fe1c6bec54ea68ed8c987b3890f2296364e77bb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40077","url":"https://www.cve.org/CVERecord?id=CVE-2025-40077","licence":"CVE Terms of Use","modified":"2026-10-30T12:22:49.284Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40077","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40077","licence":"Public domain","modified":"2026-10-30T13:18:13.367Z"}],"updatedAt":"2026-11-25T22:59:06.947Z","epss":{"score":0.00207,"percentile":0.11365,"date":"2026-12-01T12:00:22.000Z"}}