netfilter: nftables: unikanie przepełnień w nft_hash_buckets()
Linux Linux
W skrócie
W jądrze Linux rozwiązano następującą podatność: netfilter: nftables: unikanie przepełnień w nft_hash_buckets() Liczba zasobników przechowywana w zmiennych 32-bitowych, musimy zapewnić, że nie wystąpią przepełnienia w nft_hash_buckets() syzbot wstrzyknął size == 0x40000000 i zgłosił: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 shift exponent 64 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 29539 Comm: syz-executor.4 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:327 __roundup_pow_of_two include/linux/log2.h:57 [inline] nft_hash_buckets net/netfilter/nft_set_hash.c:411 [inline] nft_hash_estimate.cold+0x19/0x1e net/netfilter/nft_set_hash.c:652 nft_select_set_ops net/netfilter/nf_tables_api.c:3586 [inline] nf_tables_newset+0xe62/0x3110 net/netfilter/nf_tables_api.c:4322 nfnetlink_rcv_batch+0xa09/0x24b0 net/netfilter/nfnetlink.c:488 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:612 [inline] nfnetlink_rcv+0x3af/0x420 net/netfilter/nfnetlink.c:630 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0…
Pełny opis źródłowy
W jądrze Linux rozwiązano następującą podatność: netfilter: nftables: unikanie przepełnień w nft_hash_buckets() Liczba zasobników przechowywana w zmiennych 32-bitowych, musimy zapewnić, że nie wystąpią przepełnienia w nft_hash_buckets() syzbot wstrzyknął size == 0x40000000 i zgłosił: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 shift exponent 64 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 29539 Comm: syz-executor.4 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:327 __roundup_pow_of_two include/linux/log2.h:57 [inline] nft_hash_buckets net/netfilter/nft_set_hash.c:411 [inline] nft_hash_estimate.cold+0x19/0x1e net/netfilter/nft_set_hash.c:652 nft_select_set_ops net/netfilter/nf_tables_api.c:3586 [inline] nf_tables_newset+0xe62/0x3110 net/netfilter/nf_tables_api.c:4322 nfnetlink_rcv_batch+0xa09/0x24b0 net/netfilter/nfnetlink.c:488 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:612 [inline] nfnetlink_rcv+0x3af/0x420 net/netfilter/nfnetlink.c:630 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
Opis źródłowy · CVE List / CNA
Wpływ na system
Podsumowanie CVSS v3.1
- Opublikowano:
- Zaktualizowano:
- EPSS:
- 0,263%
- Wykorzystanie w atakach:
- Niepotwierdzone
- Kampanie ransomware:
- Niepotwierdzone
- Wektor ataku:
- Lokalny
Powiązane CWE
Podatne produkty
Producent, produkt i zakres podatnych wersji.
| Producent | Produkt | Podatne wersje |
|---|---|---|
| Producent:Linux | Linux | Podatne wersje:4.9Pokaż pełny zakres wersji produktu Linux
Zakresy commitów Git (kod źródłowy)
|
| Producent:Red Hat | Red Hat Enterprise Linux 6 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:Red Hat | Red Hat Enterprise Linux 7 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Enterprise Storage 7 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Enterprise Storage 7.1 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Linux Enterprise High Performance Computing 12 SP4 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Linux Enterprise High Performance Computing 15 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP1 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP2 | Podatne wersje:Źródło nie podaje zakresu wersji |
| Producent:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP3 | Podatne wersje:Źródło nie podaje zakresu wersji |
1–10 z 34 · Strona 1 z 4
Oceny i parametry CVSS5
Linux · CVE List / CNA (cna)Główna7.8 / 10WysokaCVSS 3.1Szczegóły
- Złożoność ataku
- Niska
- Poufność
- Wysoki
- Integralność
- Wysoki
- Dostępność
- Wysoki
- Wektor ataku
- Lokalny
- Uprawnienia
- Niskie
- Udział użytkownika
- Niewymagany
- Zakres wpływu
- Bez zmian
Wektor źródłowy
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H416baaa9-dc9f-4396-8d5f-8c081fb06d67 · NVD (Secondary)7.8 / 10WysokaCVSS 3.1Szczegóły
- Złożoność ataku
- Niska
- Poufność
- Wysoki
- Integralność
- Wysoki
- Dostępność
- Wysoki
- Wektor ataku
- Lokalny
- Uprawnienia
- Niskie
- Udział użytkownika
- Niewymagany
- Zakres wpływu
- Bez zmian
Wektor źródłowy
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.1 / 10WysokaCVSS 3.1Szczegóły
- Złożoność ataku
- Niska
- Poufność
- Wysoki
- Integralność
- Brak
- Dostępność
- Wysoki
- Wektor ataku
- Lokalny
- Uprawnienia
- Niskie
- Udział użytkownika
- Niewymagany
- Zakres wpływu
- Bez zmian
Wektor źródłowy
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HRed Hat · Red Hat VEX (adp)7.1 / 10WysokaCVSS 3.1Szczegóły
- Złożoność ataku
- Niska
- Poufność
- Wysoki
- Integralność
- Brak
- Dostępność
- Wysoki
- Wektor ataku
- Lokalny
- Uprawnienia
- Niskie
- Udział użytkownika
- Niewymagany
- Zakres wpływu
- Bez zmian
Wektor źródłowy
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HSUSE · SUSE VEX (adp)5.3 / 10ŚredniaCVSS 3.1Szczegóły
- Złożoność ataku
- Niska
- Poufność
- Niski
- Integralność
- Niski
- Dostępność
- Niski
- Wektor ataku
- Lokalny
- Uprawnienia
- Niskie
- Udział użytkownika
- Niewymagany
- Zakres wpływu
- Bez zmian
Wektor źródłowy
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LCVSS opisuje dotkliwość, EPSS — prawdopodobieństwo wykorzystania. Brak potwierdzenia ataków nie oznacza braku zagrożenia.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Źródła danych i licencje