Re: [PATCH 5.10] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 31, 2022 at 09:07:02AM -0700, Tadeusz Struk wrote:
> On 3/31/22 09:02, Tadeusz Struk wrote:
> > Upstream commit: 69d0db01e210 ("ubsan: remove CONFIG_UBSAN_OBJECT_SIZE")
> > 
> > The object-size sanitizer is redundant to -Warray-bounds, and
> > inappropriately performs its checks at run-time when all information
> > needed for the evaluation is available at compile-time, making it quite
> > difficult to use:
> > 
> > https://bugzilla.kernel.org/show_bug.cgi?id=214861
> > 
> > This run-time object-size checks also trigger false-positive errors,
> > like the below, that make it quite difficult to test stable kernels in
> > test automations like syzkaller:
> > 
> > https://syzkaller.appspot.com/text?tag=Error&x=12b3aac3700000
> > 
> > With -Warray-bounds almost enabled globally, it doesn't make sense to
> > keep this around.
> 
> Hi,
> This back-port is for 5.10 only. Please also cherry-pick the original
> commit 69d0db01e210 ("ubsan: remove CONFIG_UBSAN_OBJECT_SIZE")
> to 5.15.y and 5.16.y. There is no back-port required for these kernels.

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux