SB2025022733 - Memory leak in Linux kernel ufs core driver
Published: February 27, 2025 Updated: May 11, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Memory leak (CVE-ID: CVE-2025-21739)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within the ufshcd_pltfrm_init() and ufshcd_pltfrm_remove() functions in drivers/ufs/host/ufshcd-pltfrm.c, within the ufshcd_pci_remove() and ufshcd_pci_probe() functions in drivers/ufs/host/ufshcd-pci.c, within the EXPORT_SYMBOL_GPL(), ufshcd_set_dma_mask() and ufshcd_alloc_host() functions in drivers/ufs/core/ufshcd.c. A local user can perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/0c77c0d754fe83cb154715fcfec6c3faef94f207
- https://git.kernel.org/stable/c/9c185beae09a3eb85f54777edafa227f7e03075d
- https://git.kernel.org/stable/c/f8fb2403ddebb5eea0033d90d9daae4c88749ada
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.14
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13.3
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14