Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential data loss and security breach when used with nfs server #4

Open
petterreinholdtsen opened this issue May 10, 2016 · 10 comments

Comments

@petterreinholdtsen
Copy link

In https://bugs.debian.org/807473 there is a report about this driver causing NFS mounts to hand out random or zeroed out file content. Passing the information on here to make more people aware of the problem.

@mtorromeo
Copy link
Owner

Version 8.042 is out.
I would be interested to know if this is still present.

Thanks!

@Hark0nnen
Copy link

I dont have the original hardware anymore, but i just tried it on another machine and got the same result.

@vesnn
Copy link

vesnn commented Mar 16, 2017

Still present with 8.042 and kernel 4.9.13 on Fedora

@sergey-dryabzhinsky
Copy link

@vesnn No luck with 8.044?

@sergey-dryabzhinsky
Copy link

May be problem not in driver but NFS? http://openwall.com/lists/oss-security/2017/05/02/6

@Hark0nnen
Copy link

This post is about NFSv3, in my case NFSv4 was used.
Although it is obvious that NFS plays a lead role in this problem. In a situation where filesystem is accessible normally but files content is not the only possible explanation is that NFS tries to shortcut some parts on network subsystem for speed and this driver doesnt like it.

@vesnn
Copy link

vesnn commented Jun 14, 2017

With 8.044.2 the problem has mostly gone. The problem still remains with two ASUS MoBo's: M3A78 PRO and another one (I does not have acces to ther second now) with RTL8168/RTL8111 integrated (need to look at the character index at the end of their model number). Attached the lspci log.
r8168.txt
By the way, the speed is unnormal on that network adapter with r8168 module, as if it negotiates 10 Mb/s speed. I attached also iperf logs with r8169, r8168 (via r8169 and r8168 drivers) and forcedeth networ adaptors at the opposite side. Look at the nonsymmetrical speed at dirrerent traffic directions.
iperf-forcedeth.txt
iperf-r8168.txt
iperf-r8168-r8169.txt
iperf-r8169.txt
Every iperf log contains logs: first from direct (iperf3 -c) and second from reverse (iperf3 -R -c) tests, wich where run on remote hosts, connected to ASUS MoBo network adaptor through the TP-Link GBE 8 port switch via CAT5E cables.

@sergey-dryabzhinsky
Copy link

Any updates with new drivers? Is it still hurts NFS?

@ghost
Copy link

ghost commented Sep 24, 2022

Try to use nolapic in grub cmd line. With this option I got working stock r8169 driver on RTL8168/RTL8111 Ethernet rev 03.

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Sep 24, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants