Re: [PATCH v2 1/2] tty: vcc: zero-initialize control packet in vcc_send_ctl()

Jiri Slaby <[email protected]> Tue, 4 Aug 2026 07:12:53 +0200
Newsgroups gmane.linux.serial,gmane.linux.ports.sparc,gmane.linux.kernel,gmane.linux.kernel.stable
Message-ID <[email protected]>
On 03. 08. 26, 16:10, Greg Kroah-Hartman wrote:
> From: Joshua Rogers <[email protected]>
> 
> The stack-allocated struct vio_vcc pkt was partially initialized,
> leaving the tag.stype_env field uninitialized before being sent via
> ldc_write(), potentially leaking kernel stack data to the LDC peer.
> 
> Assisted-by: AISLE:Snapshot
> Cc: stable <[email protected]>
> Signed-off-by: Joshua Rogers <[email protected]>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>

Reviewed-by: Jiri Slaby <[email protected]>

thanks,
-- 
js
suse labs