Not rated
CVE-2025-39795 block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
Description
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.17 | earliest → < 6.17 | 6.17 |
| Linux 6.16 | earliest → < 6.16.2 | 6.16.2 |
| Linux 6.15 | earliest → < 6.15.11 | 6.15.11 |
| Linux 6.12 | earliest → < 6.12.43 | 6.12.43 |
| Linux 6.6 | earliest → < 6.6.103 | 6.6.103 |
| Linux 6.1 | earliest → < 6.1.149 | 6.1.149 |
| Linux 5.15 | earliest → < 5.15.190 | 5.15.190 |
| Linux | 5.10 | 5.10.241 |
| SIMATIC CN 4100 5.0 | earliest → < 5.0 | 5.0 |
Show the 3 other branches Hide the 3 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated