CVE-2025-38546

atm: clip: Fix memory leak of struct clip_vcc.

MEDIUM
5.5
CVSS Score
Published: August 16, 2025 at 11:22 AM UTC
Updated: June 17, 2026 at 09:17 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 5.10.2402.6.12 ≤ v < 5.15.1892.6.12 ≤ v < 5.4.2962.6.12 ≤ v < 6.1.1462.6.12 ≤ v < 6.12.392.6.12 ≤ v < 6.15.72.6.12 ≤ v < 6.162.6.12 ≤ v < 6.6.992.6.13 ≤ v < 5.4.2965.11 ≤ v < 5.15.1895.16 ≤ v < 6.1.1465.5 ≤ v < 5.10.2406.13 ≤ v < 6.15.76.2 ≤ v < 6.6.996.7 ≤ v < 6.12.391da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.122.6.12 rc22.6.12 rc32.6.12 rc42.6.12 rc56.16 rc16.16 rc26.16 rc36.16 rc46.16 rc5
Vendor states this is fixed in 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90 (fixed)
Vendor states this is fixed in 1c075e88d5859a2c6b43b27e0e46fb281cef8039 (fixed)
Vendor states this is fixed in 1fb9fb5a4b5cec2d56e26525ef8c519de858fa60 (fixed)
Vendor states this is fixed in 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5 (fixed)
Vendor states this is fixed in 62dba28275a9a3104d4e33595c7b3328d4032d8d (fixed)
Vendor states this is fixed in 9e4dbeee56f614e3f1e166e5d0655a999ea185ef (fixed)
Vendor states this is fixed in 9f771816f14da6d6157a8c30069091abf6b566fb (fixed)
Vendor states this is fixed in cb2e4a2f8f268d8fba6662f663a2e57846f14a8d (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 5.10.240 (unaffected)
Vendor states this is fixed in 5.15.189 (unaffected)
Vendor states this is fixed in 5.4.296 (unaffected)
Vendor states this is fixed in 6.1.146 (unaffected)
Vendor states this is fixed in 6.12.39 (unaffected)
Vendor states this is fixed in 6.15.7 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.99 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c075e88d5859a2c6b43b27e0e46fb281cef8039
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1fb9fb5a4b5cec2d56e26525ef8c519de858fa60
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2fb37ab3226606cbfc9b2b6f9e301b0b735734c5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/62dba28275a9a3104d4e33595c7b3328d4032d8d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e4dbeee56f614e3f1e166e5d0655a999ea185ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9f771816f14da6d6157a8c30069091abf6b566fb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb2e4a2f8f268d8fba6662f663a2e57846f14a8d

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card