{"id":"CVE-2025-39795","title":"block: avoid possible overflow for chunk_sectors check in blk_stack_limits()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: avoid possible overflow for chunk_sectors check in blk_stack_limits()\n\nIn blk_stack_limits(), we check that the t->chunk_sectors value is a\nmultiple of the t->ph…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 418751910044649baa2b424ea31cce3fc4dcc253","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 8b3ce085b52e674290cbfdd07034e7653ffbe4dc","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 31f2f080898e50cbf2bae62d35f9f2a997547b38","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 46aa80ef49594ed7de685ecbc673b291e9a2c159","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 14beeef4aafecc8a41de534e31fb5be94739392f","Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 448dfecc7ff807822ecd47a5c052acedca7d09e8","Linux 5.10"],"published":"2025-09-12","updated":"2026-09-08","sourceUpdated":"2026-09-08T08:42:20.071Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-39795","references":[{"url":"https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253"},{"url":"https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc"},{"url":"https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38"},{"url":"https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9"},{"url":"https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159"},{"url":"https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2"},{"url":"https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f"},{"url":"https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8"}],"tags":["cve.org"],"epss":0.00165,"epssPercentile":0.06136,"ingestedAt":"2026-09-08T15:33:26.997Z","slug":"CVE-2025-39795","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nblock: avoid possible overflow for chunk_sectors check in blk_stack_limits()\n\nIn blk_stack_limits(), we check that the t->chunk_sectors value is a\nmultiple of the t->physical_block_size value.\n\nHowever, by finding the chunk_sectors value in bytes, we may overflow\nthe unsigned int which holds chunk_sectors, so change the check to be\nbased on sectors.\n\n## Affected\n\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 418751910044649baa2b424ea31cce3fc4dcc253`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 8b3ce085b52e674290cbfdd07034e7653ffbe4dc`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 31f2f080898e50cbf2bae62d35f9f2a997547b38`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 46aa80ef49594ed7de685ecbc673b291e9a2c159`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 14beeef4aafecc8a41de534e31fb5be94739392f`\n- `Linux >= 22ada802ede89829dd010a317d9b812b7df7111a < 448dfecc7ff807822ecd47a5c052acedca7d09e8`\n- `Linux 5.10`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}