CVE-2023-52698: Vulnerability in Linux Linux
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]
AI Analysis
Technical Summary
CVE-2023-52698 is a memory leak vulnerability identified in the Linux kernel's netlabel CALIPSO module, specifically within the netlbl_calipso_add_pass() function. This vulnerability arises when IPv6 support is disabled at boot time using the kernel parameter ipv6.disable=1. Under this configuration, the calipso_init() function, which normally registers the netlbl_calipso_ops structure, is not called. Consequently, the netlbl_calipso_ops_get() function returns NULL. Despite this, netlbl_calipso_add_pass() still allocates memory for the doi_def variable but fails to free it using calipso_doi_free(), leading to a memory leak. The issue was discovered through fuzz testing with Syzkaller by InfoTeCS on behalf of the Linux Verification Center. The memory leak is evidenced by unreferenced kernel objects accumulating, which could degrade system performance over time. The vulnerability affects Linux kernel versions identified by the commit hash cb72d38211eacda2dd90b09540542b6582da614e and similar. The bug is rooted in the netlabel subsystem, which is responsible for labeling network packets for security policies, and the CALIPSO module, which supports IPv6 security labeling. Since the flaw only manifests when IPv6 is disabled, it is conditional on system configuration. No known exploits are reported in the wild, and no CVSS score has been assigned yet. The vulnerability does not appear to allow direct code execution or privilege escalation but can cause resource exhaustion through memory leaks, potentially impacting system stability and availability over time.
Potential Impact
For European organizations, the impact of CVE-2023-52698 is primarily related to system reliability and availability rather than direct compromise of confidentiality or integrity. Organizations running Linux systems with IPv6 disabled at boot are susceptible to gradual memory leaks in the kernel, which could lead to degraded performance, increased system crashes, or forced reboots if the leak is sustained and unmitigated. This is particularly relevant for servers and embedded systems that rely on long uptimes and stability, such as network infrastructure devices, industrial control systems, and cloud servers. Since many European enterprises and public sector organizations use Linux extensively, especially in data centers and critical infrastructure, the vulnerability could indirectly affect service continuity. However, the lack of known exploits and the requirement of a specific kernel configuration (IPv6 disabled) limits the immediate risk. Still, organizations with strict uptime requirements or those disabling IPv6 for legacy compatibility or security policies should be aware of potential memory exhaustion issues. The vulnerability does not directly expose sensitive data or allow privilege escalation, so the confidentiality and integrity impacts are low. The main concern is availability degradation over time due to resource leakage.
Mitigation Recommendations
To mitigate CVE-2023-52698, European organizations should: 1) Apply the latest Linux kernel patches that address this memory leak as soon as they become available from their Linux distribution vendors or kernel maintainers. 2) Review system configurations to assess whether IPv6 is disabled at boot (ipv6.disable=1). If IPv6 is not strictly required to be disabled, consider enabling it to avoid triggering the vulnerable code path. 3) Implement monitoring of kernel memory usage and system stability metrics to detect abnormal memory consumption patterns that could indicate the leak in action. 4) For systems that must have IPv6 disabled, consider deploying kernel live patching solutions if available to apply fixes without downtime. 5) Test kernel updates in staging environments to ensure compatibility and stability before production deployment. 6) Maintain robust system restart policies and automated recovery mechanisms to minimize downtime in case of memory exhaustion. 7) Engage with Linux distribution security advisories and subscribe to relevant mailing lists to stay informed about patch releases and further technical details. These steps go beyond generic advice by focusing on configuration review, proactive monitoring, and patch management tailored to the specific conditions of this vulnerability.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden
CVE-2023-52698: Vulnerability in Linux Linux
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]
AI-Powered Analysis
Technical Analysis
CVE-2023-52698 is a memory leak vulnerability identified in the Linux kernel's netlabel CALIPSO module, specifically within the netlbl_calipso_add_pass() function. This vulnerability arises when IPv6 support is disabled at boot time using the kernel parameter ipv6.disable=1. Under this configuration, the calipso_init() function, which normally registers the netlbl_calipso_ops structure, is not called. Consequently, the netlbl_calipso_ops_get() function returns NULL. Despite this, netlbl_calipso_add_pass() still allocates memory for the doi_def variable but fails to free it using calipso_doi_free(), leading to a memory leak. The issue was discovered through fuzz testing with Syzkaller by InfoTeCS on behalf of the Linux Verification Center. The memory leak is evidenced by unreferenced kernel objects accumulating, which could degrade system performance over time. The vulnerability affects Linux kernel versions identified by the commit hash cb72d38211eacda2dd90b09540542b6582da614e and similar. The bug is rooted in the netlabel subsystem, which is responsible for labeling network packets for security policies, and the CALIPSO module, which supports IPv6 security labeling. Since the flaw only manifests when IPv6 is disabled, it is conditional on system configuration. No known exploits are reported in the wild, and no CVSS score has been assigned yet. The vulnerability does not appear to allow direct code execution or privilege escalation but can cause resource exhaustion through memory leaks, potentially impacting system stability and availability over time.
Potential Impact
For European organizations, the impact of CVE-2023-52698 is primarily related to system reliability and availability rather than direct compromise of confidentiality or integrity. Organizations running Linux systems with IPv6 disabled at boot are susceptible to gradual memory leaks in the kernel, which could lead to degraded performance, increased system crashes, or forced reboots if the leak is sustained and unmitigated. This is particularly relevant for servers and embedded systems that rely on long uptimes and stability, such as network infrastructure devices, industrial control systems, and cloud servers. Since many European enterprises and public sector organizations use Linux extensively, especially in data centers and critical infrastructure, the vulnerability could indirectly affect service continuity. However, the lack of known exploits and the requirement of a specific kernel configuration (IPv6 disabled) limits the immediate risk. Still, organizations with strict uptime requirements or those disabling IPv6 for legacy compatibility or security policies should be aware of potential memory exhaustion issues. The vulnerability does not directly expose sensitive data or allow privilege escalation, so the confidentiality and integrity impacts are low. The main concern is availability degradation over time due to resource leakage.
Mitigation Recommendations
To mitigate CVE-2023-52698, European organizations should: 1) Apply the latest Linux kernel patches that address this memory leak as soon as they become available from their Linux distribution vendors or kernel maintainers. 2) Review system configurations to assess whether IPv6 is disabled at boot (ipv6.disable=1). If IPv6 is not strictly required to be disabled, consider enabling it to avoid triggering the vulnerable code path. 3) Implement monitoring of kernel memory usage and system stability metrics to detect abnormal memory consumption patterns that could indicate the leak in action. 4) For systems that must have IPv6 disabled, consider deploying kernel live patching solutions if available to apply fixes without downtime. 5) Test kernel updates in staging environments to ensure compatibility and stability before production deployment. 6) Maintain robust system restart policies and automated recovery mechanisms to minimize downtime in case of memory exhaustion. 7) Engage with Linux distribution security advisories and subscribe to relevant mailing lists to stay informed about patch releases and further technical details. These steps go beyond generic advice by focusing on configuration review, proactive monitoring, and patch management tailored to the specific conditions of this vulnerability.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Linux
- Date Reserved
- 2024-03-07T14:49:46.889Z
- Cisa Enriched
- true
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 682d9830c4522896dcbe7388
Added to database: 5/21/2025, 9:09:04 AM
Last enriched: 7/1/2025, 5:58:36 AM
Last updated: 7/28/2025, 5:03:32 AM
Views: 10
Related Threats
CVE-2025-2713: CWE-269 Improper Privilege Management in Google gVisor
MediumCVE-2025-8916: CWE-770 Allocation of Resources Without Limits or Throttling in Legion of the Bouncy Castle Inc. Bouncy Castle for Java
MediumCVE-2025-8914: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in WellChoose Organization Portal System
HighCVE-2025-8913: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in WellChoose Organization Portal System
CriticalCVE-2025-8912: CWE-36 Absolute Path Traversal in WellChoose Organization Portal System
HighActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.