# CVE-2025-38460: atm: clip: Fix potential null-ptr-deref in to_atmarpd().

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-07-25T15:27:38.608Z
- Modified: 2026-10-15T22:18:41.863Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

atm: clip: Fix potential null-ptr-deref in to_atmarpd().

atmarpd is protected by RTNL since commit f3a0592b37b8 ("[ATM]: clip
causes unregister hang").

However, it is not enough because to_atmarpd() is called without RTNL,
especially clip_neigh_solicit() / neigh_ops->solicit() is unsleepable.

Also, there is no RTNL dependency around atmarpd.

Let's use a private mutex and RCU to protect access to atmarpd in
to_atmarpd().

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a4c5785feb979cd996a99cfaad8bf353b2e79301; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 70eac9ba7ce25d99c1d99bbf4ddb058940f631f9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3251ce3979f41bd228f77a7615f9dd616d06a110; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ee4d9e4ddf3f9c4ee2ec0a3aad6196ee36d30e57; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 06935c50cfa3ac57cce80bba67b6d38ec1406e92; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 36caab990b69ef4eec1d81c52a19f080b7daa059; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f58e4270c73e7f086322978d585ea67c8076ce49; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 706cc36477139c1616a9b2b96610a8bb520b7119; 2.6.12 (not affected: before 2.6.12; from 5.4.296 up to 5.4.*; from 5.10.240 up to 5.10.*; from 5.15.189 up to 5.15.*; from 6.1.146 up to 6.1.*; from 6.6.99 up to 6.6.*; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 2.6.13 before 5.4.296; from 5.5 before 5.10.240; from 5.11 before 5.15.189; from 5.16 before 6.1.146; from 6.2 before 6.6.99; from 6.7 before 6.12.39; from 6.13 before 6.15.7; 2.6.12; 6.16
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/a4c5785feb979cd996a99cfaad8bf353b2e79301> (patch)
- <https://git.kernel.org/stable/c/70eac9ba7ce25d99c1d99bbf4ddb058940f631f9> (patch)
- <https://git.kernel.org/stable/c/3251ce3979f41bd228f77a7615f9dd616d06a110> (patch)
- <https://git.kernel.org/stable/c/ee4d9e4ddf3f9c4ee2ec0a3aad6196ee36d30e57> (patch)
- <https://git.kernel.org/stable/c/06935c50cfa3ac57cce80bba67b6d38ec1406e92> (patch)
- <https://git.kernel.org/stable/c/36caab990b69ef4eec1d81c52a19f080b7daa059> (patch)
- <https://git.kernel.org/stable/c/f58e4270c73e7f086322978d585ea67c8076ce49> (patch)
- <https://git.kernel.org/stable/c/706cc36477139c1616a9b2b96610a8bb520b7119> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38460](https://www.cve.org/CVERecord?id=CVE-2025-38460), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38460](https://nvd.nist.gov/vuln/detail/CVE-2025-38460), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38460 · Whole record: https://cve.day/CVE-2025-38460.json · Rebuilt by cve.day 2026-11-25T22:59:01.729Z
