Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A use-after-free vulnerability has been identified in the Linux kernel's NFC subsystem, specifically within the ST-NCI driver for I2C and SPI interfaces. This issue arises from a race condition in the 'ndlc_remove' function, which can lead to improper memory management. When the driver is removed, there is a possibility that the 'ndlc' structure is still being accessed by a scheduled work function, creating a conflict that can be exploited.
Exploitation of this vulnerability can lead to memory corruption issues, potentially allowing for arbitrary code execution or causing a system crash.
The vulnerability can be reproduced by loading the ST-NCI driver for I2C or SPI, which invokes the 'ndlc_probe' function. This function binds the 'ndlc' structure to a work queue. If the driver is removed while the work is still pending, the 'ndlc' structure may be accessed after it has been freed, causing a use-after-free condition.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.