CVSS 5.5 · Medium EPSS 0,16%
Kerentanan Loop with Unreachable Exit Condition ('Infinite Loop') pada linux kernel. Skor CVSS 3.1 5.5 (Medium) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix ERTM re-init and zero pdu_len infinite loop l2cap_config_req() processes CONFIG_REQ for channels in BT_CONNECTED state to support L2CAP reconfiguration (e.g. MTU changes). However, since both CONF_INPUT_DONE and CONF_OUTPUT_DONE are already set from the initial configuration, the reconfiguration path falls through to l2cap_ertm_init(), which re-initializes tx_q, srej_q, srej_list, and retrans_list without freeing the previous allocations and sets chan->sdu to NULL without freeing the existing skb. This leaks all previously allocated ERTM resources. Additionally, l2cap_parse_conf_req() does not validate the minimum value of remote_mps derived from the RFC max_pdu_size option. A zero value propagates to l2cap_segment_sdu() where pdu_len becomes zero, causing the while loop to never terminate since len is never decremented, exhausting all available memory. Fix the double-init by skipping l2cap_ertm_init() and l2cap_chan_ready() when the channel is already in BT_CONNECTED state, while still allowing the reconfiguration parameters to be updated through l2cap_parse_conf_req(). Also add a pdu_len zero check in l2cap_segment_sdu() as a safeguard.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Versi 4.4.238 hingga sebelum 4.5 |
| linux | linux kernel | Versi 4.9.238 hingga sebelum 4.10 |
| linux | linux kernel | Versi 4.14.200 hingga sebelum 4.15 |
| linux | linux kernel | Versi 4.19.149 hingga sebelum 4.20 |
| linux | linux kernel | Versi 5.4.69 hingga sebelum 5.5 |
| linux | linux kernel | Versi 5.7.1 hingga sebelum 5.10.253 |
| linux | linux kernel | Versi 5.11 hingga sebelum 5.15.203 |
| linux | linux kernel | Versi 5.16 hingga sebelum 6.1.168 |
| linux | linux kernel | Versi 6.2 hingga sebelum 6.6.131 |
| linux | linux kernel | Versi 6.7 hingga sebelum 6.12.80 |
| linux | linux kernel | Versi 6.13 hingga sebelum 6.18.21 |
| linux | linux kernel | Versi 6.19 hingga sebelum 6.19.11 |
| linux | linux kernel | Versi 5.7 |
| linux | linux kernel | Versi 7.0 rc1 |
| linux | linux kernel | Versi 7.0 rc2 |
| linux | linux kernel | Versi 7.0 rc3 |
| linux | linux kernel | Versi 7.0 rc4 |
| linux | linux kernel | Versi 7.0 rc5 |
| linux | linux kernel | Versi 7.0 rc6 |
| linux | linux kernel | Versi 7.0 rc7 |