lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <p9o1r5o6-3051-865n-3432-p507pqn9o3s6@xreary.bet>
Date: Sat, 10 Jan 2026 10:27:46 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Günther Noack <gnoack@...gle.com>
cc: Benjamin Tissoires <bentiss@...nel.org>, stable@...r.kernel.org, 
    linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: magicmouse: Do not crash on missing msc->input

On Fri, 9 Jan 2026, Günther Noack wrote:

> Fake USB devices can send their own report descriptors for which the
> input_mapping() hook does not get called.  In this case, msc->input stays N=
> ULL,
> leading to a crash at a later time.
> 
> Detect this condition in the input_configured() hook and reject the device.
> 
> This is not supposed to happen with actual magic mouse devices, but can be
> provoked by imposing as a magic mouse USB device.

Applied to hid.git#for-6.19/upstream-fixes, thanks Guenther.

-- 
Jiri Kosina
SUSE Labs


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ