[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131216.201127.533912619440960142.davem@davemloft.net>
Date: Mon, 16 Dec 2013 20:11:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: speiro@....upv.es
Cc: linux-kernel@...r.kernel.org, security@...nel.org,
linux-hams@...r.kernel.org, netdev@...r.kernel.org, jpr@...bb.org,
stable@...r.kernel.org
Subject: Re: [PATCH] hamradio/yam: fix info leak in ioctl
From: Salva Peiró <speiro@....upv.es>
Date: Fri, 13 Dec 2013 08:46:07 +0100
> The yam_ioctl() code fails to initialise the cmd field
> of the struct yamdrv_ioctl_cfg. Add an explicit memset(0)
> before filling the structure to avoid the 4-byte info leak.
>
> Signed-off-by: Salva Peiró <speiro@....upv.es>
Put this into the SIOCYAMGCFG case statement, which is where the
problem actually exists.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists