APPLIED: [SRU][F/J/M][PATCH 0/1] CVE-2024-23851

Stefan Bader stefan.bader at canonical.com
Fri Mar 1 09:05:28 UTC 2024


On 22.02.24 22:59, Yuxuan Luo wrote:
> [Impact]
> copy_params in drivers/md/dm-ioctl.c in the Linux kernel through 6.7.1 can
> attempt to allocate more than INT_MAX bytes, and crash, because of a
> missing param_kernel->data_size check. This is related to ctl_ioctl.
> 
> [Backport]
> For Mantic it is a single clean cherry pick.
> 
> For Focal and Jammy, the fix commit cannot be clean cherry picked
> because of the conflict around the DMERR() lines; cherry pick
> dbdcc906d978 (“dm ioctl: log an error if the ioctl structure is
> corrupted”) to solve the conflict.
> 
> [Test]
> Compile and boot tested.
> 
> [Potential Regression]
> A very low regression potential exists when executing copy_params() for
> devices.
> 
> 
> Mikulas Patocka (1):
>    dm: limit the number of targets and parameter size area
> 
>   drivers/md/dm-core.h  | 2 ++
>   drivers/md/dm-ioctl.c | 3 ++-
>   drivers/md/dm-table.c | 9 +++++++--
>   3 files changed, 11 insertions(+), 3 deletions(-)
> 

Applied to mantic,jammy,focal:linux/master-next. Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240301/64b1f195/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240301/64b1f195/attachment-0001.sig>


More information about the kernel-team mailing list