Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 5 Nov 2023 18:38:18 +0100
From: Solar Designer <>
To: Pietro Borrello <>
Subject: Re: Linux Kernel: hid: NULL pointer dereference in hid_betopff_play()

On Wed, Jan 18, 2023 at 04:20:51PM +0100, Pietro Borrello wrote:
> I'm disclosing a possible DoS when plugging in a malicious USB device,
> which advertises itself as a betop USB device.
> A device driver must check that the device correctly registered the
> expected inputs and reports.
> Otherwise, a malicious USB device may violate assumptions throughout
> the driver's code.
> betopff_init() in the betop driver's code only checks that the device advertises
> at least 4 report values among all its fields, but hid_betopff_play() expects
> at least 4 report fields with a value each.
> A device advertising an output report with one field and 4 report values
> would pass the check but crash the kernel with a NULL pointer dereference
> in hid_betopff_play(), when accessing `betopff->report->field[2]->value[0]`.

This was assigned CVE-2023-1073, which also covers two bugs mentioned in
another oss-security posting below:

CVE-2023-1073 - NULL Ptr Deref in betopff_init()

CVE-2023-1073 - Type Confusion in hid_validate_values()

CVE-2023-1073 - Type Confusion in bigben_probe()


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.