HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts (Linux Linux)

CVE-2022-48866
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts Syzbot reported an slab-out-of-bounds Read in thrustmaster_probe() bug. The root case is in missing validation check of actual number of endpoints. Code should not blindly access usb_host_interface::endpoint array, since it may contain less endpoints than code expects. Fix it by adding missing validaion check and print an error if number of endpoints do not match expected number

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c49c33637802a2c6957a78119eb8be3b055dd9e9 < 3ffbe85cda7f523dad896bae08cecd8db8b555ab ; affected c49c33637802a2c6957a78119eb8be3b055dd9e9 < 56185434e1e50acecee56d8f5850135009b87947 ; affected c49c33637802a2c6957a78119eb8be3b055dd9e9 < fc3ef2e3297b3c0e2006b5d7b3d66965e3392036
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.29 ≤ 5.15.* ; unaffected 5.16.15 ≤ 5.16.* ; unaffected 5.17 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD