In the Linux kernel, the following vulnerability has been resolved:
ubifs: Free memory for tmpfile name
When opening a ubifs tmpfile on an encrypted directory, function fscrypt_setup_filename allocates memory for the name that is to be stored in the directory entry, but after the name has been copied to the directory entry inode, the memory is not freed.
When running kmemleak on it we see that it is registered as a leak. The report below is triggered by a simple program 'tmpfile' just opening a tmpfile:
unreferenced object 0xffff88810178f380 (size 32): comm "tmpfile", pid 509, jiffies 4294934744 (age 1524.742s) backtrace: __kmem_cache_alloc_node __kmalloc fscrypt_setup_filename ubifs_tmpfile vfs_tmpfile path_openat
Free this memory after it has been copied to the inode.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Sep 18, 2025 | Sep 18, 2025 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Sep 16, 2025 |
| Ubuntu | — | Upgrade linux-raspiUpgrade linux-azure-fipsUpgrade linux-gkeUpgrade linux-aws-5.15Upgrade linux-aws-5.4Upgrade linux-oracle-5.15Upgrade linux-ibm-5.15Upgrade linux-intel-iotgUpgrade linux-nvidia-tegraUpgrade linux-lowlatencyUpgrade linux-nvidiaUpgrade linux-azure-fde-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-nvidia-tegra-5.15Upgrade linux-fipsUpgrade linux-riscv-5.15Upgrade linux-oracle-5.4Upgrade linux-ibm-5.4Upgrade linux-xilinx-zynqmpUpgrade linux-gkeopUpgrade linux-gcp-5.15Upgrade linux-hwe-5.15Upgrade linux-azureUpgrade linux-realtimeUpgrade linux-bluefieldUpgrade linux-nvidia-tegra-igxUpgrade linux-hwe-5.4Upgrade linux-ibmUpgrade linux-iotUpgrade linux-gcpUpgrade linux-gcp-fipsUpgrade linux-awsUpgrade linux-azure-5.4Upgrade linux-gcp-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-raspi-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-aws-fipsUpgrade linuxUpgrade linux-kvmUpgrade linux-oracleUpgrade linux-azure-5.15 | Sep 19, 2025 | Sep 17, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 15, 2025 | Sep 16, 2025 |
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