Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's SPU file system gang directory management has been addressed. The issue involved improper handling of gang directory lifetimes, leading to resource leaks. When a gang was created, its directory was opened but not properly closed if a context was kept alive, causing a leak. The initial fix for this problem was inadequate, as it removed the pinning of the gang directory dentry and disrupted the cleanup process. The revised solution involves reverting the previous fix, reintroducing a reference counter for the gang directory, and using a recursive removal method to clean up directories when the counter reaches zero.
The vulnerability could lead to memory leaks by improperly managing the lifetimes of gang directories in the SPU file system.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.