Description
In the Linux kernel, the following vulnerability has been resolved: hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device The OMAP SSI driver uses a synthetic HSI controller device allocated via hsi_alloc_controller(), which does not go through the normal OF/platform device initialization path. As a result, the embedded struct device does not have a DMA mask initialized by default. After recent DMA API hardening changes, dma_map_sg() and related helpers now require a valid dma_mask to be present, otherwise the driver may crash or trigger warnings when attempting DMA mapping operations. Fix this by explicitly initializing the DMA mask for the SSI controller device and setting a 32-bit DMA mask, which matches the hardware capabilities.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f959dcd6ddfd29235030e8026471ac1b022ad2b0 to < 6a5426f56de98faf7886702f8720828bf346a48faffectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < a4beb841f84e0e6ad5ff3d114f43ad30165572ddaffectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < 9ecef057b7a7f165ce66eaf07cb4cf85d10ed9c7affectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < 9963a65be2befff82b5f5a7cfcd7ac4aca081c0baffectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < e8d47e309c704df95816e7442f05947424d8b33faffectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < 4e019e5e247bfe877fdf288f2d6ec1b4c850c7c6affectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < fbffbfdae55954213fea99c5c9856c48dc705019affectedf959dcd6ddfd29235030e8026471ac1b022ad2b0 to < e81250ec6b69248b00d38c523dc6a13efaf38aabaffected4e57482e8440fac7137832629109730ea4b267aaaffected5.9.2 to < 5.10affected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6a5426f56de98faf7886702f8720828bf346a48f ↗
- https://git.kernel.org/stable/c/a4beb841f84e0e6ad5ff3d114f43ad30165572dd ↗
- https://git.kernel.org/stable/c/9ecef057b7a7f165ce66eaf07cb4cf85d10ed9c7 ↗
- https://git.kernel.org/stable/c/9963a65be2befff82b5f5a7cfcd7ac4aca081c0b ↗
- https://git.kernel.org/stable/c/e8d47e309c704df95816e7442f05947424d8b33f ↗
- https://git.kernel.org/stable/c/4e019e5e247bfe877fdf288f2d6ec1b4c850c7c6 ↗
- https://git.kernel.org/stable/c/fbffbfdae55954213fea99c5c9856c48dc705019 ↗
- https://git.kernel.org/stable/c/e81250ec6b69248b00d38c523dc6a13efaf38aab ↗