{"id":"CVE-2026-72098","aliases":["CVE-2026-72098"],"related":[],"kind":"vulnerability","state":"published","title":"dm-verity: fix buffer overflow in FEC calculation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-verity: fix buffer overflow in FEC calculation\n\nThere's a buffer overflow in dm-verity-fec:\n\nif (neras && *neras <= v->fec->roots)\n\tfio->erasures[(*neras)++] = i;\n\nThis allows *neras to reach roots + 1 (the post-increment pushes it past\nroots). This value is then passed as no_eras to decode_rs8(). Inside the\nRS decoder (lib/reed_solomon/decode_rs.c:113-121), the erasure locator\npolynomial loop writes lambda[j] where j can reach nroots + 1 — one\nelement past the end of lambda[] (which is sized nroots + 1, valid\nindices 0..nroots). The out-of-bounds write lands on syn[0], corrupting\nthe syndrome buffer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-verity: fix buffer overflow in FEC calculation\n\nThere's a buffer overflow in dm-verity-fec:\n\nif (neras && *neras <= v->fec->roots)\n\tfio->erasures[(*neras)++] = i;\n\nThis allows *neras to reach roots + 1 (the post-increment pushes it past\nroots). This value is then passed as no_eras to decode_rs8(). Inside the\nRS decoder (lib/reed_solomon/decode_rs.c:113-121), the erasure locator\npolynomial loop writes lambda[j] where j can reach nroots + 1 — one\nelement past the end of lambda[] (which is sized nroots + 1, valid\nindices 0..nroots). The out-of-bounds write lands on syn[0], corrupting\nthe syndrome buffer.","source":"cvelist"}],"published":"2026-08-15T05:52:43.666Z","modified":"2026-10-30T13:19:46.927Z","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-787"],"affected":[{"ranges":[{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"84d4d2a6988c9a733f7821452cefb5b0d93de2d1","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"374775626c327aec2425c16b4d36706e5f8718b8","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"5488d3a69d205e28f74f18857b853aa12e778e66","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"f7990c2b0f08b8841fcd2652d1d7002f5994a7a7","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"31d6e6c0ba8d5a7bd59660035a089307100c5e8e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.5","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","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/84d4d2a6988c9a733f7821452cefb5b0d93de2d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/374775626c327aec2425c16b4d36706e5f8718b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5488d3a69d205e28f74f18857b853aa12e778e66","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7990c2b0f08b8841fcd2652d1d7002f5994a7a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31d6e6c0ba8d5a7bd59660035a089307100c5e8e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:51:49.534Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72098","url":"https://www.cve.org/CVERecord?id=CVE-2026-72098","licence":"CVE Terms of Use","modified":"2026-10-30T12:28:46.939Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72098","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72098","licence":"Public domain","modified":"2026-10-30T13:19:46.927Z"}],"updatedAt":"2026-11-25T22:59:33.004Z","epss":{"score":0.00789,"percentile":0.57435,"date":"2026-12-01T12:00:22.000Z"}}