CVE-2021-47605·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: vduse: fix memory corruption in vduse_dev_ioctl() The "config.offset" comes from the user. There needs to a check to prevent it being out of bounds. The "config.offset" and "dev->config_size" variables are both type u32. So if the offset if out of bounds then the "dev->config_size - config.offset" subtraction results in a very high u32 value. The out of bounds offset can result in memory corruption.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.15.11
- Published
- 2024-06-19
Affected versions
From: 5.15
Until: 5.15.11
Fixed in: 5.15.11
How to fix this CVE
Update your Linux kernel to version 5.15.11 or later to patch a critical memory corruption vulnerability in the vduse device driver. This flaw allows unprivileged local users to trigger out-of-bounds memory access through malformed ioctl requests. Immediate patching is recommended for systems running kernel 5.15.0 through 5.15.10 that have vduse enabled or loaded.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r (ensure it is not between 5.15.0 and 5.15.10)
- Step 2: Verify if vduse module is loaded: lsmod | grep vduse (if output is empty, component is not active)
- Step 3: Check system logs for ioctl errors related to vduse: grep -i 'vduse\|ioctl' /var/log/kern.log /var/log/messages 2>/dev/null | grep -i error
- Step 4: After patching, reboot and confirm fixed version: uname -r (should show 5.15.11 or later)
FAQ
What is CVE-2021-47605?
CVE-2021-47605 is a memory corruption vulnerability in the Linux kernel's vduse (Virtual Device User-Space Emulation) driver. An attacker with local user privileges can supply a malicious config offset value via ioctl that bypasses bounds validation, causing integer underflow and corrupting kernel memory.
Is CVE-2021-47605 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities (KEV) catalog, CVE-2021-47605 is not currently being actively exploited in the wild, and no public exploits have been released.
What versions of Kernel are affected by CVE-2021-47605?
Linux kernel versions 5.15.0 through 5.15.10 are vulnerable. The vulnerability was fixed in kernel version 5.15.11 and later.
How do I check if my server is vulnerable to CVE-2021-47605?
Run 'uname -r' to check your kernel version—if it shows 5.15.0 through 5.15.10, your system is vulnerable. Additionally, confirm vduse support with 'grep vduse /boot/config-$(uname -r)' (should show CONFIG_VDUSE=y or =m).
Does Defensia detect CVE-2021-47605?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2021-47605 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47605. Free for 1 server.
Get started free