CVSS 5.5 · Medium EPSS 0,25%
Kerentanan Incorrect Calculation of Buffer Size pada linux kernel, debian linux. Skor CVSS 3.1 5.5 (Medium) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: l2tp: pass correct message length to ip6_append_data l2tp_ip6_sendmsg needs to avoid accounting for the transport header twice when splicing more data into an already partially-occupied skbuff. To manage this, we check whether the skbuff contains data using skb_queue_empty when deciding how much data to append using ip6_append_data. However, the code which performed the calculation was incorrect: ulen = len + skb_queue_empty(&sk->sk_write_queue) ? transhdrlen : 0; ...due to C operator precedence, this ends up setting ulen to transhdrlen for messages with a non-zero length, which results in corrupted packets on the wire. Add parentheses to correct the calculation in line with the original intent.
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.19.296 hingga sebelum 4.19.308 |
| linux | linux kernel | Versi 5.4.258 hingga sebelum 5.4.270 |
| linux | linux kernel | Versi 5.10.198 hingga sebelum 5.10.211 |
| linux | linux kernel | Versi 5.15.135 hingga sebelum 5.15.150 |
| linux | linux kernel | Versi 6.1.57 hingga sebelum 6.1.80 |
| linux | linux kernel | Versi 6.6 hingga sebelum 6.6.19 |
| linux | linux kernel | Versi 6.7 hingga sebelum 6.7.7 |
| linux | linux kernel | Versi 4.14.327 |
| linux | linux kernel | Versi 6.5.7 |
| linux | linux kernel | Versi 6.8 rc1 |
| linux | linux kernel | Versi 6.8 rc2 |
| linux | linux kernel | Versi 6.8 rc3 |
| linux | linux kernel | Versi 6.8 rc4 |
| linux | linux kernel | Versi 6.8 rc5 |
| debian | debian linux | Versi 10.0 |