{"id":"CVE-2026-89602","aliases":["CVE-2026-89602"],"related":[],"kind":"vulnerability","state":"published","title":"erofs: skip sufficiently large global buffers when resizing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: skip sufficiently large global buffers when resizing\n\nz_erofs_gbuf_nrpages is advanced only after every global buffer has been\ngrown. If a resize fails after some buffers were enlarged, a retry\nrevisits those enlarged buffers.\n\nRetrying the same size then returns -ENOMEM because alloc_pages_bulk()\nhas no pages to add and the unchanged return value is treated as a\nfailure. Retrying an intermediate size allocates a temporary pointer\narray smaller than gbuf->nrpages and copies more existing pointers than\nthe array can hold.\n\nSkip buffers that already satisfy the request. Once all remaining\nbuffers have caught up, advancing z_erofs_gbuf_nrpages again describes\nthe guaranteed minimum size across the pool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: skip sufficiently large global buffers when resizing\n\nz_erofs_gbuf_nrpages is advanced only after every global buffer has been\ngrown. If a resize fails after some buffers were enlarged, a retry\nrevisits those enlarged buffers.\n\nRetrying the same size then returns -ENOMEM because alloc_pages_bulk()\nhas no pages to add and the unchanged return value is treated as a\nfailure. Retrying an intermediate size allocates a temporary pointer\narray smaller than gbuf->nrpages and copies more existing pointers than\nthe array can hold.\n\nSkip buffers that already satisfy the request. Once all remaining\nbuffers have caught up, advancing z_erofs_gbuf_nrpages again describes\nthe guaranteed minimum size across the pool.","source":"cvelist"}],"published":"2026-09-11T19:45:05.783Z","modified":"2026-10-19T09:17:56.743Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d6db47e571dcaecaeaafa8840d00ae849ae3907b","fixed":"3fbdd15d5830f52661eb78be95058d101cb0c2cb","status":"affected"},{"type":"git","introduced":"d6db47e571dcaecaeaafa8840d00ae849ae3907b","fixed":"7267557ce98ccd07faaf3bc86382448950cc4ff6","status":"affected"},{"type":"git","introduced":"d6db47e571dcaecaeaafa8840d00ae849ae3907b","fixed":"7f4a89d4f0d6acaf4b756c31de48f2109a257b70","status":"affected"},{"type":"git","introduced":"d6db47e571dcaecaeaafa8840d00ae849ae3907b","fixed":"a7d097cf01301c5da37927c8f26123d006f0fd8a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/3fbdd15d5830f52661eb78be95058d101cb0c2cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7267557ce98ccd07faaf3bc86382448950cc4ff6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f4a89d4f0d6acaf4b756c31de48f2109a257b70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7d097cf01301c5da37927c8f26123d006f0fd8a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89602","url":"https://www.cve.org/CVERecord?id=CVE-2026-89602","licence":"CVE Terms of Use","modified":"2026-10-19T08:49:34.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89602","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89602","licence":"Public domain","modified":"2026-10-19T09:17:56.743Z"}],"updatedAt":"2026-11-25T22:59:38.081Z","epss":{"score":0.00176,"percentile":0.07435,"date":"2026-12-02T12:00:21.000Z"}}