lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 11 Apr 2017 22:12:16 +0100
From:   Al Viro <viro@...IV.linux.org.uk>
To:     Dave Jones <davej@...emonkey.org.uk>,
        Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: iov_iter_pipe warning.

On Tue, Apr 11, 2017 at 04:53:36PM -0400, Dave Jones wrote:
>  > 		if (WARN_ON(pipe->nrbufs)) {
>  > 			printk(KERN_ERR "->splice_write = %p",
>  > 				sd->u.file->f_op->splice_write);
>  > 		}
>  > 	}
> 
> Ah, missed adding this 2nd WARN_ON.

Good - it means that we don't have to chase memory corruption yet.  That
smells like some ->splice_write() claiming it has copied more than it
has drained from the pipe.

> I'll turn it back off, and retry with the missing WARN from above added.

Please, do.  And it would be nice if you printed sd->u.file->f_op as well
(in the same printk).

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ