-
Notifications
You must be signed in to change notification settings - Fork 108
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
lsof segfaults in FreeBSD jails #263
Comments
I poked the FreeBSD developers. |
Can you get a backtrace, either |
This is the the output of
I hope, this is what you were looking for (I have never used |
@utrenkner Can you try to also extract a backtrace from the crash? Just having the crash location itself usually is just part of the necessary information as you e.g. need to know which copy/move operation exactly caused the crash. Something like |
Here is the full backtrace:
|
Describe the bug
Earlier this month, I started to see segfaults of lsof in several FreeBSD jails. This was after updating both, the operating system to the latest patchlevel and also the lsof package.
The segmentation fault occurs, when security/rkhunter checks for possibly malicious open ports.
To Reproduce
This is an example of the lsof use by rkhunter which leads to a segmentation fault:
Program output
Note, the Invalid argument can be observed in all of my jails. However, not in all of them does this lead to a segmentation fault.
Expected behavior
No segmentation fault.
Environment (please complete the following information):
OS: FreeBSD 13.1-RELEASE-p2
lsof: 4.96.4
package (from official FreeBSD quarterly repo): version 4.96.4,8
The text was updated successfully, but these errors were encountered: