In the Linux kernel, the following vulnerability has been resolved:
block: avoid possible overflow for chunksectors check in blkstack_limits()
In blkstacklimits(), we check that the t->chunksectors value is a multiple of the t->physicalblock_size value.
However, by finding the chunksectors value in bytes, we may overflow the unsigned int which holds chunksectors, so change the check to be based on sectors.
[
{
"id": "CVE-2025-39795-0db5d2b3",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@448dfecc7ff807822ecd47a5c052acedca7d09e8",
"deprecated": false,
"digest": {
"line_hashes": [
"321638682425530092902752829350390924942",
"90448079994591673474101219255228122480",
"96208743799093352298320709258612374514",
"228941039941951339449950667007586030081"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-12a4c3e9",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b3ce085b52e674290cbfdd07034e7653ffbe4dc",
"deprecated": false,
"digest": {
"line_hashes": [
"112376126964609255620260403572997187333",
"90448079994591673474101219255228122480",
"49628011588901076928498970614940998387",
"45152333779109176842068472184329133161"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-24d662f4",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@418751910044649baa2b424ea31cce3fc4dcc253",
"deprecated": false,
"digest": {
"length": 4641.0,
"function_hash": "266429899623467940663274928997029227323"
}
},
{
"id": "CVE-2025-39795-2763ebcf",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31f2f080898e50cbf2bae62d35f9f2a997547b38",
"deprecated": false,
"digest": {
"line_hashes": [
"112376126964609255620260403572997187333",
"90448079994591673474101219255228122480",
"49628011588901076928498970614940998387",
"45152333779109176842068472184329133161"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-302043d9",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14beeef4aafecc8a41de534e31fb5be94739392f",
"deprecated": false,
"digest": {
"line_hashes": [
"321638682425530092902752829350390924942",
"90448079994591673474101219255228122480",
"96208743799093352298320709258612374514",
"228941039941951339449950667007586030081"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-4b47de5d",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46aa80ef49594ed7de685ecbc673b291e9a2c159",
"deprecated": false,
"digest": {
"line_hashes": [
"321638682425530092902752829350390924942",
"90448079994591673474101219255228122480",
"96208743799093352298320709258612374514",
"228941039941951339449950667007586030081"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-5e000817",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b9d69f0e68aa6b0acd9791c45d445154a8c66e9",
"deprecated": false,
"digest": {
"line_hashes": [
"112376126964609255620260403572997187333",
"90448079994591673474101219255228122480",
"49628011588901076928498970614940998387",
"45152333779109176842068472184329133161"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-61043bd6",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b9d69f0e68aa6b0acd9791c45d445154a8c66e9",
"deprecated": false,
"digest": {
"length": 4723.0,
"function_hash": "330491828410083020182257287372336833414"
}
},
{
"id": "CVE-2025-39795-7c003341",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@448dfecc7ff807822ecd47a5c052acedca7d09e8",
"deprecated": false,
"digest": {
"length": 4946.0,
"function_hash": "98215318520070699753180482368603473775"
}
},
{
"id": "CVE-2025-39795-93b5d5f4",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b3ce085b52e674290cbfdd07034e7653ffbe4dc",
"deprecated": false,
"digest": {
"length": 4629.0,
"function_hash": "230154173489000602131618849417305942218"
}
},
{
"id": "CVE-2025-39795-976a11ff",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14beeef4aafecc8a41de534e31fb5be94739392f",
"deprecated": false,
"digest": {
"length": 4674.0,
"function_hash": "122073943831385105040981086922410443002"
}
},
{
"id": "CVE-2025-39795-99443b34",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46aa80ef49594ed7de685ecbc673b291e9a2c159",
"deprecated": false,
"digest": {
"length": 4600.0,
"function_hash": "44420016727920831740376706064322966359"
}
},
{
"id": "CVE-2025-39795-a63d9a66",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@418751910044649baa2b424ea31cce3fc4dcc253",
"deprecated": false,
"digest": {
"line_hashes": [
"112376126964609255620260403572997187333",
"90448079994591673474101219255228122480",
"49628011588901076928498970614940998387",
"45152333779109176842068472184329133161"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-39795-eceab367",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "blk_stack_limits",
"file": "block/blk-settings.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31f2f080898e50cbf2bae62d35f9f2a997547b38",
"deprecated": false,
"digest": {
"length": 4723.0,
"function_hash": "330491828410083020182257287372336833414"
}
}
]