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

Ganesha Crashing in libntirpc.so when receiving unexpected request #990

Closed
tianyangfengbyte opened this issue Aug 30, 2023 · 0 comments
Closed

Comments

@tianyangfengbyte
Copy link

We encountered ganesha crashing in following stack:
image
but we don't think has bug in rbtree, and from gdb we found the request is unexpected:
Client don't mount nfs, but ganesha keeps receiving NFS 4.0 requests form this client(we always using nfsv4.1, so receiving nfsv4.0 is unexpected). And we wanted to catch nfs request through tcpdump both in client and ganesha, but failed, we only catch tcp pack :
(this is pcap catched from client: nfs.pcap.zip)
image
ganesha service port is 16194,form the pcap, we found client tried to send SYN firstly, and then send some tcp pack and finally send FIN.The above process will be repeated.
We wonder if ganesha may have misparsed the TCP packet as NFS request and lead to crushing?
I don't know if the community has encountered similar problems, and I hope to help analyze the reasons.
On the other hand, we will check why the client always has a TCP connection with ganesha.

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

No branches or pull requests

2 participants