Описание
In the Linux kernel, the following vulnerability has been resolved:
media: dm1105: fix missing error check for dma_alloc_coherent
The return value of dm1105_dma_map(), which handles DMA memory allocation,
is ignored in dm1105_hw_init(). If dma_alloc_coherent() fails, the driver
will proceed using a NULL pointer for DMA transfers, leading to a kernel
oops or invalid hardware access.
Fix this by checking the return value and propagating -ENOMEM on failure.
A flaw was found in the Linux kernel's DM1105 media driver. A local user could cause a Denial of Service (DoS) through a kernel crash if Direct Memory Access (DMA) memory allocation fails during device initialization. Because the driver ignores the allocation return value, it proceeds to use a null pointer for subsequent DMA transfers, resulting in invalid memory access and system failure.
Отчет
A moderate severity flaw was found in the Linux kernel DM1105 media (DVB) driver. In dm1105_hw_init(), the return value of dm1105_dma_map(), which performs the DMA memory allocation via dma_alloc_coherent(), is not checked. If that allocation fails, for example under memory pressure, driver initialization continues and the driver proceeds to use a NULL pointer for subsequent DMA transfers, leading to invalid memory access and a kernel oops. A local user able to trigger device initialization when the DMA allocation fails can therefore cause a denial of service (system crash). Confidentiality and integrity are not impacted (Red Hat CVSS 5.5, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). Within Red Hat's product portfolio, Red Hat Enterprise Linux 7 and 8 (kernel and kernel-rt) and the RHEL CoreOS 8 based OpenShift Container Platform 4.12 are affected; fixes for these streams are currently deferred because the flaw is a local denial of service that requires uncommon conditions (the presence of DM1105 hardware and a failed DMA allocation during driver initialization), and the residual risk is limited to a local kernel crash on such systems. Red Hat Enterprise Linux 9 and 10, Red Hat In-Vehicle OS, and the RHEL CoreOS 9 based OpenShift versions are not affected because the vulnerable code is not present in those releases.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Fix deferred | ||
| Red Hat Enterprise Linux 8 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel | Not affected | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
In the Linux kernel, the following vulnerability has been resolved: media: dm1105: fix missing error check for dma_alloc_coherent The return value of dm1105_dma_map(), which handles DMA memory allocation, is ignored in dm1105_hw_init(). If dma_alloc_coherent() fails, the driver will proceed using a NULL pointer for DMA transfers, leading to a kernel oops or invalid hardware access. Fix this by checking the return value and propagating -ENOMEM on failure.
In the Linux kernel, the following vulnerability has been resolved: media: dm1105: fix missing error check for dma_alloc_coherent The return value of dm1105_dma_map(), which handles DMA memory allocation, is ignored in dm1105_hw_init(). If dma_alloc_coherent() fails, the driver will proceed using a NULL pointer for DMA transfers, leading to a kernel oops or invalid hardware access. Fix this by checking the return value and propagating -ENOMEM on failure.
media: dm1105: fix missing error check for dma_alloc_coherent
In the Linux kernel, the following vulnerability has been resolved: m ...
In the Linux kernel, the following vulnerability has been resolved: media: dm1105: fix missing error check for dma_alloc_coherent The return value of dm1105_dma_map(), which handles DMA memory allocation, is ignored in dm1105_hw_init(). If dma_alloc_coherent() fails, the driver will proceed using a NULL pointer for DMA transfers, leading to a kernel oops or invalid hardware access. Fix this by checking the return value and propagating -ENOMEM on failure.
EPSS
5.5 Medium
CVSS3