Critical Vulnerability in Linux Kernel: UBLK_F_USER_COPY Security Flaw
Summary
DEBIAN-CVE-2024-50080: In the Linux kernel, the following vulnerability has been resolved: ublk: don't allow user copy for unprivileged device UBLK_F_USER_COPY requires userspace to call write() on ublk char device for filling request buffer,... Affects linux versions < 6.11.5-1. Fixed in 6.11.5-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 hardware resources and provides essential services for software applications. The kernel is crucial for system stability and security. The vulnerability in question affects the ublk subsystem, which is responsible for user block devices, allowing users to create block devices in user space. This vulnerability can lead to security risks if unprivileged users are allowed to perform certain operations.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the ublk subsystem where UBLK_F_USER_COPY allows unprivileged devices to perform user copy operations. This can lead to unauthorized access or manipulation of the request buffer, posing a significant security risk. The flaw arises from the assumption that unprivileged devices can be trusted, which is not the case. The vulnerability is tracked as DEBIAN-CVE-2024-50080 and affects Debian versions 13 and 14.
How To Fix
Minimum fixed version
6.11.5-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 mentioned for this vulnerability. The best course of action is to apply the patch by updating the package as described above.
Conclusion
The identified vulnerability in the Linux kernel's ublk subsystem poses a significant security risk by allowing unprivileged devices to perform user copy operations. It is crucial for users to update their Linux packages to the patched version 6.11.5-1 to mitigate this risk. Regular monitoring of vulnerabilities using tools like Vulert can help maintain system security.
See every vulnerability recorded for linux →
FAQ
The vulnerability allows unprivileged devices to perform user copy operations, which can lead to unauthorized access to the request buffer.
Debian versions 13 and 14 of the Linux package are affected by this vulnerability.
You can check your system's Linux version using the command 'uname -r' and compare it with the patched version 6.11.5-1.
Yes, Vulert can monitor and alert for open-source vulnerabilities in your software without requiring code access. You can check your application using the Vulert playground.
While there are no specific workarounds, it is recommended to limit access to the affected subsystem until the package can be updated.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.