← CVE Intelligence

CVE-2021-47404

HID: betop: fix slab-out-of-bounds Write in betop_probe PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: HID: betop: fix slab-out-of-bounds Write in betop_probe Syzbot reported slab-out-of-bounds Write bug in hid-betopff driver. The problem is the driver assumes the device must have an input report but some malicious devices violate this assumption. So this patch checks hid_device's input is non empty before it's been used.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before a4faa7153b87fbcfe4be15f4278676f79ca6e019; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before 6fc4476dda58f6c00097c7ddec3b772513f57525; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before 1c83c38dec83d57bc18d0c01d82c413d3b34ccb9; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before bb8b72374db69afa25a5b65cf1c092860c6fe914; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before fe9bb925e7096509711660d39c0493a1546e9550; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before dedfc35a2de2bae9fa3da8210a05bfd515f83fee; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before 708107b80aa616976d1c5fa60ac0c1390749db5e; affected 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 before 1e4ce418b1cb1a810256b5fb3fd33d22d1325993
Linux / Linuxaffected 4.0; unaffected 0 before 4.0; unaffected 4.4.286 through 4.4.*; unaffected 4.9.285 through 4.9.*; unaffected 4.14.249 through 4.14.*; unaffected 4.19.209 through 4.19.*; unaffected 5.4.151 through 5.4.*; unaffected 5.10.71 through 5.10.*; unaffected 5.14.10 through 5.14.*; unaffected 5.15 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.