CVE-2025-38460

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

State
Published
Severity
7.0 High
Published
Jul 25, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a4c5785feb979cd996a99cfaad8bf353b2e79301Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 70eac9ba7ce25d99c1d99bbf4ddb058940f631f9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3251ce3979f41bd228f77a7615f9dd616d06a110Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ee4d9e4ddf3f9c4ee2ec0a3aad6196ee36d30e57Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 06935c50cfa3ac57cce80bba67b6d38ec1406e92Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 36caab990b69ef4eec1d81c52a19f080b7daa059Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f58e4270c73e7f086322978d585ea67c8076ce49Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 706cc36477139c1616a9b2b96610a8bb520b7119Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.4.296 through 5.4.*Not affected
  • 5.10.240 through 5.10.*Not affected
  • 5.15.189 through 5.15.*Not affected
  • 6.1.146 through 6.1.*Not affected
  • 6.6.99 through 6.6.*Not affected
  • 6.12.39 through 6.12.*Not affected
  • 6.15.7 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.