CVSS 5.5 · Medium EPSS 0,18%
Kerentanan Missing Release of Memory after Effective Lifetime pada linux kernel, debian linux. Skor CVSS 3.1 5.5 (Medium) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: netlink: Fix wraparounds of sk->sk_rmem_alloc. Netlink has this pattern in some places if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) atomic_add(skb->truesize, &sk->sk_rmem_alloc); , which has the same problem fixed by commit 5a465a0da13e ("udp: Fix multiple wraparounds of sk->sk_rmem_alloc."). For example, if we set INT_MAX to SO_RCVBUFFORCE, the condition is always false as the two operands are of int. Then, a single socket can eat as many skb as possible until OOM happens, and we can see multiple wraparounds of sk->sk_rmem_alloc. Let's fix it by using atomic_add_return() and comparing the two variables as unsigned int. Before: [root@fedora ~]# ss -f netlink Recv-Q Send-Q Local Address:Port Peer Address:Port -1668710080 0 rtnl:nl_wraparound/293 * After: [root@fedora ~]# ss -f netlink Recv-Q Send-Q Local Address:Port Peer Address:Port 2147483072 0 rtnl:nl_wraparound/290 * ^ `--- INT_MAX - 576
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 2.6.13 hingga sebelum 5.4.296 |
| linux | linux kernel | Versi 5.5 hingga sebelum 5.10.240 |
| linux | linux kernel | Versi 5.11 hingga sebelum 5.15.189 |
| linux | linux kernel | Versi 5.16 hingga sebelum 6.1.146 |
| linux | linux kernel | Versi 6.2 hingga sebelum 6.6.99 |
| linux | linux kernel | Versi 6.7 hingga sebelum 6.12.39 |
| linux | linux kernel | Versi 6.13 hingga sebelum 6.15.7 |
| linux | linux kernel | Versi 2.6.12 |
| linux | linux kernel | Versi 2.6.12 rc2 |
| linux | linux kernel | Versi 2.6.12 rc3 |
| linux | linux kernel | Versi 2.6.12 rc4 |
| linux | linux kernel | Versi 2.6.12 rc5 |
| linux | linux kernel | Versi 6.16 rc1 |
| linux | linux kernel | Versi 6.16 rc2 |
| linux | linux kernel | Versi 6.16 rc3 |
| linux | linux kernel | Versi 6.16 rc4 |
| linux | linux kernel | Versi 6.16 rc5 |
| debian | debian linux | Versi 11.0 |