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

syzkaller: include code snippets into WARNING reports #5654

Open
a-nogikh opened this issue Jan 2, 2025 · 3 comments
Open

syzkaller: include code snippets into WARNING reports #5654

a-nogikh opened this issue Jan 2, 2025 · 3 comments

Comments

@a-nogikh
Copy link
Collaborator

a-nogikh commented Jan 2, 2025

From LKML:

> ------------[ cut here ]------------
> WARNING: CPU: 1 PID: 20504 at mm/vma.c:734 vma_merge_existing_range+0x1145/0x16f0 mm/vma.c:734

It'd be nice if syzbot could actually print the code that generates the
warning :) a nice-to-have perhaps.
@tarasmadan
Copy link
Collaborator

It currently requires to:

  1. Click on the link in syzbot e-mail to open dashboard page.
  2. Scroll to the crash report.
  3. Click on the WARNING mm/vma.c:734 link.

Current complexity looks reasonable to me...

@tarasmadan
Copy link
Collaborator

@FlorentRevest wdyt?

@dvyukov
Copy link
Collaborator

dvyukov commented Jan 7, 2025

It may be better for the kernel to do it. Replied on the email thread.

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

No branches or pull requests

3 participants