All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: data-race in do_compute_shiftstate / vt_get_shift_state
       [not found] <CAEHB24_uZNoJ9+B-XVdMcW0z1EGwpx5XL4rdEUtNqofsmYSWVw@mail.gmail.com>
@ 2022-08-19  7:06 ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2022-08-19  7:06 UTC (permalink / raw)
  To: Abhishek Shah
  Cc: jirislaby, linux-kernel, changlianzhi, dmitry.torokhov, johan,
	Gabriel Ryan

On Thu, Aug 18, 2022 at 08:25:00PM -0400, Abhishek Shah wrote:
> Hi all,
> 
> We found a data race involving the *shift_state * variable. Although we see
> that the race involves a function which has a comment about being racy
> <https://elixir.bootlin.com/linux/v5.18-rc5/source/drivers/tty/vt/vt.c#L3174>,
> we are unsure of its security implications as the remaining switch cases
> have a console_lock() call but this one
> <https://elixir.bootlin.com/linux/v5.18-rc5/source/drivers/tty/vt/vt.c#L3224>
> does not. Please let us know what you think.

Can you propose a patch that solves the problem for you in your testing
that we can review?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-19  7:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAEHB24_uZNoJ9+B-XVdMcW0z1EGwpx5XL4rdEUtNqofsmYSWVw@mail.gmail.com>
2022-08-19  7:06 ` data-race in do_compute_shiftstate / vt_get_shift_state Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.