CVE-2023-52698
Calipso NetLabel Linux Kernel Memory Leak Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: calipso: fix memory leak in netlbl_calipso_add_pass() If IPv6 support is disabled at boot (ipv6.disable=1), the calipso_init() -> netlbl_calipso_ops_register() function isn't called, and the netlbl_calipso_ops_get() function always returns NULL. In this case, the netlbl_calipso_add_pass() function allocates memory for the doi_def variable but doesn't free it with the calipso_doi_free(). BUG: memory leak unreferenced object 0xffff888011d68180 (size 64): comm "syz-executor.1", pid 10746, jiffies 4295410986 (age 17.928s) hex dump (first 32 bytes): 00 00 00 00 02 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:552 [inline] [<...>] netlbl_calipso_add_pass net/netlabel/netlabel_calipso.c:76 [inline] [<...>] netlbl_calipso_add+0x22e/0x4f0 net/netlabel/netlabel_calipso.c:111 [<...>] genl_family_rcv_msg_doit+0x22f/0x330 net/netlink/genetlink.c:739 [<...>] genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] [<...>] genl_rcv_msg+0x341/0x5a0 net/netlink/genetlink.c:800 [<...>] netlink_rcv_skb+0x14d/0x440 net/netlink/af_netlink.c:2515 [<...>] genl_rcv+0x29/0x40 net/netlink/genetlink.c:811 [<...>] netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] [<...>] netlink_unicast+0x54b/0x800 net/netlink/af_netlink.c:1339 [<...>] netlink_sendmsg+0x90a/0xdf0 net/netlink/af_netlink.c:1934 [<...>] sock_sendmsg_nosec net/socket.c:651 [inline] [<...>] sock_sendmsg+0x157/0x190 net/socket.c:671 [<...>] ____sys_sendmsg+0x712/0x870 net/socket.c:2342 [<...>] ___sys_sendmsg+0xf8/0x170 net/socket.c:2396 [<...>] __sys_sendmsg+0xea/0x1b0 net/socket.c:2429 [<...>] do_syscall_64+0x30/0x40 arch/x86/entry/common.c:46 [<...>] entry_SYSCALL_64_after_hwframe+0x61/0xc6 Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with Syzkaller [PM: merged via the LSM tree at Jakub Kicinski request]
INFO
Published Date :
May 17, 2024, 3:15 p.m.
Last Modified :
Jan. 7, 2025, 8:18 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52698
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52698
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52698
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 4.19.306 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.268 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.148 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.2 Changed Reference Type https://git.kernel.org/stable/c/321b3a5592c8a9d6b654c7c64833ea67dbb33149 No Types Assigned https://git.kernel.org/stable/c/321b3a5592c8a9d6b654c7c64833ea67dbb33149 Patch Changed Reference Type https://git.kernel.org/stable/c/321b3a5592c8a9d6b654c7c64833ea67dbb33149 No Types Assigned https://git.kernel.org/stable/c/321b3a5592c8a9d6b654c7c64833ea67dbb33149 Patch Changed Reference Type https://git.kernel.org/stable/c/36e19f84634aaa94f543fedc0a07588949638d53 No Types Assigned https://git.kernel.org/stable/c/36e19f84634aaa94f543fedc0a07588949638d53 Patch Changed Reference Type https://git.kernel.org/stable/c/36e19f84634aaa94f543fedc0a07588949638d53 No Types Assigned https://git.kernel.org/stable/c/36e19f84634aaa94f543fedc0a07588949638d53 Patch Changed Reference Type https://git.kernel.org/stable/c/408bbd1e1746fe33e51f4c81c2febd7d3841d031 No Types Assigned https://git.kernel.org/stable/c/408bbd1e1746fe33e51f4c81c2febd7d3841d031 Patch Changed Reference Type https://git.kernel.org/stable/c/408bbd1e1746fe33e51f4c81c2febd7d3841d031 No Types Assigned https://git.kernel.org/stable/c/408bbd1e1746fe33e51f4c81c2febd7d3841d031 Patch Changed Reference Type https://git.kernel.org/stable/c/44a88650ba55e6a7f2ec485d2c2413ba7e216f01 No Types Assigned https://git.kernel.org/stable/c/44a88650ba55e6a7f2ec485d2c2413ba7e216f01 Patch Changed Reference Type https://git.kernel.org/stable/c/44a88650ba55e6a7f2ec485d2c2413ba7e216f01 No Types Assigned https://git.kernel.org/stable/c/44a88650ba55e6a7f2ec485d2c2413ba7e216f01 Patch Changed Reference Type https://git.kernel.org/stable/c/9a8f811a146aa2a0230f8edb2e9f4b6609aab8da No Types Assigned https://git.kernel.org/stable/c/9a8f811a146aa2a0230f8edb2e9f4b6609aab8da Patch Changed Reference Type https://git.kernel.org/stable/c/9a8f811a146aa2a0230f8edb2e9f4b6609aab8da No Types Assigned https://git.kernel.org/stable/c/9a8f811a146aa2a0230f8edb2e9f4b6609aab8da Patch Changed Reference Type https://git.kernel.org/stable/c/a4529a08d3704c17ea9c7277d180e46b99250ded No Types Assigned https://git.kernel.org/stable/c/a4529a08d3704c17ea9c7277d180e46b99250ded Patch Changed Reference Type https://git.kernel.org/stable/c/a4529a08d3704c17ea9c7277d180e46b99250ded No Types Assigned https://git.kernel.org/stable/c/a4529a08d3704c17ea9c7277d180e46b99250ded Patch Changed Reference Type https://git.kernel.org/stable/c/ec4e9d630a64df500641892f4e259e8149594a99 No Types Assigned https://git.kernel.org/stable/c/ec4e9d630a64df500641892f4e259e8149594a99 Patch Changed Reference Type https://git.kernel.org/stable/c/ec4e9d630a64df500641892f4e259e8149594a99 No Types Assigned https://git.kernel.org/stable/c/ec4e9d630a64df500641892f4e259e8149594a99 Patch Changed Reference Type https://git.kernel.org/stable/c/f14d36e6e97fe935a20e0ceb159c100f90b6627c No Types Assigned https://git.kernel.org/stable/c/f14d36e6e97fe935a20e0ceb159c100f90b6627c Patch Changed Reference Type https://git.kernel.org/stable/c/f14d36e6e97fe935a20e0ceb159c100f90b6627c No Types Assigned https://git.kernel.org/stable/c/f14d36e6e97fe935a20e0ceb159c100f90b6627c Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/321b3a5592c8a9d6b654c7c64833ea67dbb33149 Added Reference https://git.kernel.org/stable/c/36e19f84634aaa94f543fedc0a07588949638d53 Added Reference https://git.kernel.org/stable/c/408bbd1e1746fe33e51f4c81c2febd7d3841d031 Added Reference https://git.kernel.org/stable/c/44a88650ba55e6a7f2ec485d2c2413ba7e216f01 Added Reference https://git.kernel.org/stable/c/9a8f811a146aa2a0230f8edb2e9f4b6609aab8da Added Reference https://git.kernel.org/stable/c/a4529a08d3704c17ea9c7277d180e46b99250ded Added Reference https://git.kernel.org/stable/c/ec4e9d630a64df500641892f4e259e8149594a99 Added Reference https://git.kernel.org/stable/c/f14d36e6e97fe935a20e0ceb159c100f90b6627c Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 04, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: calipso: fix memory leak in netlbl_calipso_add_pass() If IPv6 support is disabled at boot (ipv6.disable=1), the calipso_init() -> netlbl_calipso_ops_register() function isn't called, and the netlbl_calipso_ops_get() function always returns NULL. In this case, the netlbl_calipso_add_pass() function allocates memory for the doi_def variable but doesn't free it with the calipso_doi_free(). BUG: memory leak unreferenced object 0xffff888011d68180 (size 64): comm "syz-executor.1", pid 10746, jiffies 4295410986 (age 17.928s) hex dump (first 32 bytes): 00 00 00 00 02 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:552 [inline] [<...>] netlbl_calipso_add_pass net/netlabel/netlabel_calipso.c:76 [inline] [<...>] netlbl_calipso_add+0x22e/0x4f0 net/netlabel/netlabel_calipso.c:111 [<...>] genl_family_rcv_msg_doit+0x22f/0x330 net/netlink/genetlink.c:739 [<...>] genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] [<...>] genl_rcv_msg+0x341/0x5a0 net/netlink/genetlink.c:800 [<...>] netlink_rcv_skb+0x14d/0x440 net/netlink/af_netlink.c:2515 [<...>] genl_rcv+0x29/0x40 net/netlink/genetlink.c:811 [<...>] netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] [<...>] netlink_unicast+0x54b/0x800 net/netlink/af_netlink.c:1339 [<...>] netlink_sendmsg+0x90a/0xdf0 net/netlink/af_netlink.c:1934 [<...>] sock_sendmsg_nosec net/socket.c:651 [inline] [<...>] sock_sendmsg+0x157/0x190 net/socket.c:671 [<...>] ____sys_sendmsg+0x712/0x870 net/socket.c:2342 [<...>] ___sys_sendmsg+0xf8/0x170 net/socket.c:2396 [<...>] __sys_sendmsg+0xea/0x1b0 net/socket.c:2429 [<...>] do_syscall_64+0x30/0x40 arch/x86/entry/common.c:46 [<...>] entry_SYSCALL_64_after_hwframe+0x61/0xc6 Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with Syzkaller [PM: merged via the LSM tree at Jakub Kicinski request] Added Reference kernel.org https://git.kernel.org/stable/c/9a8f811a146aa2a0230f8edb2e9f4b6609aab8da [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/36e19f84634aaa94f543fedc0a07588949638d53 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/44a88650ba55e6a7f2ec485d2c2413ba7e216f01 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a4529a08d3704c17ea9c7277d180e46b99250ded [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/321b3a5592c8a9d6b654c7c64833ea67dbb33149 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/408bbd1e1746fe33e51f4c81c2febd7d3841d031 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f14d36e6e97fe935a20e0ceb159c100f90b6627c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ec4e9d630a64df500641892f4e259e8149594a99 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52698
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52698
weaknesses.