{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39795","id":"CVE-2025-39795","title":"block: avoid possible overflow for chunk_sectors check in blk_stack_limits()","description":"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 ","descriptionLong":"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.","published":"2025-09-12T15:59:32.037Z","updated":"2026-11-12T02:31:08.094240296Z","reserved":"2025-04-16T07:20:57.132Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"418751910044649baa2b424ea31cce3fc4dcc253","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"8b3ce085b52e674290cbfdd07034e7653ffbe4dc","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"31f2f080898e50cbf2bae62d35f9f2a997547b38","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"3b9d69f0e68aa6b0acd9791c45d445154a8c66e9","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"46aa80ef49594ed7de685ecbc673b291e9a2c159","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"14beeef4aafecc8a41de534e31fb5be94739392f","status":"affected","versionType":"git"},{"version":"22ada802ede89829dd010a317d9b812b7df7111a","lessThan":"448dfecc7ff807822ecd47a5c052acedca7d09e8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.241","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.149","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.43","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.11","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.2","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-674"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/418751910044649baa2b424ea31cce3fc4dcc253","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/14beeef4aafecc8a41de534e31fb5be94739392f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39795.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39795","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00177,"epssPercentile":0.07381,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39795","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39795","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39795","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}