Re: [PATCH v2] cdrom: bound the device-supplied offset in cdrom_mrw_set_lba_space

From: Phillip Potter

Date: Tue Dec 01 2026 - 16:56:05 EST


On Tue, Nov 24, 2026 at 03:16:52PM -0700, Jay Vadayath wrote:
> Hi Phillip,
>
> I apologize for the confusion.
> There was a mixup when creating the attachment.
>
> I've now confirmed that the poc.c does reproduce correct bug and
> produces the backtrace.
> This poc.c file is attached with this email.
> SHA-256 (poc.c):
> b3310c98ab40145cc137e3c915349154bea178fe62ca6ee6774c2c18e6e936dc
>
> Please let me know if you encounter any problems when using this
> attachment to reproduce the bug.
>
> Thank you.
>

Hi Jay,

Thanks for this, I can confirm the reproducer now reliably triggers the
problem for me. It also (as expected) does not trigger KASAN when your
patch is in place. Looks good for me. I will send on for inclusion
shortly.

Regards,
Phil