{"id":"CVE-2025-39795","summary":"block: avoid possible overflow for chunk_sectors check in blk_stack_limits()","details":"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-\u003echunk_sectors value is a\nmultiple of the t-\u003ephysical_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.","modified":"2026-04-02T12:48:09.522910Z","published":"2025-09-12T15:59:32.037Z","related":["SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","openSUSE-SU-2026:20287-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39795.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253"},{"type":"WEB","url":"https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39795.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39795"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"22ada802ede89829dd010a317d9b812b7df7111a"},{"fixed":"418751910044649baa2b424ea31cce3fc4dcc253"},{"fixed":"8b3ce085b52e674290cbfdd07034e7653ffbe4dc"},{"fixed":"31f2f080898e50cbf2bae62d35f9f2a997547b38"},{"fixed":"3b9d69f0e68aa6b0acd9791c45d445154a8c66e9"},{"fixed":"46aa80ef49594ed7de685ecbc673b291e9a2c159"},{"fixed":"5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2"},{"fixed":"14beeef4aafecc8a41de534e31fb5be94739392f"},{"fixed":"448dfecc7ff807822ecd47a5c052acedca7d09e8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39795.json"}}],"schema_version":"1.7.5"}