# CVE-2025-38546: atm: clip: Fix memory leak of struct clip\_vcc.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-08-16T11:22:20.477Z
- **Modified:** 2026-11-05T22:17:17.993Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9e4dbeee56f614e3f1e166e5d0655a999ea185ef; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1c075e88d5859a2c6b43b27e0e46fb281cef8039; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1fb9fb5a4b5cec2d56e26525ef8c519de858fa60; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9f771816f14da6d6157a8c30069091abf6b566fb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cb2e4a2f8f268d8fba6662f663a2e57846f14a8d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62dba28275a9a3104d4e33595c7b3328d4032d8d
- Anyone running Linux 2.6.12

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9e4dbeee56f614e3f1e166e5d0655a999ea185ef; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1c075e88d5859a2c6b43b27e0e46fb281cef8039; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1fb9fb5a4b5cec2d56e26525ef8c519de858fa60; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9f771816f14da6d6157a8c30069091abf6b566fb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cb2e4a2f8f268d8fba6662f663a2e57846f14a8d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62dba28275a9a3104d4e33595c7b3328d4032d8d (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 62dba28275a9a3104d4e33595c7b3328d4032d8d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38546. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38546.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9e4dbeee56f614e3f1e166e5d0655a999ea185ef; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1c075e88d5859a2c6b43b27e0e46fb281cef8039; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5, Linux 9e4dbeee56f614e3f1e166e5d0655a999ea185ef, Linux 1c075e88d5859a2c6b43b27e0e46fb281cef8039, Linux 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90, Linux 1fb9fb5a4b5cec2d56e26525ef8c519de858fa60, Linux 9f771816f14da6d6157a8c30069091abf6b566fb, Linux 62dba…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38546 being exploited?

There is no confirmed exploitation: CVE-2025-38546 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38546?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38546?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9e4dbeee56f614e3f1e166e5d0655a999ea185ef; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1c075e88d5859a2c6b43b27e0e46fb281cef8039; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1fb9fb5a4b5cec2d56e26525ef8c519de858fa60; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9f771816f14da6d6157a8c30069091abf6b566fb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cb2e4a2f8f268d8fba6662f663a2e57846f14a8d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62dba28275a9a3104d4e33595c7b3328d4032d8d; Linux 2.6.12.

### Is there a fix for CVE-2025-38546?

Yes. Fixed in Linux 2fb37ab3226606cbfc9b2b6f9e301b0b735734c5, Linux 9e4dbeee56f614e3f1e166e5d0655a999ea185ef, Linux 1c075e88d5859a2c6b43b27e0e46fb281cef8039, Linux 0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90, Linux 1fb9fb5a4b5cec2d56e26525ef8c519de858fa60, Linux 9f771816f14da6d6157a8c30069091abf6b566fb, Linux 62dba28275a9a3104d4e33595c7b3328d4032d8d. Upgrade Linux to 62dba28275a9a3104d4e33595c7b3328d4032d8d or later.

### How do I check if I'm affected by CVE-2025-38546?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2fb37ab3226606cbfc9b2b6f9e301b0b735734c5>
- patch: <https://git.kernel.org/stable/c/9e4dbeee56f614e3f1e166e5d0655a999ea185ef>
- patch: <https://git.kernel.org/stable/c/1c075e88d5859a2c6b43b27e0e46fb281cef8039>
- patch: <https://git.kernel.org/stable/c/0c17ff462d98c997d707ee5cf4e4a9b1b52b9d90>
- patch: <https://git.kernel.org/stable/c/1fb9fb5a4b5cec2d56e26525ef8c519de858fa60>
- patch: <https://git.kernel.org/stable/c/9f771816f14da6d6157a8c30069091abf6b566fb>
- patch: <https://git.kernel.org/stable/c/cb2e4a2f8f268d8fba6662f663a2e57846f14a8d>
- patch: <https://git.kernel.org/stable/c/62dba28275a9a3104d4e33595c7b3328d4032d8d>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38546>

HTML: <https://flawdb.com/CVE-2025-38546> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38546>
