{"id":"CVE-2023-54132","aliases":["CVE-2023-54132"],"related":[],"kind":"vulnerability","state":"published","title":"erofs: stop parsing non-compact HEAD index if clusterofs is invalid","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: stop parsing non-compact HEAD index if clusterofs is invalid\n\nSyzbot generated a crafted image [1] with a non-compact HEAD index of\nclusterofs 33024 while valid numbers should be 0 ~ lclustersize-1,\nwhich causes the following unexpected behavior as below:\n\n BUG: unable to handle page fault for address: fffff52101a3fff9\n #PF: supervisor read access in kernel mode\n #PF: error_code(0x0000) - not-present page\n PGD 23ffed067 P4D 23ffed067 PUD 0\n Oops: 0000 [#1] PREEMPT SMP KASAN\n CPU: 1 PID: 4398 Comm: kworker/u5:1 Not tainted 6.3.0-rc6-syzkaller-g09a9639e56c0 #0\n Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023\n Workqueue: erofs_worker z_erofs_decompressqueue_work\n RIP: 0010:z_erofs_decompress_queue+0xb7e/0x2b40\n ...\n Call Trace:\n  <TASK>\n  z_erofs_decompressqueue_work+0x99/0xe0\n  process_one_work+0x8f6/0x1170\n  worker_thread+0xa63/0x1210\n  kthread+0x270/0x300\n  ret_from_fork+0x1f/0x30\n\nNote that normal images or images using compact indexes are not\nimpacted.  Let's fix this now.\n\n[1] https://lore.kernel.org/r/000000000000ec75b005ee97fbaa@google.com","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: stop parsing non-compact HEAD index if clusterofs is invalid\n\nSyzbot generated a crafted image [1] with a non-compact HEAD index of\nclusterofs 33024 while valid numbers should be 0 ~ lclustersize-1,\nwhich causes the following unexpected behavior as below:\n\n BUG: unable to handle page fault for address: fffff52101a3fff9\n #PF: supervisor read access in kernel mode\n #PF: error_code(0x0000) - not-present page\n PGD 23ffed067 P4D 23ffed067 PUD 0\n Oops: 0000 [#1] PREEMPT SMP KASAN\n CPU: 1 PID: 4398 Comm: kworker/u5:1 Not tainted 6.3.0-rc6-syzkaller-g09a9639e56c0 #0\n Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023\n Workqueue: erofs_worker z_erofs_decompressqueue_work\n RIP: 0010:z_erofs_decompress_queue+0xb7e/0x2b40\n ...\n Call Trace:\n  <TASK>\n  z_erofs_decompressqueue_work+0x99/0xe0\n  process_one_work+0x8f6/0x1170\n  worker_thread+0xa63/0x1210\n  kthread+0x270/0x300\n  ret_from_fork+0x1f/0x30\n\nNote that normal images or images using compact indexes are not\nimpacted.  Let's fix this now.\n\n[1] https://lore.kernel.org/r/000000000000ec75b005ee97fbaa@google.com","source":"cvelist"}],"published":"2025-12-24T13:06:49.030Z","modified":"2026-08-05T09:17:32.148Z","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":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"880c79bdb002b9d5b6940e52c2ad3829c2178207","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"7a4579cd6e4936de107c82499c3c9ee11b63401e","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"060fecf1114ff9fcfe87953fe8c4fc5048777160","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"7ee7a86e28ce9ead7112286c388df8d254c373c6","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"f01b2894928affa3339d355608713cf3db8360b8","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"96a845419b3722869f09883319de4d55c44d9aef","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"cc4efd3dd2ac9f89143e5d881609747ecff04164","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.4.243","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.111","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","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/880c79bdb002b9d5b6940e52c2ad3829c2178207","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a4579cd6e4936de107c82499c3c9ee11b63401e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/060fecf1114ff9fcfe87953fe8c4fc5048777160","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ee7a86e28ce9ead7112286c388df8d254c373c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f01b2894928affa3339d355608713cf3db8360b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96a845419b3722869f09883319de4d55c44d9aef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc4efd3dd2ac9f89143e5d881609747ecff04164","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54132","url":"https://www.cve.org/CVERecord?id=CVE-2023-54132","licence":"CVE Terms of Use","modified":"2026-08-05T09:17:32.148Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54132","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54132","licence":"Public domain","modified":"2026-08-04T10:19:30.863Z"}],"updatedAt":"2026-11-25T22:58:35.189Z","epss":{"score":0.00191,"percentile":0.09144,"date":"2026-12-01T12:00:22.000Z"}}