Subject: [merged] mwave-fix-info-leak-in-mwave_ioctl.patch removed from -mm tree To: dan.carpenter@xxxxxxxxxx,greg@xxxxxxxxx,jkosina@xxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 09 Jul 2013 16:22:01 -0700 The patch titled Subject: mwave: fix info leak in mwave_ioctl() has been removed from the -mm tree. Its filename was mwave-fix-info-leak-in-mwave_ioctl.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Subject: mwave: fix info leak in mwave_ioctl() Smatch complains that on 64 bit systems, there is a hole in the MW_ABILITIES struct between ->component_count and ->component_list[]. It leaks stack information from the mwave_ioctl() function. I've added a memset() to initialize the struct to zero. Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Jiri Kosina <jkosina@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/mwave/tp3780i.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/char/mwave/tp3780i.c~mwave-fix-info-leak-in-mwave_ioctl drivers/char/mwave/tp3780i.c --- a/drivers/char/mwave/tp3780i.c~mwave-fix-info-leak-in-mwave_ioctl +++ a/drivers/char/mwave/tp3780i.c @@ -479,6 +479,7 @@ int tp3780I_QueryAbilities(THINKPAD_BD_D PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_QueryAbilities entry pBDData %p\n", pBDData); + memset(pAbilities, 0, sizeof(*pAbilities)); /* fill out standard constant fields */ pAbilities->instr_per_sec = pBDData->rDspSettings.uIps; pAbilities->data_size = pBDData->rDspSettings.uDStoreSize; _ Patches currently in -mm which might be from dan.carpenter@xxxxxxxxxx are origin.patch linux-next.patch fs-convert-fs-shrinkers-to-new-scan-count-api-fix-fix.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