In the Linux kernel, the following vulnerability has been resolved:
nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
This bug influences both st_nci_i2c_remove and st_nci_spi_remove. Take st_nci_i2c_remove as an example.
In st_nci_i2c_probe, it called ndlc_probe and bound &ndlc->sm_work with llt_ndlc_sm_work.
When it calls ndlc_recv or timeout handler, it will finally call schedule_work to start the work.
When we call st_nci_i2c_remove to remove the driver, there may be a sequence as follows:
Fix it by finishing the work before cleanup in ndlc_remove
CPU0 CPU1
|llt_ndlc_sm_work st_nci_i2c_remove | ndlc_remove | st_nci_remove | nci_free_device| kfree(ndev) | //free ndlc->ndev | |llt_ndlc_rcv_queue |nci_recv_frame |//use ndlc->ndev
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | May 5, 2025 | May 2, 2025 |
| Ubuntu | — | Upgrade linux-azure-4.15Upgrade linux-gcp-4.15Upgrade linux-ibm-5.4Upgrade linux-intel-iot-realtimeUpgrade linux-azure-5.15Upgrade linux-gcp-5.4Upgrade linux-bluefieldUpgrade linux-gcpUpgrade linux-hweUpgrade linux-nvidia-tegra-igxUpgrade linux-azure-5.4Upgrade linux-awsUpgrade linux-gcp-fipsUpgrade linux-raspi-5.4Upgrade linux-aws-fipsUpgrade linux-lts-xenialUpgrade linux-ibmUpgrade linux-riscv-5.15Upgrade linux-intel-iotgUpgrade linux-ibm-5.15Upgrade linux-hwe-5.4Upgrade linux-lowlatencyUpgrade linux-gkeopUpgrade linux-intel-iotg-5.15Upgrade linux-kvmUpgrade linux-aws-5.15Upgrade linux-nvidia-tegraUpgrade linuxUpgrade linux-aws-hweUpgrade linux-oracle-5.15Upgrade linux-azureUpgrade linux-aws-5.4Upgrade linux-iotUpgrade linux-hwe-5.15Upgrade linux-azure-fdeUpgrade linux-lowlatency-hwe-5.15Upgrade linux-oracleUpgrade linux-fipsUpgrade linux-gkeUpgrade linux-oracle-5.4Upgrade linux-realtimeUpgrade linux-gcp-5.15Upgrade linux-nvidiaUpgrade linux-raspiUpgrade linux-xilinx-zynqmpUpgrade linux-nvidia-tegra-5.15Upgrade linux-azure-fips | May 8, 2025 | May 2, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | May 2, 2025 |
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