Skip to content

pkg/report: parse int3 oops reports#7376

Merged
a-nogikh merged 1 commit into
google:masterfrom
Haihan-Jiang:codex/syzkaller-int3-report
Jun 1, 2026
Merged

pkg/report: parse int3 oops reports#7376
a-nogikh merged 1 commit into
google:masterfrom
Haihan-Jiang:codex/syzkaller-int3-report

Conversation

@Haihan-Jiang

Copy link
Copy Markdown
Contributor

Summary

  • recognize Linux Oops: int3: reports before they fall through to the generic fatal-exception panic parser
  • use the existing RIP plus call-trace stack extraction path so allocator wrappers can still be skipped toward the useful caller
  • classify the resulting int3 in ... title as DoS and add a regression report based on pkg/report: kernel panic: Fatal exception is misparsed #6119

Fixes #6119

Testing

  • go test ./pkg/report
  • go test ./pkg/report/crash
  • go test ./pkg/report/...

@Haihan-Jiang
Haihan-Jiang marked this pull request as ready for review May 24, 2026 16:48

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for reporting int3 (breakpoint) exceptions in the Linux kernel as Denial of Service (DoS) crashes. The changes include updating the title-to-type mapping, adding a new oops pattern for int3: in the Linux reporter, and providing a corresponding test case. The review feedback suggests reordering the new entry in the titleToType list to maintain alphabetical sorting as required by the existing code structure.

Comment thread pkg/report/crash/title_to_type.go Outdated
@Haihan-Jiang
Haihan-Jiang force-pushed the codex/syzkaller-int3-report branch from ac4de16 to eca756a Compare May 24, 2026 16:50
@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.8%. Comparing base (c69befb) to head (eca756a).

Additional details and impacted files
Files with missing lines Coverage Δ
pkg/report/linux.go 87.9% <ø> (ø)

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Haihan-Jiang

Copy link
Copy Markdown
Contributor Author

Thanks for the review.

@a-nogikh

a-nogikh commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the patch!

@a-nogikh
a-nogikh added this pull request to the merge queue Jun 1, 2026
Merged via the queue into google:master with commit 1095583 Jun 1, 2026
23 checks passed
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.

pkg/report: kernel panic: Fatal exception is misparsed

2 participants