# CVE-2025-38459: atm: clip: Fix infinite recursive call of clip\_push().

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-674, CWE-787
- **Published:** 2025-07-25T15:27:37.893Z
- **Modified:** 2026-06-17T09:16:53.963Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f493f31a63847624fd3199ac836a8bd8828e50e2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 125166347d5676466d368aadc0bbc31ee7714352; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5641019dfbaee5e85fe093b590f0451c9dd4d6f8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1579a2777cb914a249de22c789ba4d41b154509f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3f61b997fe014bbfcc208a9fcbd363a1fe7e3a31; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 024876b247a882972095b22087734dcd23396a4e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df0312d8859763aa15b8b56ac151a1ea4a4e5b88; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c489f3283dbfc0f3c00c312149cae90d27552c45
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

atm: clip: Fix infinite recursive call of clip\_push().

syzbot reported the splat below. \[0\]

This happens if we call ioctl(ATMARP\_MKIP) more than once.

During the first call, clip\_mkip() sets clip\_push() to vcc-\>push(),
and the second call copies it to clip\_vcc-\>old\_push().

Later, when the socket is close()d, vcc\_destroy\_socket() passes
NULL skb to clip\_push(), which calls clip\_vcc-\>old\_push(),
triggering the infinite recursion.

Let's prevent the second ioctl(ATMARP\_MKIP) by checking
vcc-\>user\_back, which is allocated by the first call as clip\_vcc.

Note also that we use lock\_sock() to prevent racy calls.

\[0\]:
BUG: TASK stack guard page was hit at ffffc9000d66fff8 (stack is ffffc9000d670000..ffffc9000d678000)
Oops: stack guard page: 0000 \[\#1\] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 Not tainted 6.16.0-rc4-syzkaller \#0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:clip\_push+0x5/0x720 net/atm/clip.c:191
Code: e0 8f aa 8c e8 1c ad 5b fa eb ae 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 \<41\> 57 41 56 41 55 41 54 53 48 83 ec 20 48 89 f3 49 89 fd 48 bd 00
RSP: 0018:ffffc9000d670000 EFLAGS: 00010246
RAX: 1ffff1100235a4a5 RBX: ffff888011ad2508 RCX: ffff8880003c0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888037f01000
RBP: dffffc0000000000 R08: ffffffff8fa104f7 R09: 1ffffffff1f4209e
R10: dffffc0000000000 R11: ffffffff8a99b300 R12: ffffffff8a99b300
R13: ffff888037f01000 R14: ffff888011ad2500 R15: ffff888037f01578
FS:  000055557ab6d500(0000) GS:ffff88808d250000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000d66fff8 CR3: 0000000043172000 CR4: 0000000000352ef0
Call Trace:
 \<TASK\>
 clip\_push+0x6dc/0x720 net/atm/clip.c:200
 clip\_push+0x6dc/0x720 net/atm/clip.c:200
 clip\_push+0x6dc/0x720 net/atm/clip.c:200
...
 clip\_push+0x6dc/0x720 net/atm/clip.c:200
 clip\_push+0x6dc/0x720 net/atm/clip.c:200
 clip\_push+0x6dc/0x720 net/atm/clip.c:200
 vcc\_destroy\_socket net/atm/common.c:183 \[inline\]
 vcc\_release+0x157/0x460 net/atm/common.c:205
 \_\_sock\_release net/socket.c:647 \[inline\]
 sock\_close+0xc0/0x240 net/socket.c:1391
 \_\_fput+0x449/0xa70 fs/file\_table.c:465
 task\_work\_run+0x1d1/0x260 kernel/task\_work.c:227
 resume\_user\_mode\_work include/linux/resume\_user\_mode.h:50 \[inline\]
 exit\_to\_user\_mode\_loop+0xec/0x110 kernel/entry/common.c:114
 exit\_to\_user\_mode\_prepare include/linux/entry-common.h:330 \[inline\]
 syscall\_exit\_to\_user\_mode\_work include/linux/entry-common.h:414 \[inline\]
 syscall\_exit\_to\_user\_mode include/linux/entry-common.h:449 \[inline\]
 do\_syscall\_64+0x2bd/0x3b0 arch/x86/entry/syscall\_64.c:100
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7ff31c98e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffb5aa1f78 EFLAGS: 00000246 ORIG\_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000012747 RCX: 00007ff31c98e929
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007ff31cbb7ba0 R08: 0000000000000001 R09: 0000000db5aa226f
R10: 00007ff31c7ff030 R11: 0000000000000246 R12: 00007ff31cbb608c
R13: 00007ff31cbb6080 R14: ffffffffffffffff R15: 00007fffb5aa2090
 \</TASK\>
Modules linked in:

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f493f31a63847624fd3199ac836a8bd8828e50e2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 125166347d5676466d368aadc0bbc31ee7714352; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5641019dfbaee5e85fe093b590f0451c9dd4d6f8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1579a2777cb914a249de22c789ba4d41b154509f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3f61b997fe014bbfcc208a9fcbd363a1fe7e3a31; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 024876b247a882972095b22087734dcd23396a4e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df0312d8859763aa15b8b56ac151a1ea4a4e5b88; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c489f3283dbfc0f3c00c312149cae90d27552c45 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38459.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f493f31a63847624fd3199ac836a8bd8828e50e2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 125166347d5676466d368aadc0bbc31ee7714352; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5641019dfbaee5e85fe093b590f0451c9dd4d6f8; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 125166347d5676466d368aadc0bbc31ee7714352, Linux 5641019dfbaee5e85fe093b590f0451c9dd4d6f8, Linux 1579a2777cb914a249de22c789ba4d41b154509f, Linux 3f61b997fe014bbfcc208a9fcbd363a1fe7e3a31, Linux 024876b247a882972095b22087734dcd23396a4e

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-38459 being exploited?

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f493f31a63847624fd3199ac836a8bd8828e50e2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 125166347d5676466d368aadc0bbc31ee7714352; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5641019dfbaee5e85fe093b590f0451c9dd4d6f8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1579a2777cb914a249de22c789ba4d41b154509f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3f61b997fe014bbfcc208a9fcbd363a1fe7e3a31; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 024876b247a882972095b22087734dcd23396a4e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df0312d8859763aa15b8b56ac151a1ea4a4e5b88; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c489f3283dbfc0f3c00c312149cae90d27552c45; Linux 2.6.12.

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

Yes. Fixed in Linux 125166347d5676466d368aadc0bbc31ee7714352, Linux 5641019dfbaee5e85fe093b590f0451c9dd4d6f8, Linux 1579a2777cb914a249de22c789ba4d41b154509f, Linux 3f61b997fe014bbfcc208a9fcbd363a1fe7e3a31, Linux 024876b247a882972095b22087734dcd23396a4e. No fix listed yet: follow the vendor advisory.

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

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/f493f31a63847624fd3199ac836a8bd8828e50e2>
- patch: <https://git.kernel.org/stable/c/125166347d5676466d368aadc0bbc31ee7714352>
- patch: <https://git.kernel.org/stable/c/5641019dfbaee5e85fe093b590f0451c9dd4d6f8>
- patch: <https://git.kernel.org/stable/c/1579a2777cb914a249de22c789ba4d41b154509f>
- patch: <https://git.kernel.org/stable/c/3f61b997fe014bbfcc208a9fcbd363a1fe7e3a31>
- patch: <https://git.kernel.org/stable/c/024876b247a882972095b22087734dcd23396a4e>
- patch: <https://git.kernel.org/stable/c/df0312d8859763aa15b8b56ac151a1ea4a4e5b88>
- patch: <https://git.kernel.org/stable/c/c489f3283dbfc0f3c00c312149cae90d27552c45>
- 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-38459>

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