Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-02-07 Thread Jani Nikula
On Fri, 04 Feb 2022, Kees Cook wrote: > Ping, > > This is a OOB read fix. Can someone please pick this up? Daniel? Thierry? As I said, I reviewed this but I'm not comfortable applying patches that change the functionality of drivers I don't maintain. BR, Jani. > > -Kees > > On Wed, Jan 05, 20

Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-02-04 Thread Kees Cook
Ping, This is a OOB read fix. Can someone please pick this up? -Kees On Wed, Jan 05, 2022 at 09:35:07AM -0800, Kees Cook wrote: > The link_status array was not large enough to read the Adjust Request > Post Cursor2 register, so remove the common helper function to avoid > an OOB read, found with

Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-01-18 Thread Kees Cook
On Tue, Jan 18, 2022 at 01:11:48PM -0600, Gustavo A. R. Silva wrote: > > > On 1/5/22 11:35, Kees Cook wrote: > > The link_status array was not large enough to read the Adjust Request > > Post Cursor2 register, so remove the common helper function to avoid > > an OOB read, found with a -Warray-bou

Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-01-18 Thread Gustavo A. R. Silva
On 1/5/22 11:35, Kees Cook wrote: > The link_status array was not large enough to read the Adjust Request > Post Cursor2 register, so remove the common helper function to avoid > an OOB read, found with a -Warray-bounds build: > > drivers/gpu/drm/drm_dp_helper.c: In function > 'drm_dp_get_adju

Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-01-07 Thread Jani Nikula
On Wed, 05 Jan 2022, Kees Cook wrote: > On Wed, Jan 05, 2022 at 08:00:50PM +0200, Jani Nikula wrote: >> On Wed, 05 Jan 2022, Kees Cook wrote: >> > The link_status array was not large enough to read the Adjust Request >> > Post Cursor2 register, so remove the common helper function to avoid >> > a

Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-01-05 Thread Kees Cook
On Wed, Jan 05, 2022 at 08:00:50PM +0200, Jani Nikula wrote: > On Wed, 05 Jan 2022, Kees Cook wrote: > > The link_status array was not large enough to read the Adjust Request > > Post Cursor2 register, so remove the common helper function to avoid > > an OOB read, found with a -Warray-bounds build

Re: [PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-01-05 Thread Jani Nikula
On Wed, 05 Jan 2022, Kees Cook wrote: > The link_status array was not large enough to read the Adjust Request > Post Cursor2 register, so remove the common helper function to avoid > an OOB read, found with a -Warray-bounds build: > > drivers/gpu/drm/drm_dp_helper.c: In function > 'drm_dp_get_adj

[PATCH] drm/dp: Remove common Post Cursor2 register handling

2022-01-05 Thread Kees Cook
The link_status array was not large enough to read the Adjust Request Post Cursor2 register, so remove the common helper function to avoid an OOB read, found with a -Warray-bounds build: drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_get_adjust_request_post_cursor': drivers/gpu/drm/drm_dp_h