Skip to content

syscalls: Fix NULL pointer crash when enumerating kernel modules#1862

Closed
lfreijo wants to merge 1 commit intotklengyel:mainfrom
lfreijo:main
Closed

syscalls: Fix NULL pointer crash when enumerating kernel modules#1862
lfreijo wants to merge 1 commit intotklengyel:mainfrom
lfreijo:main

Conversation

@lfreijo
Copy link
Copy Markdown
Contributor

@lfreijo lfreijo commented Jan 29, 2026

Found this bug while testing Windows 10 x64 with multiple plugins (syscalls + procmon + filetracer + fileextractor + memdump + tlsmon)

Add NULL check for module_info->full_name before accessing its contents in enum_modules_cb(). Some kernel modules (e.g., certain drivers in PID 4) do not have a full_name populated, causing a SIGSEGV when syscalls is combined with other plugins.

This was the root cause of the crash (exit 139) when running syscalls alongside procmon, filetracer, and other plugins. The crash occurred during module enumeration on Windows, before any syscall events could be captured.

Add NULL check for module_info->full_name before accessing its contents
in enum_modules_cb(). Some kernel modules (e.g., certain drivers in
PID 4) do not have a full_name populated, causing a SIGSEGV when
syscalls is combined with other plugins.

This was the root cause of the crash (exit 139) when running syscalls
alongside procmon, filetracer, and other plugins. The crash occurred
during module enumeration on Windows, before any syscall events could
be captured.

Tested with 6-plugin combo (syscalls + procmon + filetracer +
fileextractor + memdump + tlsmon) - 73,570 events, clean exit.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@drakvuf-jenkins
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@lfreijo lfreijo closed this Jan 29, 2026
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

Successfully merging this pull request may close these issues.

2 participants