block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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->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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 418751910044649baa2b424ea31cce3fc4dcc253; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 8b3ce085b52e674290cbfdd07034e7653ffbe4dc; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 31f2f080898e50cbf2bae62d35f9f2a997547b38; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 3b9d69f0e68aa6b0acd9791c45d445154a8c66e9; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 46aa80ef49594ed7de685ecbc673b291e9a2c159; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 14beeef4aafecc8a41de534e31fb5be94739392f; From 22ada802ede89829dd010a317d9b812b7df7111a · fixed in 448dfecc7ff807822ecd47a5c052acedca7d09e8
- Linux Linux
5.10
- KernelLinux
From 5.10.0 · fixed in 5.10.241; From 5.11.0 · fixed in 5.15.190; From 5.16.0 · fixed in 6.1.149; From 6.2.0 · fixed in 6.6.103; From 6.7.0 · fixed in 6.12.43; From 6.13.0 · fixed in 6.15.11; From 6.16.0 · fixed in 6.16.2
References 8
git.kernel.org
- stable/c/418751910044649baa2b424ea31cce3fc4dcc253
- stable/c/8b3ce085b52e674290cbfdd07034e7653ffbe4dc
- stable/c/31f2f080898e50cbf2bae62d35f9f2a997547b38
- stable/c/3b9d69f0e68aa6b0acd9791c45d445154a8c66e9
- stable/c/46aa80ef49594ed7de685ecbc673b291e9a2c159
- stable/c/5e276e6ff9aacf8901b9c3265c3cdd2568c9fff2
- stable/c/14beeef4aafecc8a41de534e31fb5be94739392f
- stable/c/448dfecc7ff807822ecd47a5c052acedca7d09e8