CVE-2025-38546
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-16

Last updated on: 2025-11-03

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: atm: clip: Fix memory leak of struct clip_vcc. ioctl(ATMARP_MKIP) allocates struct clip_vcc and set it to vcc->user_back. The code assumes that vcc_destroy_socket() passes NULL skb to vcc->push() when the socket is close()d, and then clip_push() frees clip_vcc. However, ioctl(ATMARPD_CTRL) sets NULL to vcc->push() in atm_init_atmarp(), resulting in memory leak. Let's serialise two ioctl() by lock_sock() and check vcc->push() in atm_init_atmarp() to prevent memleak.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-16
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-08-16
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.1.153-1
linux linux_kernel 5.10.244-1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a memory leak in the Linux kernel's ATM (Asynchronous Transfer Mode) subsystem, specifically in the clip component. The issue arises because the code incorrectly assumes that a certain function (vcc->push) will be called with a NULL socket buffer (skb) when a socket is closed, which triggers freeing of allocated memory (struct clip_vcc). However, due to ioctl(ATMARPD_CTRL) setting vcc->push to NULL, this freeing does not happen, causing a memory leak. The fix involves serializing two ioctl calls and checking vcc->push to prevent the leak.


How can this vulnerability impact me? :

This vulnerability can lead to a memory leak in the Linux kernel, which over time could consume system memory unnecessarily. This may degrade system performance, cause instability, or potentially lead to denial of service if memory resources are exhausted.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart