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, 17 Apr 2018 10:08:29 +0200
From:   Bjørn Mork <bjorn@...k.no>
To:     Jason Wang <jasowang@...hat.com>
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH net,stable] tun: fix vlan packet truncation

Jason Wang <jasowang@...hat.com> writes:

> Good catch,

Thanks.  I guess I am "lucky" as I apparently use configs no one else
are using, and therefore often experience breakage ;-)  

I have been using tagged interfaces over tap for an occasional virtual
"lab" of kvm machines for years. It's a simple way to have a flexible
netowrk between host and virtual machine.  So v4.16 broke my "lab". I'm
sorry it took me a while before I had time to investigate why.

> but I still think we should do the truncation in
> run_ebpf_filter to match the behavior socket ebpf filter.

Haven't looked at that code.  But I'd like to point out that any length
adjustments should be done next to the code adding or removing data.
Doing data and length modifications in different funtions is either a
bug, or a bug bound to happen.



Bjørn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ