CVE-2025-38546

atm: clip: Fix memory leak of struct clip_vcc.

published August 16, 2025

CVSS
—
EPSS
0%
Percentile
6.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00169 · 6.0th percentile
Published
2025-08-16T11:22Z
EPSS history
Timeline
  • 16 AUG 11:22Z
    atm: clip: Fix memory leak of struct clip_vcc.
    cvelistv5