Bluetooth: RFCOMM: Validate MTU in rfcomm_apply_pn() to prevent infinite loop (Linux Linux)

CVE-2026-90088
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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().

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e7c0aa45ae6c5a338661b23812bfcdef50bf3e96 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cbc2962da99b6b89345267d3aa74b4b573340548 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9b2e5f1928c99224345a9ed8c5dae5fc74964d6d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fc4851ff8dfb505e9a19efcc286712132bbd178d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f561e44261344adadf9d6a6dff31e3af9776d5c6 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < aeee917a4878af95f0c63e18c5f22eaf6299c7b8
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD