{"id":"CVE-2025-39795","aliases":["CVE-2025-39795"],"related":[],"kind":"vulnerability","state":"published","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->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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nblock: evitar un posible desbordamiento para la comprobación de chunk_sectors en blk_stack_limits()\n\nEn blk_stack_limits(), comprobamos que el valor t->chunk_sectors es un múltiplo del valor t->physical_block_size.\n\nSin embargo, al encontrar el valor de chunk_sectors en bytes, podemos desbordar el unsigned int que contiene chunk_sectors, así que cambiamos la comprobación para que se base en sectores.","source":"nvd"}],"published":"2025-09-12T15:59:32.037Z","modified":"2026-11-10T13:17:51.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"418751910044649baa2b424ea31cce3fc4dcc253","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"8b3ce085b52e674290cbfdd07034e7653ffbe4dc","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"31f2f080898e50cbf2bae62d35f9f2a997547b38","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"3b9d69f0e68aa6b0acd9791c45d445154a8c66e9","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"46aa80ef49594ed7de685ecbc673b291e9a2c159","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"14beeef4aafecc8a41de534e31fb5be94739392f","status":"affected"},{"type":"git","introduced":"22ada802ede89829dd010a317d9b812b7df7111a","fixed":"448dfecc7ff807822ecd47a5c052acedca7d09e8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.43","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.11","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.2","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","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.10","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.43"},{"status":"affected","introduced":"6.13","fixed":"6.15.11"},{"status":"affected","introduced":"6.16","fixed":"6.16.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:11:36.571Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39795","url":"https://www.cve.org/CVERecord?id=CVE-2025-39795","licence":"CVE Terms of Use","modified":"2026-11-10T12:37:03.679Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39795","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39795","licence":"Public domain","modified":"2026-11-10T13:17:51.127Z"}],"updatedAt":"2026-11-25T22:59:04.603Z","epss":{"score":0.00228,"percentile":0.14448,"date":"2026-12-01T12:00:22.000Z"}}