In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt5645: Fix errorenous cleanup order
There is a logic error when removing rt5645 device as the function rt5645_i2c_remove() first cancel the &rt5645->jack_detect_work and delete the &rt5645->btn_check_timer latter. However, since the timer handler rt5645_btn_check_callback() will re-queue the jack_detect_work, this cleanup order is buggy.
That is, once the del_timer_sync in rt5645_i2c_remove is concurrently run with the rt5645_btn_check_callback, the canceled jack_detect_work will be rescheduled again, leading to possible use-after-free.
This patch fix the issue by placing the del_timer_sync function before the cancel_delayed_work_sync.
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 | Feb 27, 2025 | Feb 27, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-gcp-fipsUpgrade linux-gcp-5.4Upgrade linux-raspi-5.4Upgrade linux-oracleUpgrade linux-gkeopUpgrade linux-azure-5.4Upgrade linuxUpgrade linux-gcp-4.15Upgrade linux-azure-fipsUpgrade linux-hweUpgrade linux-intel-iotg-5.15Upgrade linux-hwe-5.4Upgrade linux-awsUpgrade linux-ibm-5.4Upgrade linux-iotUpgrade linux-azure-5.15Upgrade linux-gcpUpgrade linux-nvidiaUpgrade linux-azure-4.15Upgrade linux-kvmUpgrade linux-ibmUpgrade linux-aws-fipsUpgrade linux-oracle-5.4Upgrade linux-aws-5.15Upgrade linux-intel-iotgUpgrade linux-azureUpgrade linux-aws-hweUpgrade linux-bluefieldUpgrade linux-lowlatencyUpgrade linux-gcp-5.15Upgrade linux-hwe-5.15Upgrade linux-fipsUpgrade linux-raspiUpgrade linux-riscv-5.15Upgrade linux-oracle-5.15Upgrade linux-realtimeUpgrade linux-lowlatency-hwe-5.15Upgrade linux-aws-5.4Upgrade linux-gke | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 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