CVE-2021-47250 in Linux정보

요약

\~에 의해 VulDB • 2026. 08. 06.

리눅스 커널에서 다음 취약점이 해결되었습니다:

net: ipv4: netlbl_cipsov4_add_std의 메모리 누수 수정

syzkaller에 의해 보고됨: BUG: memory leak (메모리 누수) unreferenced object 0xffff888105df7000 (size 64): comm "syz-executor842", pid 360, jiffies 4294824824 (age 22.546s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc include/linux/slab.h:590 [inline]
[] kzalloc include/linux/slab.h:720 [inline]
[] netlbl_cipsov4_add_std net/netlabel/netlabel_cipso_v4.c:145 [inline]
[] netlbl_cipsov4_add+0x390/0x2340 net/netlabel/netlabel_cipso_v4.c:416
[] genl_family_rcv_msg_doit.isra.0+0x20e/0x320 net/netlink/genetlink.c:739
[] genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
[] genl_rcv_msg+0x2bf/0x4f0 net/netlink/genetlink.c:800
[] netlink_rcv_skb+0x134/0x3d0 net/netlink/af_netlink.c:2504
[] genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
[] netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
[] netlink_unicast+0x4a0/0x6a0 net/netlink/af_netlink.c:1340
[] netlink_sendmsg+0x789/0xc70 net/netlink/af_netlink.c:1929
[] sock_sendmsg_nosec net/socket.c:654 [inline]
[] sock_sendmsg+0x139/0x170 net/socket.c:674
[] ____sys_sendmsg+0x658/0x7d0 net/socket.c:2350
[] ___sys_sendmsg+0xf8/0x170 net/socket.c:2404
[] __sys_sendmsg+0xd3/0x190 net/socket.c:2433
[] do_syscall_64+0x37/0x90 arch/x86/entry/common.c:47
[] entry_SYSCALL_64_after_hwframe+0x44/0xae

doi_def->map.std가 가리키는 메모리는 netlbl_cipsov4_add_std에서 할당되었지만, 이를 해제하는 곳이 없습니다. cipso DOI 리소스를 해제하는 cipso_v4_doi_free 내에서 해제되어야 합니다.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

출처

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!