Re: [BUG] drivers/hid: use-after-free in u2fzero_recv()

From
Jiri Kosina <jikos@kernel.org>
Date
2026-09-11 14:54:43
Also in
lkml
Reply to
co, 2026-08-27
On Thu, 27 Aug 2026, co wrote:
We found a bug reachable in:

    path    drivers/hid
    crash   use-after-free in u2fzero_recv()
    commit  6f232446a629 ("Linux 6.12.77")

Config, environment, the sanitizer report and a C reproducer follow.

== Notes ===============================================================
    If you patch the bug based on our artifacts, a tag would be
    appreciated:

Reported-by: <redacted>

    Everything in this mail is validated by the reproducer below.

    We also hold an LLM-generated root-cause analysis and a candidate
    patch. The patch passes an A/B test: the same reproducer panics the
    unpatched kernel and runs clean on the patched one. Neither has had
    human review, so both still require validation before you send or
    apply them. Available on:

        patch.diff  https://bugs.sh/b/b240dc164119a46c/patch.diff
        report.md   https://bugs.sh/b/b240dc164119a46c/report.md

    This is an open science project. The code and the full set of PoCs
    are not public at this moment, as we intend to disclose our findings
    in an ethical way.

    Happy to test patches. Complaints and suggestions about our work
    are welcome at:
Could you please submit this as a proper patch [1] so that you can 
properly creditted for the fix?

Thanks.

[1] Documentation/process/submitting-patches.rst

-- 
Jiri Kosina
SUSE Labs
Thread (3 messages) 3 messages, 3 authors, last reply 2026-09-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help