HID: intel-thc-hid: validate ACPI buffer lengths
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/22 patches 0 repliesNew
- v3 posting 1/21 patch 0 repliesSuperseded
- v21 patch 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 0 replies | Superseded |
Changes in v3 from the cover letter
- Split into two separate patches (QuickSPI and QuickI2C), per Even Xu
- Add kernel-doc @buf_size parameter descriptions
Patches in v3 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | HID: intel-thc-hid: quickspi: validate ACPI buffer length before memcpydrivers/ | +23 | 0 replies | |
| 2/2 | HID: intel-thc-hid: quicki2c: validate ACPI buffer length before memcpydrivers/ | +31 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Even Xu |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] HID: intel-thc-hid: validate ACPI buffer lengths
From: Tristan Madani <[email protected]>
The QuickSPI and QuickI2C ACPI helper functions copy firmware-returned buffers without verifying their length. This series adds buf_size parameters and overflow checks.
Changes in v3:
- Split into two separate patches (QuickSPI and QuickI2C), per Even Xu
- Add kernel-doc @buf_size parameter descriptions
Changes in v2:
- Use overflow-only check (>) instead of exact-match (!=)
- Zero-initialize caller stack structures
- Add missing type validation and kfree in DSD helper
Tristan Madani (2):
HID: intel-thc-hid: quickspi: validate ACPI buffer length before
memcpy
HID: intel-thc-hid: quicki2c: validate ACPI buffer length before
memcpy
.../intel-quicki2c/pci-quicki2c.c | 42 ++++++++++++++----- .../intel-quickspi/pci-quickspi.c | 37 +++++++++------- 2 files changed, 54 insertions(+), 25 deletions(-)
Signature · 1 line
2.47.3