In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: Fix use-after-free race condition for maps
It is possible that in between calling fastrpc_map_get() until map->fl->lock is taken in fastrpc_free_map(), another thread can call fastrpc_map_lookup() and get a reference to a map that is about to be deleted.
Rewrite fastrpc_map_get() to only increase the reference count of a map if it's non-zero. Propagate this to callers so they can know if a map is about to be deleted.
Fixes this warning: refcount_t: addition on 0; use-after-free. WARNING: CPU: 5 PID: 10100 at lib/refcount.c:25 refcount_warn_saturate ... Call trace: refcount_warn_saturate [fastrpc_map_get inlined] [fastrpc_map_lookup inlined] fastrpc_map_create fastrpc_internal_invoke fastrpc_device_ioctl __arm64_sys_ioctl invoke_syscall
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Aug 22, 2024 | Aug 22, 2024 |
| Dell Powerstore Dsa2025086 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | Feb 20, 2025 |
| Ubuntu | — | Upgrade linux-riscv-5.15Upgrade linux-aws-5.4Upgrade linux-fipsUpgrade linux-lowlatency-hwe-5.15Upgrade linux-kvmUpgrade linux-hwe-5.15Upgrade linux-raspi-5.4Upgrade linux-azure-fdeUpgrade linux-aws-5.15Upgrade linux-oracle-5.4Upgrade linux-intel-iotgUpgrade linux-bluefieldUpgrade linux-awsUpgrade linux-intel-iotg-5.15Upgrade linux-nvidia-tegra-5.15Upgrade linux-azureUpgrade linux-gkeUpgrade linux-raspiUpgrade linux-gcp-5.15Upgrade linux-realtimeUpgrade linux-gkeop-5.15Upgrade linux-iotUpgrade linux-lowlatencyUpgrade linux-azure-5.15Upgrade linux-azure-fipsUpgrade linux-ibm-5.4Upgrade linux-gcp-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-oracle-5.15Upgrade linux-ibmUpgrade linux-oracleUpgrade linux-gkeopUpgrade linux-xilinx-zynqmpUpgrade linux-aws-fipsUpgrade linux-gcpUpgrade linux-azure-5.4Upgrade linux-gcp-fipsUpgrade linuxUpgrade linux-hwe-5.4Upgrade linux-nvidia | Nov 19, 2024 | Aug 21, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Aug 21, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub