[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174714490874.1690070.753423275910575017.b4-ty@kernel.org>
Date: Tue, 13 May 2025 16:01:48 +0200
From: Benjamin Tissoires <bentiss@...nel.org>
To: Jiri Kosina <jikos@...nel.org>, Rong Zhang <i@...g.moe>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org, Brian Gerst <brgerst@...il.com>,
Borislav Petkov <bp@...en8.de>,
Petr Tesařík <petr@...arici.cz>,
bugzilla-daemon@...nel.org, stable@...r.kernel.org
Subject: Re: [PATCH] HID: bpf: abort dispatch if device destroyed
On Mon, 12 May 2025 23:24:19 +0800, Rong Zhang wrote:
> The current HID bpf implementation assumes no output report/request will
> go through it after hid_bpf_destroy_device() has been called. This leads
> to a bug that unplugging certain types of HID devices causes a cleaned-
> up SRCU to be accessed. The bug was previously a hidden failure until a
> recent x86 percpu change [1] made it access not-present pages.
>
> The bug will be triggered if the conditions below are met:
>
> [...]
Applied to hid/hid.git (for-6.15/upstream-fixes), thanks!
[1/1] HID: bpf: abort dispatch if device destroyed
https://git.kernel.org/hid/hid/c/578e1b96fad7
Cheers,
--
Benjamin Tissoires <bentiss@...nel.org>
Powered by blists - more mailing lists