CVE-2022-48691
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
03/05/2024
Last modified:
30/10/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfilter: nf_tables: clean up hook list when offload flags check fails<br />
<br />
splice back the hook list so nft_chain_release_hook() has a chance to<br />
release the hooks.<br />
<br />
BUG: memory leak<br />
unreferenced object 0xffff88810180b100 (size 96):<br />
comm "syz-executor133", pid 3619, jiffies 4294945714 (age 12.690s)<br />
hex dump (first 32 bytes):<br />
28 64 23 02 81 88 ff ff 28 64 23 02 81 88 ff ff (d#.....(d#.....<br />
90 a8 aa 83 ff ff ff ff 00 00 b5 0f 81 88 ff ff ................<br />
backtrace:<br />
[] kmalloc include/linux/slab.h:600 [inline]<br />
[] nft_netdev_hook_alloc+0x3b/0xc0 net/netfilter/nf_tables_api.c:1901<br />
[] nft_chain_parse_netdev net/netfilter/nf_tables_api.c:1998 [inline]<br />
[] nft_chain_parse_hook+0x33a/0x530 net/netfilter/nf_tables_api.c:2073<br />
[] nf_tables_addchain.constprop.0+0x10b/0x950 net/netfilter/nf_tables_api.c:2218<br />
[] nf_tables_newchain+0xa8b/0xc60 net/netfilter/nf_tables_api.c:2593<br />
[] nfnetlink_rcv_batch+0xa46/0xd20 net/netfilter/nfnetlink.c:517<br />
[] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:638 [inline]<br />
[] nfnetlink_rcv+0x1f9/0x220 net/netfilter/nfnetlink.c:656<br />
[] netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]<br />
[] netlink_unicast+0x397/0x4c0 net/netlink/af_netlink.c:1345<br />
[] netlink_sendmsg+0x396/0x710 net/netlink/af_netlink.c:1921<br />
[] sock_sendmsg_nosec net/socket.c:714 [inline]<br />
[] sock_sendmsg+0x56/0x80 net/socket.c:734<br />
[] ____sys_sendmsg+0x36c/0x390 net/socket.c:2482<br />
[] ___sys_sendmsg+0xa8/0x110 net/socket.c:2536<br />
[] __sys_sendmsg+0x88/0x100 net/socket.c:2565<br />
[] do_syscall_x64 arch/x86/entry/common.c:50 [inline]<br />
[] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80<br />
[] entry_SYSCALL_64_after_hwframe+0x63/0xcd
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.143 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.68 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.19.9 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



