CVE-2026-53160 PUBLISHED

misc: fastrpc: fix use-after-free race in fastrpc_map_create

Assigner: Linux
Reserved: 09.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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

misc: fastrpc: fix use-after-free race in fastrpc_map_create

fastrpc_map_lookup returns a raw pointer after releasing fl->lock. The caller fastrpc_map_create then calls fastrpc_map_get (kref_get_unless_zero) on this unprotected pointer. A concurrent MEM_UNMAP can free the map between the lock release and the kref operation, resulting in a use-after-free on the freed slab object.

Restore the take_ref parameter to fastrpc_map_lookup so the reference is acquired atomically under fl->lock before the pointer is exposed to the caller.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0b70ec82b309a4093106ff399da1911ad23b52d3 to 0a3b87293fbd34fda651e6aead9964f84b893962 (excl.)
  • affected from d7513b47082c08105e837b06cebeb3f07a5fa56f to 8b080c89183196fd3e49212f2a1a1c4a29335b9c (excl.)
  • affected from 802359a52676176b18713e33caa17572ad009057 to 5b0166112019d1dce30b976ab28fd67f7f0be532 (excl.)
  • affected from 10df039834f84a297c72ec962c0f9b7c8c5ca31a to 992f121796b7ca83a5a8b93da24e971363206218 (excl.)
  • affected from 10df039834f84a297c72ec962c0f9b7c8c5ca31a to f20f6512ecb75c816e0debf4551a138f098615c4 (excl.)
  • affected from 10df039834f84a297c72ec962c0f9b7c8c5ca31a to 07ebe87915d8accdaba20c4f88c5ae430fe62fbb (excl.)
  • Version f3f59bab68e9bc714f757ab22f3fb36153014043 is affected
  • affected from 6.1.156 to 6.1.176 (excl.)
  • affected from 6.6.112 to 6.6.143 (excl.)
  • affected from 6.12.53 to 6.12.94 (excl.)
  • affected from 6.17.3 to 6.18 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.18 is affected
  • unaffected from 0 to 6.18 (excl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.94 to 6.12.* (incl.)
  • unaffected from 6.18.36 to 6.18.* (incl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References