Re: [PATCH] char: istallion: fix arbitrary kernel memory reads/writes

From: Jiri Slaby
Date: Sat Apr 09 2011 - 09:27:14 EST


On 04/09/2011 02:41 PM, Vasiliy Kulikov wrote:
> stli_brdstats is defined as global variable. After de-BKL-ization in
> the patch b4eda9cb48eac1b7 an access to the variable is not serialized
> anymore. This leads to the TOCTOU in stli_getbrdstats():

Don't use such a weird and uncommon abbreviations.

> --- a/drivers/char/istallion.c
> +++ b/drivers/char/istallion.c

Note that the code moved to staging.

regards,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/