minix: avoid overflow in bitmap block count calculation

Summary

CVECVE-2026-72369
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:10 UTC
Updated2026-08-17 06:18:41 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: minix: avoid overflow in bitmap block count calculation minix_check_superblock() uses minix_blocks_needed() to verify that the on-disk imap and zmap block counts are large enough for the advertised inode and zone counts. The helper currently performs DIV_ROUND_UP() in unsigned int arithmetic. A Minix v3 image can set s_ninodes or s_zones near UINT_MAX so the addition inside DIV_ROUND_UP() wraps to zero. That makes a zero imap/zmap block count look valid, after which minix_fill_super() can dereference s_imap[0] or s_zmap[0] even though no bitmap buffers were allocated. Impact: mounting a crafted Minix v3 image whose s_ninodes or s_zones is near UINT_MAX makes minix_check_superblock() accept a zero bitmap-block count and minix_fill_super() dereference s_imap[0]/s_zmap[0], panicking the kernel. The divisor is the bitmap capacity in bits, blocksize * 8, which is always a power of two: minix_fill_super() obtains the block size through sb_set_blocksize(), and blk_validate_block_size() rejects any size that is not a power of two. Use DIV_ROUND_UP_POW2(), which divides before adding the round-up term and so cannot overflow for a power-of-two divisor.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.001750000 probability, percentile 0.073380000 (date 2026-08-17)


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2bb588cede1c1969e49c0a2822c8cb8b346b7682 a11ebaab50d27d6c4c78506f84ff36452e0b901d git Not specified
CNA Linux Linux affected f57ccd4657c7f082dc47e5b9e18a883bb5f9118f 959c95340a9e19cd333b4c18935fdeecbb2f319d git Not specified
CNA Linux Linux affected 31fefc18096cdc5549cfa54964d90e0b3229aedc abe3536a4bedcc43de80b6d4d7e3d57e9ba382a5 git Not specified
CNA Linux Linux affected 8c97a6ddc95690a938ded44b4e3202f03f15078c 8a29e60e2176b02e04f8737c8b32b696230eb0c5 git Not specified
CNA Linux Linux affected 8c97a6ddc95690a938ded44b4e3202f03f15078c fb3e566cafc38fe3ba35e6843a2d529a3748870c git Not specified
CNA Linux Linux affected a051ecf5c5b0387840dc210413ed3bc7fbdaa69c git Not specified
CNA Linux Linux affected d791c544efd6b9c944b43cf7f502e5bcb02fb941 git Not specified
CNA Linux Linux affected 66c7c239c65341f99ae388d4d53dc9df2bcb9925 git Not specified
CNA Linux Linux affected 1efc128ee4adbc23e082715425ff895449d233bc git Not specified
CNA Linux Linux affected 6.6.128 6.6.145 semver Not specified
CNA Linux Linux affected 6.12.75 6.12.97 semver Not specified
CNA Linux Linux affected 6.18.16 6.18.40 semver Not specified
CNA Linux Linux affected 5.10.252 5.11 semver Not specified
CNA Linux Linux affected 5.15.202 5.16 semver Not specified
CNA Linux Linux affected 6.1.165 6.2 semver Not specified
CNA Linux Linux affected 6.19.6 6.20 semver Not specified
CNA Linux Linux affected 7.0 Not specified
CNA Linux Linux unaffected 7.0 semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a11ebaab50d27d6c4c78506f84ff36452e0b901d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/959c95340a9e19cd333b4c18935fdeecbb2f319d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fb3e566cafc38fe3ba35e6843a2d529a3748870c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8a29e60e2176b02e04f8737c8b32b696230eb0c5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/abe3536a4bedcc43de80b6d4d7e3d57e9ba382a5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report