---
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:

  block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

  In blk_stack_limits(), we check that the t->chunk_sectors value is a
  multiple 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.05005
ingestedAt: '2026-09-08T15:33:26.997Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

In blk_stack_limits(), we check that the t->chunk_sectors value is a
multiple of the t->physical_block_size value.

However, by finding the chunk_sectors value in bytes, we may overflow
the unsigned int which holds chunk_sectors, so change the check to be
based on sectors.

## 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`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
