{"id":"CVE-2026-52992","aliases":["CVE-2026-52992"],"related":[],"kind":"vulnerability","state":"published","title":"fs/adfs: validate nzones in adfs_validate_bblk()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/adfs: validate nzones in adfs_validate_bblk()\n\nReject ADFS disc records with a zero zone count during boot block\nvalidation, before the disc record is used.\n\nWhen nzones is 0, adfs_read_map() passes it to kmalloc_array(0, ...)\nwhich returns ZERO_SIZE_PTR, and adfs_map_layout() then writes to\ndm[-1], causing an out-of-bounds write before the allocated buffer.\n\nadfs_validate_dr0() already rejects nzones != 1 for old-format\nimages.  Add the equivalent check to adfs_validate_bblk() for\nnew-format images so that a crafted image with nzones == 0 is\nrejected at probe time.\n\nFound by syzkaller.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/adfs: validate nzones in adfs_validate_bblk()\n\nReject ADFS disc records with a zero zone count during boot block\nvalidation, before the disc record is used.\n\nWhen nzones is 0, adfs_read_map() passes it to kmalloc_array(0, ...)\nwhich returns ZERO_SIZE_PTR, and adfs_map_layout() then writes to\ndm[-1], causing an out-of-bounds write before the allocated buffer.\n\nadfs_validate_dr0() already rejects nzones != 1 for old-format\nimages.  Add the equivalent check to adfs_validate_bblk() for\nnew-format images so that a crafted image with nzones == 0 is\nrejected at probe time.\n\nFound by syzkaller.","source":"cvelist"}],"published":"2026-06-24T16:29:05.592Z","modified":"2026-07-14T19:44:31.920Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"33aafd2418a59c96c0389d47ea09026661fa9ec6","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"1f0ed0f57f0fc87e46fe19a05435c214dc464be2","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"6ff8cca5cdb4f2e0ea6d28ecd78479dd3f221ebc","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"a11372a8b1ceaa5e950a84b3b5fbf8228f25e277","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"1586bd2d2fb436a26df20a70e78b000d34a7d159","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"a3fd5dc1c7b0aae947a67dc2e2c037d57557a4de","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"60d82592ac8b5637fbed871381eb0a16df0a492e","status":"affected"},{"type":"git","introduced":"f6f14a0d71b0773a1d4147d1a3c33d537cd213ab","fixed":"dd9d3e16c2d5fa166e13dce07413be51f42c8f5d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.141","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.91","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.33","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.10","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.141"},{"status":"affected","introduced":"6.7","fixed":"6.12.91"},{"status":"affected","introduced":"6.13","fixed":"6.18.33"},{"status":"affected","introduced":"6.19","fixed":"7.0.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/33aafd2418a59c96c0389d47ea09026661fa9ec6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f0ed0f57f0fc87e46fe19a05435c214dc464be2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ff8cca5cdb4f2e0ea6d28ecd78479dd3f221ebc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a11372a8b1ceaa5e950a84b3b5fbf8228f25e277","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1586bd2d2fb436a26df20a70e78b000d34a7d159","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3fd5dc1c7b0aae947a67dc2e2c037d57557a4de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60d82592ac8b5637fbed871381eb0a16df0a492e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd9d3e16c2d5fa166e13dce07413be51f42c8f5d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52992","url":"https://www.cve.org/CVERecord?id=CVE-2026-52992","licence":"CVE Terms of Use","modified":"2026-06-24T16:29:05.592Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52992","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52992","licence":"Public domain","modified":"2026-07-14T19:44:31.920Z"}],"updatedAt":"2026-11-25T22:59:25.645Z","epss":{"score":0.00139,"percentile":0.03456,"date":"2026-12-01T12:00:22.000Z"}}