Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 5 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device

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

Linux
  • <5.10
  • <4e019e5e247bfe877fdf288f2d6ec1b4c850c7c6
  • =<7.2.*
  • ==4e57482e8440fac7137832629109730ea4b267aa
  • <fbffbfdae55954213fea99c5c9856c48dc705019
  • <e81250ec6b69248b00d38c523dc6a13efaf38aab
  • <e8d47e309c704df95816e7442f05947424d8b33f
  • ==5.10
  • <5.10
  • =<6.18.*
  • =<6.12.*
  • =<*