staging: vc04_services: vchiq-mmal: fix multiple memory safety issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Reframed patch 1 as hardening rather than security fix (Greg)
- Switched pr_err/pr_warn to ratelimited variants (Greg)
- Added Cc: stable to all patches (Greg)
- Note: dev_err() not used as this file has no struct device access
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: vc04_services: vchiq-mmal: validate component index in event_to_host_cb()drivers/ | +9 | 1 reply | |
| 2/4 | staging: vc04_services: vchiq-mmal: add buffer size check in inline_receive()drivers/ | +17 | 0 replies | |
| 3/4 | staging: vc04_services: vchiq-mmal: prevent stack overflow in port_parameter_set()drivers/ | +8 | 0 replies | |
| 4/4 | staging: vc04_services: vchiq-mmal: fix integer underflow in port_parameter_get()drivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] staging: vc04_services: vchiq-mmal: fix multiple memory safety issues
Changes since v1:
- Reframed patch 1 as hardening rather than security fix (Greg)
- Switched pr_err/pr_warn to ratelimited variants (Greg)
- Added Cc: stable to all patches (Greg)
- Note: dev_err() not used as this file has no struct device access
This series adds defensive bounds checks to the MMAL VCHIQ driver which handles multimedia message passing between the ARM CPU and the VideoCore GPU on all Raspberry Pi models.
Reported-by Sebastián Alba Vives <[email protected]>