CVE-2021-47354·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/sched: Avoid data corruptions Wait for all dependencies of a job to complete before killing it to avoid data corruptions.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 5.13.3
- Published
- 2024-05-21
Affected versions
From: 5.13
Until: 5.13.3
Fixed in: 5.13.3
How to fix this CVE
CVE-2021-47354 is a critical kernel vulnerability affecting the DRM scheduler that can cause data corruption when jobs are terminated prematurely without waiting for their dependencies to complete. Upgrade your Linux kernel to version 5.13.3 or later to resolve this issue. Apply the fix immediately to systems running affected kernel versions 5.13 through 5.13.2, particularly those using GPU drivers that rely on the DRM scheduling subsystem.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — verify if version is between 5.13.0 and 5.13.2 (vulnerable range)
- Verify DRM scheduler is in use: grep -i 'CONFIG_DRM_SCHED' /boot/config-$(uname -r) — look for 'y' or 'm' indicating the module is enabled
- Monitor kernel logs for GPU/DRM scheduler warnings: journalctl -k -g 'drm\|sched' -n 50 | grep -i 'error\|corrupt' — signs of job termination issues
- After patching, confirm kernel version: uname -r — should show 5.13.3 or newer (e.g., 5.13.3, 5.14.0, etc.)
FAQ
What is CVE-2021-47354?
CVE-2021-47354 is a critical kernel flaw in the DRM (Direct Rendering Manager) scheduler component that allows data corruption when GPU jobs are forcefully terminated before their dependencies finish executing. This affects systems with GPU drivers that depend on the kernel's scheduling infrastructure.
Is CVE-2021-47354 being actively exploited?
No, CVE-2021-47354 is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, the critical CVSS score of 9.1 warrants immediate patching.
What versions of Kernel are affected by CVE-2021-47354?
Linux kernel versions 5.13.0 through 5.13.2 are vulnerable. The fix was included starting with kernel 5.13.3. Users on kernel 5.12 or earlier, or 5.14 and later, are unaffected.
How do I check if my server is vulnerable to CVE-2021-47354?
Run `uname -r` to display your kernel version. If the output shows 5.13.0, 5.13.1, or 5.13.2, your system is vulnerable. Also verify DRM scheduler is enabled with `grep CONFIG_DRM_SCHED /boot/config-$(uname -r)`.
Does Defensia detect CVE-2021-47354?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2021-47354 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0687411e2a8858262de2fc4a1d576016fd77292e
- https://git.kernel.org/stable/c/0b10ab80695d61422337ede6ff496552d8ace99d
- https://git.kernel.org/stable/c/50d7e03ad487cc45fc85164a299b945a41756ac0
- https://git.kernel.org/stable/c/a8e23e3c1ff9ec598ab1b3a941ace6045027781f
- https://git.kernel.org/stable/c/c32d0f0e164ffab2a56c7cf8e612584b4b740e2e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47354. Free for 1 server.
Get started free