CVE-2025-38546

MEDIUM

Linux Kernel Use-After-Free in ATM Clip Module

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (29)
debian/debian_linux 11.0
linux/Kernel 2.6.12 - 5.4.296linux
linux/Kernel 5.11.0 - 5.15.189linux
linux/Kernel 5.16.0 - 6.1.146linux
linux/Kernel 5.5.0 - 5.10.240linux
linux/Kernel 6.13.0 - 6.15.7linux
linux/Kernel 6.2.0 - 6.6.99linux
linux/Kernel 6.7.0 - 6.12.39linux
Linux/Linux < 2.6.12
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90
... and 19 more
Published Aug 16, 2025
Tracked Since Feb 18, 2026