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

chrdev sample module triggers "free active" warning in debug mode #203

Closed
TheSven73 opened this issue Apr 17, 2021 · 1 comment
Closed
Labels
• drivers Related to the example drivers in `drivers/`.

Comments

@TheSven73
Copy link
Collaborator

In debug mode, the chrdev sample module triggers a "free active" warning. Which probably points to a potential use-after-free issue.

This happens on every supported architecture, and is visible in the CI logs.

[   48.194412] ------------[ cut here ]------------
[   48.195307] ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x40
[   48.198373] WARNING: CPU: 0 PID: 38 at lib/debugobjects.c:508 debug_print_object+0xbf/0xe0
[   48.200944] Modules linked in: rust_chrdev(-) [last unloaded: rust_sync]
@ojeda ojeda added prio: high • drivers Related to the example drivers in `drivers/`. labels Apr 17, 2021
@alex
Copy link
Member

alex commented May 12, 2021

fixed by #207

@alex alex closed this as completed May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
• drivers Related to the example drivers in `drivers/`.
Development

No branches or pull requests

3 participants