{"id":"CVE-2026-72369","aliases":["CVE-2026-72369"],"related":[],"kind":"vulnerability","state":"published","title":"minix: avoid overflow in bitmap block count calculation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nminix: avoid overflow in bitmap block count calculation\n\nminix_check_superblock() uses minix_blocks_needed() to verify that the\non-disk imap and zmap block counts are large enough for the advertised\ninode and zone counts.\n\nThe helper currently performs DIV_ROUND_UP() in unsigned int arithmetic.\nA Minix v3 image can set s_ninodes or s_zones near UINT_MAX so the\naddition inside DIV_ROUND_UP() wraps to zero. That makes a zero imap/zmap\nblock count look valid, after which minix_fill_super() can dereference\ns_imap[0] or s_zmap[0] even though no bitmap buffers were allocated.\n\nImpact: mounting a crafted Minix v3 image whose s_ninodes or s_zones is\nnear UINT_MAX makes minix_check_superblock() accept a zero bitmap-block\ncount and minix_fill_super() dereference s_imap[0]/s_zmap[0], panicking\nthe kernel.\n\nThe divisor is the bitmap capacity in bits, blocksize * 8, which is\nalways a power of two: minix_fill_super() obtains the block size through\nsb_set_blocksize(), and blk_validate_block_size() rejects any size that\nis not a power of two. Use DIV_ROUND_UP_POW2(), which divides before\nadding the round-up term and so cannot overflow for a power-of-two\ndivisor.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nminix: avoid overflow in bitmap block count calculation\n\nminix_check_superblock() uses minix_blocks_needed() to verify that the\non-disk imap and zmap block counts are large enough for the advertised\ninode and zone counts.\n\nThe helper currently performs DIV_ROUND_UP() in unsigned int arithmetic.\nA Minix v3 image can set s_ninodes or s_zones near UINT_MAX so the\naddition inside DIV_ROUND_UP() wraps to zero. That makes a zero imap/zmap\nblock count look valid, after which minix_fill_super() can dereference\ns_imap[0] or s_zmap[0] even though no bitmap buffers were allocated.\n\nImpact: mounting a crafted Minix v3 image whose s_ninodes or s_zones is\nnear UINT_MAX makes minix_check_superblock() accept a zero bitmap-block\ncount and minix_fill_super() dereference s_imap[0]/s_zmap[0], panicking\nthe kernel.\n\nThe divisor is the bitmap capacity in bits, blocksize * 8, which is\nalways a power of two: minix_fill_super() obtains the block size through\nsb_set_blocksize(), and blk_validate_block_size() rejects any size that\nis not a power of two. Use DIV_ROUND_UP_POW2(), which divides before\nadding the round-up term and so cannot overflow for a power-of-two\ndivisor.","source":"cvelist"}],"published":"2026-08-15T05:56:05.995Z","modified":"2026-08-17T06:18:41.120Z","severity":{"scorer":"Linux","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":"Linux","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":[],"affected":[{"ranges":[{"type":"git","introduced":"2bb588cede1c1969e49c0a2822c8cb8b346b7682","fixed":"a11ebaab50d27d6c4c78506f84ff36452e0b901d","status":"affected"},{"type":"git","introduced":"f57ccd4657c7f082dc47e5b9e18a883bb5f9118f","fixed":"959c95340a9e19cd333b4c18935fdeecbb2f319d","status":"affected"},{"type":"git","introduced":"31fefc18096cdc5549cfa54964d90e0b3229aedc","fixed":"abe3536a4bedcc43de80b6d4d7e3d57e9ba382a5","status":"affected"},{"type":"git","introduced":"8c97a6ddc95690a938ded44b4e3202f03f15078c","fixed":"8a29e60e2176b02e04f8737c8b32b696230eb0c5","status":"affected"},{"type":"git","introduced":"8c97a6ddc95690a938ded44b4e3202f03f15078c","fixed":"fb3e566cafc38fe3ba35e6843a2d529a3748870c","status":"affected"},{"type":"git","version":"a051ecf5c5b0387840dc210413ed3bc7fbdaa69c","status":"affected"},{"type":"git","version":"d791c544efd6b9c944b43cf7f502e5bcb02fb941","status":"affected"},{"type":"git","version":"66c7c239c65341f99ae388d4d53dc9df2bcb9925","status":"affected"},{"type":"git","version":"1efc128ee4adbc23e082715425ff895449d233bc","status":"affected"},{"type":"semver","introduced":"6.6.128","fixed":"6.6.145","status":"affected"},{"type":"semver","introduced":"6.12.75","fixed":"6.12.97","status":"affected"},{"type":"semver","introduced":"6.18.16","fixed":"6.18.40","status":"affected"},{"type":"semver","introduced":"5.10.252","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.202","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"6.1.165","fixed":"6.2","status":"affected"},{"type":"semver","introduced":"6.19.6","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","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/a11ebaab50d27d6c4c78506f84ff36452e0b901d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/959c95340a9e19cd333b4c18935fdeecbb2f319d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abe3536a4bedcc43de80b6d4d7e3d57e9ba382a5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a29e60e2176b02e04f8737c8b32b696230eb0c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb3e566cafc38fe3ba35e6843a2d529a3748870c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72369","url":"https://www.cve.org/CVERecord?id=CVE-2026-72369","licence":"CVE Terms of Use","modified":"2026-08-17T05:43:23.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72369","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72369","licence":"Public domain","modified":"2026-08-17T06:18:41.120Z"}],"updatedAt":"2026-11-25T22:59:33.097Z","epss":{"score":0.00175,"percentile":0.07366,"date":"2026-12-01T12:00:22.000Z"}}