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

Deregister for helper function change when deleting native module #2324

Merged
merged 4 commits into from
Apr 18, 2023

Conversation

Alan-Jowett
Copy link
Member

@Alan-Jowett Alan-Jowett commented Apr 13, 2023

Resolves: #2316

Description

The native module code registers for address change notification with the program object, but fails to unregister when unloading. This results in a notification for address change accessing freed memory.

Testing

CI/CD + kernel stress.

Documentation

No.

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
dthaler
dthaler previously approved these changes Apr 13, 2023
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
dthaler
dthaler previously approved these changes Apr 14, 2023
@dthaler dthaler added the bug Something isn't working label Apr 14, 2023
@dthaler dthaler added this pull request to the merge queue Apr 17, 2023
Merged via the queue into microsoft:main with commit 5568378 Apr 18, 2023
61 checks passed
@Alan-Jowett Alan-Jowett deleted the issue2316 branch April 18, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash in _ebpf_native_helper_address_changed
3 participants