staging: vc04_services: vc-sm-cma: fix security issues in clean_invalid2 ioctl
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | staging: vc04_services: vc-sm-cma: fix integer overflow in vc_sm_cma_clean_invalid2()drivers/ | +6 | 4 replies | |
| 2/2 | staging: vc04_services: vc-sm-cma: add address validation in clean_invalid_contig_2d()drivers/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] staging: vc04_services: vc-sm-cma: fix security issues in clean_invalid2 ioctl
This series fixes two security issues in the VideoCore shared memory CMA driver (vc-sm-cma), accessible via /dev/vc-sm-cma which is created with mode 0666 (world-accessible, no authentication required).
Both bugs are in vc_sm_cma_clean_invalid2(), reachable via the VC_SM_CMA_CMD_CLEAN_INVALID2 ioctl on 32-bit ARM kernels.
Patch 1: Integer overflow in kmalloc size computation Patch 2: Missing address validation in cache maintenance operations
Both issues affect 32-bit Raspberry Pi kernels (RPi 1/2/3/Zero and 32-bit RPi 4/5 configurations) running the rpi-6.6.y kernel series.
Both issues were found through manual source code auditing.
I would like to request separate CVE assignments for each patch as they are independent vulnerabilities.