History

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid

Pull HID updates from Jiri Kosina: "Fixes for CVE-2013-2897, CVE-2013-2895, CVE-2013-2897, CVE-2013-2894, CVE-2013-2893, CVE-2013-2891, CVE-2013-2890, CVE-2013-2889. All the bugs are triggerable only by specially crafted evil-on-purpose HW devices. Fixes by Kees Cook and Benjamin Tissoires" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: HID: lenovo-tpkbd: fix leak if tpkbd_probe_tp fails HID: multitouch: validate indexes details HID: logitech-dj: validate output report details HID: validate feature and input report details HID: lenovo-tpkbd: validate output report details HID: LG: validate HID output report details HID: steelseries: validate output report details HID: sony: validate HID output report details HID: zeroplus: validate output report details HID: provide a helper for validating hid reports

Linus Torvalds committed 13 years ago

Commit 84fca9f2 parents 03e1261 0ccdd9e13 files · +146 −116Browse files

Showing the changes to include/linux (1 of 13 files). Show all

Unified · Split

include/linux/hid.h+4−0
@@ -756,6 +756,10 @@ u8 *hid_alloc_report_buf(struct hid_report *report, gfp_t flags); · 755 unmodified lines
756756 struct hid_device *hid_allocate_device(void);
757757 struct hid_report *hid_register_report(struct hid_device *device, unsigned type, unsigned id);
758758 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
759+struct hid_report *hid_validate_values(struct hid_device *hid,
760+ unsigned int type, unsigned int id,
761+ unsigned int field_index,
762+ unsigned int report_counts);
759763 int hid_open_report(struct hid_device *device);
760764 int hid_check_keys_pressed(struct hid_device *hid);
761765 int hid_connect(struct hid_device *hid, unsigned int connect_mask);