ACK: [SRU][F][PATCH 0/1] CVE-2023-52458
Manuel Diewald
manuel.diewald at canonical.com
Tue Jan 7 17:02:25 UTC 2025
On Thu, Jan 02, 2025 at 10:30:04AM +0800, Guoqing Jiang wrote:
> [Impact]
>
> 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.
>
> [Fix]
>
> Oracular: Not affected
> Noble: Not affected
> Jammy: Fixed 5.15.0-102.112
> Focal: Backport
> Bionic: Send to ESM ML
> Xenial: Not affected
> Trusty: Not affected
>
> [Test Case]
>
> Compile tested only.
>
> [Where problems could occur]
>
> The fix affects add partition or resize partition against block device.
>
> Min Li (1):
> block: add check that partition length needs to be aligned with block
> size
>
> block/ioctl.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
>
> --
> 2.34.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Acked-by: Manuel Diewald <manuel.diewald at canonical.com>
--
Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250107/96828686/attachment-0001.sig>
More information about the kernel-team
mailing list