Skip to content

Conversation

@a-nogikh
Copy link
Collaborator

@a-nogikh a-nogikh commented Nov 14, 2023

Please do not review it yet

We get requests from the researchers community to make our data more accessible. This is a dirty and hacky version of the code that exports all published syzbot bugs as a big .tar.gz archive. It should already give some initial useful version to iterate on later.

In the final solution, this will not be an HTTP endpoint, but rather a cron command that would upload the archive to GCS. OK, AppEngine does not let us dynamically generate responses bigger than 32 MB, so I added a simple code that saves the file to a bucket.

There are a lot of TODOs before we can upstream it.

@a-nogikh a-nogikh force-pushed the features/share-bug-info-archive branch 6 times, most recently from e776553 to df52bb3 Compare November 17, 2023 04:02
@dvyukov
Copy link
Collaborator

dvyukov commented Nov 17, 2023

It would be good to have a test that ensures that export respects access rules within namespace and don't export bugs from other namespaces.

@a-nogikh a-nogikh force-pushed the features/share-bug-info-archive branch 2 times, most recently from 47f952b to 3cf7a2c Compare February 21, 2024 22:05
@a-nogikh a-nogikh force-pushed the features/share-bug-info-archive branch 2 times, most recently from ee96d65 to 87250c2 Compare February 22, 2025 23:29
@a-nogikh a-nogikh force-pushed the features/share-bug-info-archive branch from 87250c2 to 7138476 Compare May 7, 2025 10:03
@tarasmadan
Copy link
Collaborator

With high probability https://github.com/google/syzkaller/tree/master/tools/syz-db-export already has what you need.

@tarasmadan
Copy link
Collaborator

Single json copy-paste:

{
  "version": 1,
  "title": "possible deadlock in bch2_trans_begin",
  "id": "0a0ae06f3db3b6fe0ab48c51aeda855cdba2403d",
  "discussions": [
    "https://groups.google.com/d/msgid/syzkaller-bugs/678db48f.050a0220.303755.0065.GAE@google.com"
  ],
  "crashes": [
    {
      "title": "possible deadlock in bch2_trans_begin",
      "kernel-config": "/text?tag=KernelConfig&x=2a31f7155996562",
      "kernel-source-git": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=8560697b23dc2f405cb463af2b17256a9888129d",
      "kernel-source-commit": "8560697b23dc2f405cb463af2b17256a9888129d",
      "syzkaller-git": "https://github.com/google/syzkaller/commits/2a20f901dbd7922a27b5625a8a442587c8c3df2c",
      "syzkaller-commit": "2a20f901dbd7922a27b5625a8a442587c8c3df2c",
      "crash-report-link": "/text?tag=CrashReport&x=13a5863f980000"
    },
    {
      "title": "possible deadlock in bch2_trans_begin",
      "kernel-config": "/text?tag=KernelConfig&x=aadf89e2f6db86cc",
      "kernel-source-git": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=619f0b6fad524f08d493a98d55bac9ab8895e3a6",
      "kernel-source-commit": "619f0b6fad524f08d493a98d55bac9ab8895e3a6",
      "syzkaller-git": "https://github.com/google/syzkaller/commits/968edaf491504462b98e794257533160d7087792",
      "syzkaller-commit": "968edaf491504462b98e794257533160d7087792",
      "crash-report-link": "/text?tag=CrashReport&x=15adc1f8580000"
    }
  ]
}

@a-nogikh a-nogikh force-pushed the features/share-bug-info-archive branch from 7138476 to 88fad61 Compare October 6, 2025 14:38
@a-nogikh a-nogikh force-pushed the features/share-bug-info-archive branch from 88fad61 to 8d00a78 Compare October 6, 2025 14:45
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.

3 participants