Описание
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: RFCOMM: Validate MTU in rfcomm_apply_pn() to prevent infinite loop
rfcomm_apply_pn() accepts the MTU value from a remote PN (Parameter
Negotiation) frame without checking for zero. When the remote peer
sends an MTU of zero, d->mtu is set to 0. This causes the sendmsg
path to enter an infinite loop when fragmenting data, as each fragment
has size == min_t(size_t, len, 0) == 0, so the remaining length never
decreases. The infinite allocation of zero-length skbs exhausts all
system memory.
Fix by clamping d->mtu to RFCOMM_DEFAULT_MTU when the negotiated
value is zero, consistent with the initial value assigned in
rfcomm_dlc_alloc().
A flaw was found in the Linux kernel's Bluetooth RFCOMM (Radio Frequency Communication) component. A remote attacker can exploit this by sending a specially crafted Parameter Negotiation (PN) frame with a zero Maximum Transmission Unit (MTU) value. This can lead to an infinite loop during data fragmentation, causing an unbounded allocation of memory and ultimately exhausting all system memory, resulting in a denial of service.
Отчет
A moderate impact denial of service vulnerability was found in the Linux kernel Bluetooth RFCOMM implementation shipped in Red Hat Enterprise Linux (kernel and kernel-rt), Red Hat In-Vehicle OS, and the RHEL CoreOS container hosts used by OpenShift Container Platform 4. The rfcomm_apply_pn() function accepts the Maximum Transmission Unit (MTU) value from a remote peer's Parameter Negotiation (PN) frame without checking it for zero. A malicious peer that has an established Bluetooth RFCOMM session with the target can send a PN frame with a zero MTU, which sets the data link connection's MTU to zero and makes the sendmsg data fragmentation path loop indefinitely, allocating zero-length socket buffers until system memory is exhausted and the system becomes unavailable. The flaw affects availability only; it does not compromise confidentiality or integrity. Red Hat rated this flaw Moderate severity (CVSS 3.1 score 5.5, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), which is lower than assessments that model the Bluetooth radio link as an adjacent network vector, reflecting that exploitation requires an established RFCOMM connection with the attacking peer. Fixes for the affected Red Hat Enterprise Linux, Red Hat In-Vehicle OS, and OpenShift Container Platform streams have been deferred to future updates because the flaw is limited to denial of service; the residual risk is memory exhaustion and unavailability of systems that accept RFCOMM connections from untrusted Bluetooth peers. Red Hat Enterprise Linux 6 Extended Lifecycle Support is out of support and will not receive a fix.
Меры по смягчению последствий
Systems that do not require Bluetooth RFCOMM can mitigate this flaw by disabling Bluetooth or preventing the rfcomm kernel module from loading, for example by adding a file under /etc/modprobe.d/ containing 'install rfcomm /bin/true' and rebooting the system; where RFCOMM is built as a loadable module, this prevents any RFCOMM data link connection from being established and blocks the vulnerable code path. For deployments that require Bluetooth RFCOMM functionality, 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 | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | ||
| 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 | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Validate MTU in rfcomm_apply_pn() to prevent infinite loop rfcomm_apply_pn() accepts the MTU value from a remote PN (Parameter Negotiation) frame without checking for zero. When the remote peer sends an MTU of zero, d->mtu is set to 0. This causes the sendmsg path to enter an infinite loop when fragmenting data, as each fragment has size == min_t(size_t, len, 0) == 0, so the remaining length never decreases. The infinite allocation of zero-length skbs exhausts all system memory. Fix by clamping d->mtu to RFCOMM_DEFAULT_MTU when the negotiated value is zero, consistent with the initial value assigned in rfcomm_dlc_alloc().
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Validate MTU in rfcomm_apply_pn() to prevent infinite loop rfcomm_apply_pn() accepts the MTU value from a remote PN (Parameter Negotiation) frame without checking for zero. When the remote peer sends an MTU of zero, d->mtu is set to 0. This causes the sendmsg path to enter an infinite loop when fragmenting data, as each fragment has size == min_t(size_t, len, 0) == 0, so the remaining length never decreases. The infinite allocation of zero-length skbs exhausts all system memory. Fix by clamping d->mtu to RFCOMM_DEFAULT_MTU when the negotiated value is zero, consistent with the initial value assigned in rfcomm_dlc_alloc().
Bluetooth: RFCOMM: Validate MTU in rfcomm_apply_pn() to prevent infinite loop
In the Linux kernel, the following vulnerability has been resolved: B ...
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Validate MTU in rfcomm_apply_pn() to prevent infinite loop rfcomm_apply_pn() accepts the MTU value from a remote PN (Parameter Negotiation) frame without checking for zero. When the remote peer sends an MTU of zero, d->mtu is set to 0. This causes the sendmsg path to enter an infinite loop when fragmenting data, as each fragment has size == min_t(size_t, len, 0) == 0, so the remaining length never decreases. The infinite allocation of zero-length skbs exhausts all system memory. Fix by clamping d->mtu to RFCOMM_DEFAULT_MTU when the negotiated value is zero, consistent with the initial value assigned in rfcomm_dlc_alloc().
EPSS
5.5 Medium
CVSS3