Subject: [merged] drivers-misc-sgi-gru-grufilec-fix-info-leak-in-gru_get_config_info.patch removed from -mm tree To: dan.carpenter@xxxxxxxxxx,holt@xxxxxxx,sivanich@xxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 13 Jun 2013 11:58:00 -0700 The patch titled Subject: drivers/misc/sgi-gru/grufile.c: fix info leak in gru_get_config_info() has been removed from the -mm tree. Its filename was drivers-misc-sgi-gru-grufilec-fix-info-leak-in-gru_get_config_info.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Subject: drivers/misc/sgi-gru/grufile.c: fix info leak in gru_get_config_info() The "info.fill" array isn't initialized so it can leak uninitialized stack information to user space. Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Acked-by: Robin Holt <holt@xxxxxxx> Acked-by: Dimitri Sivanich <sivanich@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/misc/sgi-gru/grufile.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/misc/sgi-gru/grufile.c~drivers-misc-sgi-gru-grufilec-fix-info-leak-in-gru_get_config_info drivers/misc/sgi-gru/grufile.c --- a/drivers/misc/sgi-gru/grufile.c~drivers-misc-sgi-gru-grufilec-fix-info-leak-in-gru_get_config_info +++ a/drivers/misc/sgi-gru/grufile.c @@ -172,6 +172,7 @@ static long gru_get_config_info(unsigned nodesperblade = 2; else nodesperblade = 1; + memset(&info, 0, sizeof(info)); info.cpus = num_online_cpus(); info.nodes = num_online_nodes(); info.blades = info.nodes / nodesperblade; _ Patches currently in -mm which might be from dan.carpenter@xxxxxxxxxx are origin.patch linux-next.patch fanotify-info-leak-in-copy_event_to_user.patch configfs-use-capped-length-for-store_attribute.patch drivers-cdrom-cdromc-use-kzalloc-for-failing-hardware.patch fs-convert-fs-shrinkers-to-new-scan-count-api-fix-fix.patch mm-vmallocc-unbreak-__vunmap.patch errh-is_err-can-accept-__user-pointers.patch drivers-misc-sgi-gru-grufaultc-fix-a-sanity-test-in-gru_set_context_option.patch rbtree-remove-unneeded-include.patch rbtree-remove-unneeded-include-fix.patch minix-bug-widening-a-binary-not-operation.patch documentation-codingstyle-allow-multiple-return-statements-per-function.patch mwave-fix-info-leak-in-mwave_ioctl.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html