Critical Use-After-Free Vulnerability in Linux Kernel Packages
Summary
DEBIAN-CVE-2023-52760: In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix slab-use-after-free in gfs2_qd_dealloc In gfs2_put_super(), whether withdrawn or not, the quota should be cleaned up by gfs2_quota_cleanup(). Affects linux versions < 6.6.8-1. Fixed in 6.6.8-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, including Debian. It manages system resources and provides essential services for all other software. The kernel is crucial for system stability and security. This vulnerability affects multiple versions of the Linux package across different Debian releases, highlighting the importance of timely updates to maintain system integrity.
Vulnerability Detail
In the Linux kernel, a use-after-free vulnerability has been identified in the gfs2 filesystem. Specifically, in the function gfs2_put_super(), the quota should be cleaned up by gfs2_quota_cleanup() regardless of whether it has been withdrawn. Failure to do so can lead to the premature freeing of the struct gfs2_sbd before the gfs2_qd_dealloc (an RCU callback) has completed for all gfs2_quota_data objects. This can result in potential exploitation, leading to system instability or unauthorized access.
How To Fix
Minimum fixed version
6.6.8-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the available patches as soon as possible.
Conclusion
The identified use-after-free vulnerability in the Linux kernel poses significant risks to system security and stability. It is crucial for users of affected Debian packages to update to the patched versions to mitigate these risks. Regular monitoring and updates are essential for maintaining a secure environment.
See every vulnerability recorded for linux →
FAQ
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to arbitrary code execution or crashes.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Not addressing this vulnerability can lead to system crashes, data corruption, or unauthorized access to sensitive information, compromising system security.
While this report focuses on Debian packages, the underlying issue exists in the Linux kernel itself, which may affect other distributions that use the same kernel versions.
It is recommended to regularly check for updates and apply them promptly, especially when vulnerabilities are disclosed, to ensure system security and stability.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.