block: add check that partition length needs to be aligned with block size
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5010c27120962c85d2f421d2cf211791c9603503, Kernel 6f64f866aa1ae6975c95d805ed51d7e9433a0016, Kernel 8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: block: add check that partition length needs to be aligned with block size Before calling add partition or resize partition, there is no check on whether the length is aligned with the logical block size. If the logical block size of the disk is larger than 512 bytes, then the partition size maybe not the multiple of the logical block size, and when the last sector is read, bio_truncate() will adjust the bio size, resulting in an IO error if the size of the read command is smaller than the logical block size.If integrity data is supported, this will also result in a null pointer dereference when calling bio_integrity_free.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.10, >=633395b67bb222f85bb8f825c7751a54b9ec84ee <5010c27120962c85d2f421d2cf211791c9603503, >=633395b67bb222f85bb8f825c7751a54b9ec84ee <6f64f866aa1ae6975c95d805ed51d7e9433a0016, >=633395b67bb222f85bb8f825c7751a54b9ec84ee <8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62, >=633395b67bb222f85bb8f825c7751a54b9ec84ee <bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5, >=633395b67bb222f85bb8f825c7751a54b9ec84ee <cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8, >=633395b67bb222f85bb8f825c7751a54b9ec84ee <ef31cc87794731ffcb578a195a2c47d744e25fb8 | 5010c27120962c85d2f421d2cf211791c9603503, 6f64f866aa1ae6975c95d805ed51d7e9433a0016, 8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62, bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5, cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8, ef31cc87794731ffcb578a195a2c47d744e25fb8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket