# CVE-2025-38245: atm: Release atm\_dev\_mutex after removing procfs in atm\_dev\_deregister().

> 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.32% (percentile 17, 2026-11-26)
- **Published:** 2025-07-09T10:42:27.263Z
- **Modified:** 2026-11-05T21:18:22.883Z

## Who should check

- Anyone running Linux \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 2a8dcee649d12f69713f2589171a1caf6d4fa439; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 4bb1bb438134d9ee6b97cc07289dd7c569092eec; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 26248d5d68c865b888d632162abbf8130645622c; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< b2e40fcfe1575faaa548f87614006d3fe44c779e; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< cabed6ba92a9a8c09da02a3f20e32ecd80989896; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< ae539d963a17443ec54cba8a767e4ffa318264f4; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 6922f1a048c090f10704bbef4a3a1e81932d2e0a; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< a433791aeaea6e84df709e0b9584b9bbe040cd1c
- Anyone running Linux 2.6.15

## Description

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

atm: Release atm\_dev\_mutex after removing procfs in atm\_dev\_deregister().

syzbot reported a warning below during atm\_dev\_register(). \[0\]

Before creating a new device and procfs/sysfs for it, atm\_dev\_register()
looks up a duplicated device by \_\_atm\_dev\_lookup().  These operations are
done under atm\_dev\_mutex.

However, when removing a device in atm\_dev\_deregister(), it releases the
mutex just after removing the device from the list that \_\_atm\_dev\_lookup()
iterates over.

So, there will be a small race window where the device does not exist on
the device list but procfs/sysfs are still not removed, triggering the
splat.

Let's hold the mutex until procfs/sysfs are removed in
atm\_dev\_deregister().

\[0\]:
proc\_dir\_entry 'atm/atmtcp:0' already registered
WARNING: CPU: 0 PID: 5919 at fs/proc/generic.c:377 proc\_register+0x455/0x5f0 fs/proc/generic.c:377
Modules linked in:
CPU: 0 UID: 0 PID: 5919 Comm: syz-executor284 Not tainted 6.16.0-rc2-syzkaller-00047-g52da431bf03b \#0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:proc\_register+0x455/0x5f0 fs/proc/generic.c:377
Code: 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 a2 01 00 00 48 8b 44 24 10 48 c7 c7 20 c0 c2 8b 48 8b b0 d8 00 00 00 e8 0c 02 1c ff 90 \<0f\> 0b 90 90 48 c7 c7 80 f2 82 8e e8 0b de 23 09 48 8b 4c 24 28 48
RSP: 0018:ffffc9000466fa30 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817ae248
RDX: ffff888026280000 RSI: ffffffff817ae255 RDI: 0000000000000001
RBP: ffff8880232bed48 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888076ed2140
R13: dffffc0000000000 R14: ffff888078a61340 R15: ffffed100edda444
FS:  00007f38b3b0c6c0(0000) GS:ffff888124753000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f38b3bdf953 CR3: 0000000076d58000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 proc\_create\_data+0xbe/0x110 fs/proc/generic.c:585
 atm\_proc\_dev\_register+0x112/0x1e0 net/atm/proc.c:361
 atm\_dev\_register+0x46d/0x890 net/atm/resources.c:113
 atmtcp\_create+0x77/0x210 drivers/atm/atmtcp.c:369
 atmtcp\_attach drivers/atm/atmtcp.c:403 \[inline\]
 atmtcp\_ioctl+0x2f9/0xd60 drivers/atm/atmtcp.c:464
 do\_vcc\_ioctl+0x12c/0x930 net/atm/ioctl.c:159
 sock\_do\_ioctl+0x115/0x280 net/socket.c:1190
 sock\_ioctl+0x227/0x6b0 net/socket.c:1311
 vfs\_ioctl fs/ioctl.c:51 \[inline\]
 \_\_do\_sys\_ioctl fs/ioctl.c:907 \[inline\]
 \_\_se\_sys\_ioctl fs/ioctl.c:893 \[inline\]
 \_\_x64\_sys\_ioctl+0x18b/0x210 fs/ioctl.c:893
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0xcd/0x4c0 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f38b3b74459
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f38b3b0c198 EFLAGS: 00000246 ORIG\_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f38b3bfe318 RCX: 00007f38b3b74459
RDX: 0000000000000000 RSI: 0000000000006180 RDI: 0000000000000005
RBP: 00007f38b3bfe310 R08: 65732f636f72702f R09: 65732f636f72702f
R10: 65732f636f72702f R11: 0000000000000246 R12: 00007f38b3bcb0ac
R13: 00007f38b3b0c1a0 R14: 0000200000000200 R15: 00007f38b3bcb03b
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 2a8dcee649d12f69713f2589171a1caf6d4fa439; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 4bb1bb438134d9ee6b97cc07289dd7c569092eec; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 26248d5d68c865b888d632162abbf8130645622c; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< b2e40fcfe1575faaa548f87614006d3fe44c779e; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< cabed6ba92a9a8c09da02a3f20e32ecd80989896; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< ae539d963a17443ec54cba8a767e4ffa318264f4; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 6922f1a048c090f10704bbef4a3a1e81932d2e0a; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< a433791aeaea6e84df709e0b9584b9bbe040cd1c (cvelist)
- Linux: 2.6.15 (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-38245. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38245.md
Affected: Linux >= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, < 2a8dcee649d12f69713f2589171a1caf6d4fa439; >= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, < 4bb1bb438134d9ee6b97cc07289dd7c569092eec; >= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, < 26248d5d68c865b888d632162abbf8130645622c; >= 64bf69ddff7637b7ed7acf9…
Fixed in: Linux 2a8dcee649d12f69713f2589171a1caf6d4fa439, Linux 4bb1bb438134d9ee6b97cc07289dd7c569092eec, Linux 26248d5d68c865b888d632162abbf8130645622c, Linux 6922f1a048c090f10704bbef4a3a1e81932d2e0a

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

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

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

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

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

Linux \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 2a8dcee649d12f69713f2589171a1caf6d4fa439; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 4bb1bb438134d9ee6b97cc07289dd7c569092eec; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 26248d5d68c865b888d632162abbf8130645622c; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< b2e40fcfe1575faaa548f87614006d3fe44c779e; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< cabed6ba92a9a8c09da02a3f20e32ecd80989896; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< ae539d963a17443ec54cba8a767e4ffa318264f4; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< 6922f1a048c090f10704bbef4a3a1e81932d2e0a; \>= 64bf69ddff7637b7ed7acf9b2a823cc0ee519439, \< a433791aeaea6e84df709e0b9584b9bbe040cd1c; Linux 2.6.15.

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

Yes. Fixed in Linux 2a8dcee649d12f69713f2589171a1caf6d4fa439, Linux 4bb1bb438134d9ee6b97cc07289dd7c569092eec, Linux 26248d5d68c865b888d632162abbf8130645622c, Linux 6922f1a048c090f10704bbef4a3a1e81932d2e0a. No fix listed yet: follow the vendor advisory.

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

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/2a8dcee649d12f69713f2589171a1caf6d4fa439>
- patch: <https://git.kernel.org/stable/c/4bb1bb438134d9ee6b97cc07289dd7c569092eec>
- patch: <https://git.kernel.org/stable/c/26248d5d68c865b888d632162abbf8130645622c>
- patch: <https://git.kernel.org/stable/c/b2e40fcfe1575faaa548f87614006d3fe44c779e>
- patch: <https://git.kernel.org/stable/c/cabed6ba92a9a8c09da02a3f20e32ecd80989896>
- patch: <https://git.kernel.org/stable/c/ae539d963a17443ec54cba8a767e4ffa318264f4>
- patch: <https://git.kernel.org/stable/c/6922f1a048c090f10704bbef4a3a1e81932d2e0a>
- patch: <https://git.kernel.org/stable/c/a433791aeaea6e84df709e0b9584b9bbe040cd1c>
- 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-38245>

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