From: Brian Norris <email@example.com> To: Navid Emamdoost <firstname.lastname@example.org> Cc: Navid Emamdoost <email@example.com>, Stephen McCamant <firstname.lastname@example.org>, Kangjie Lu <email@example.com>, QCA ath9k Development <firstname.lastname@example.org>, Kalle Valo <email@example.com>, "David S. Miller" <firstname.lastname@example.org>, linux-wireless <email@example.com>, "<firstname.lastname@example.org>" <email@example.com>, Linux Kernel <firstname.lastname@example.org> Subject: Re: [PATCH] ath9k: release allocated buffer if timed out Date: Wed, 13 May 2020 12:12:14 -0700 [thread overview] Message-ID: <CA+ASDXOrsZq6jpu3R_1KQFr2yxd6yhjkxkNb7n6K3GBickoN5A@mail.gmail.com> (raw) In-Reply-To: <CAEkB2EQf-Q+q9QSwwj=Q208yAJj5hhSDrDiHqyU3WeSod2Bo+Q@mail.gmail.com> On Tue, May 12, 2020 at 8:25 PM Navid Emamdoost <email@example.com> wrote: > I found this via static analysis and as a result, did had the inputs > to test it with (like the way fuzzing works). Fuzzing is dynamic analysis, so I'm not sure how that fits. > It may be beneficial if you could point me to any testing > infrastructure that you use or are aware of for future cases. syzbot (a real fuzzer -- I believe it uses fake USB devices ) caught the error, apparently: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=ced21a4c726bdc60b1680c050a284b08803bc64c so you might look at using that too. Traditionally, "testing your patches" means having hardware that runs the driver in question when patching said driver. That likely won't scale for researchers, but then, perhaps it just means you need to be more clear on how you caught the issue and how you did (or didn't) test it, so it's easier to reconcile your claims with the testing done by real users. If you only did static analysis, then we can be more confident in reverting. The fuzz-tested revert is an even nicer bonus. Brian  https://github.com/google/syzkaller/blob/master/docs/syzbot.md#usb-bugs https://github.com/google/syzkaller/blob/master/docs/linux/external_fuzzing_usb.md
next prev parent reply other threads:[~2020-05-13 19:12 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-09-06 18:59 Navid Emamdoost 2019-09-10 13:32 ` Kalle Valo 2020-05-12 16:56 ` Brian Norris 2020-05-13 3:24 ` Navid Emamdoost 2020-05-13 19:12 ` Brian Norris [this message] 2020-05-13 7:05 ` Kalle Valo 2020-05-13 19:02 ` Brian Norris 2020-05-20 20:59 ` Brian Norris 2020-05-22 10:34 ` Kalle Valo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CA+ASDXOrsZq6jpu3R_1KQFr2yxd6yhjkxkNb7n6K3GBickoN5A@mail.gmail.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: [PATCH] ath9k: release allocated buffer if timed out' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.