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

auditbeat: kprobes remain inserted after process termination #28608

Closed
efd6 opened this issue Oct 24, 2021 · 1 comment · Fixed by #28609
Closed

auditbeat: kprobes remain inserted after process termination #28608

efd6 opened this issue Oct 24, 2021 · 1 comment · Fixed by #28609
Assignees
Labels

Comments

@efd6
Copy link
Contributor

efd6 commented Oct 24, 2021

For confirmed bugs, please report:

  • Version: originally identified on 5186feb but confirmed on latest master d00c2fe.
  • Operating System: linux
  • Steps to Reproduce:
    1. Checkout and build x-pack auditbeat.
    2. Using the default configuration run ./auditbeat run -d '*' -e until it has gone through the set up process and is reporting events.
    3. Cancel the process with ^C.
    4. List installed probes.
      # perf probe --list
        auditbeat_22327:inet_csk_accept_ret (on inet_csk_accept%return with sock laddr lport raddr rport famil
        auditbeat_22327:sys_execve_ret (on __x64_sys_execve%return with retval)
        auditbeat_22327:tcp4_connect_out (on tcp_v4_connect%return with retval)
        auditbeat_22327:tcp6_connect_out (on tcp_v6_connect%return with retval)
      

This is not the complete set of probes that are installed, so it seems that just these are missed during unload.

Found during exploration of #17165.

/cc @adriansr

@efd6 efd6 self-assigned this Oct 24, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 24, 2021
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 24, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

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

Successfully merging a pull request may close this issue.

2 participants