CVE-2021-47142
published 2024-03-25CVE-2021-47142: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix a use-after-free looks like we forget to set ttm->sg to NULL. Hit panic…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
15.6th percentile
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix a use-after-free
looks like we forget to set ttm->sg to NULL.
Hit panic below
[ 1235.844104] general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b7b4b: 0000 [#1] SMP DEBUG_PAGEALLOC NOPTI
[ 1235.989074] Call Trace:
[ 1235.991751] sg_free_table+0x17/0x20
[ 1235.995667] amdgpu_ttm_backend_unbind.cold+0x4d/0xf7 [amdgpu]
[ 1236.002288] amdgpu_ttm_backend_destroy+0x29/0x130 [amdgpu]
[ 1236.008464] ttm_tt_destroy+0x1e/0x30 [ttm]
[ 1236.013066] ttm_bo_cleanup_memtype_use+0x51/0xa0 [ttm]
[ 1236.018783] ttm_bo_release+0x262/0xa50 [ttm]
[ 1236.023547] ttm_bo_put+0x82/0xd0 [ttm]
[ 1236.027766] amdgpu_bo_unref+0x26/0x50 [amdgpu]
[ 1236.032809] amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu+0x7aa/0xd90 [amdgpu]
[ 1236.040400] kfd_ioctl_alloc_memory_of_gpu+0xe2/0x330 [amdgpu]
[ 1236.046912] kfd_ioctl+0x463/0x690 [amdgpu]
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.14.6-1 (bookworm) | linux 5.14.6-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 0707c3fea8102d211631ba515ef2159707561b0d | 0707c3fea8102d211631ba515ef2159707561b0d |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 3293cf3513d69f00c14d43e2020826d45ea0e46a | 3293cf3513d69f00c14d43e2020826d45ea0e46a |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 952ab3f9f48eb0e8050596d41951cf516be6b122 | 952ab3f9f48eb0e8050596d41951cf516be6b122 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < a849e218556f932576c0fb1c5a88714b61709a17 | a849e218556f932576c0fb1c5a88714b61709a17 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 7398c2aab4da960761ec182d04d6d5abbb4a226e | 7398c2aab4da960761ec182d04d6d5abbb4a226e |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < f98cdf084405333ee2f5be548a91b2d168e49276 | f98cdf084405333ee2f5be548a91b2d168e49276 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < d4ea141fd4b40636a8326df5a377d9c5cf9b3faa | d4ea141fd4b40636a8326df5a377d9c5cf9b3faa |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 1e5c37385097c35911b0f8a0c67ffd10ee1af9a2 | 1e5c37385097c35911b0f8a0c67ffd10ee1af9a2 |
| linux | linux_kernel | < 4.4.271 | 4.4.271 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.46-1 | 5.10.46-1 |
| linux | linux_kernel | >= 0 < 5.14.6-1 | 5.14.6-1 |
| linux | linux_kernel | >= 0 < 5.14.6-1 | 5.14.6-1 |
| linux | linux_kernel | >= 0 < 5.14.6-1 | 5.14.6-1 |
| linux | linux_kernel | >= 0 < 4.4.0-279.313 | 4.4.0-279.313 |
| linux | linux_kernel | >= 4.14.0 < 4.14.235 | 4.14.235 |
| linux | linux_kernel | >= 4.19.0 < 4.19.193 | 4.19.193 |
| linux | linux_kernel | >= 4.9.0 < 4.9.271 | 4.9.271 |
| linux | linux_kernel | >= 5.10.0 < 5.10.42 | 5.10.42 |
| linux | linux_kernel | >= 5.12.0 < 5.12.9 | 5.12.9 |
| linux | linux_kernel | >= 5.4.0 < 5.4.124 | 5.4.124 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Linux Kernel up to 5.12.8 amdgpu use after free (Nessus ID 276342 / WID-SEC-2024-0699)
vuldb·2026-08-05·CVSS 5.5
CVE-2021-47142 [MEDIUM] Linux Kernel up to 5.12.8 amdgpu use after free (Nessus ID 276342 / WID-SEC-2024-0699)
A vulnerability classified as critical was found in Linux Kernel up to 5.12.8. The affected element is an unknown function of the component amdgpu. Executing a manipulation can lead to use after free.
The identification of this vulnerability is CVE-2021-47142. The attack needs to be done within the local network. There is no exploit available.
Upgrading the affected component is advised.
OSV
linux-fips vulnerabilities
osv·2026-04-02·CVSS 5.5
CVE-2021-47142 [MEDIUM] linux-fips vulnerabilities
linux-fips vulnerabilities
Several security issues were discovered in the Linux kernel.
An attacker could possibly use these to compromise the system.
This update corrects flaws in the following subsystems:
- Cryptographic API;
- GPU drivers;
- BTRFS file system;
- GFS2 file system;
- UDF file system;
- NFC subsystem;
- Network traffic control;
(CVE-2021-47142, CVE-2021-47145, CVE-2021-47254, CVE-2024-46777,
CVE-2025-21735, CVE-2026-23060, CVE-2026-23074)
OSV
linux, linux-aws, linux-kvm, linux-lts-xenial vulnerabilities
osv·2026-04-01·CVSS 5.5
CVE-2021-47142 [MEDIUM] linux, linux-aws, linux-kvm, linux-lts-xenial vulnerabilities
linux, linux-aws, linux-kvm, linux-lts-xenial vulnerabilities
Several security issues were discovered in the Linux kernel.
An attacker could possibly use these to compromise the system.
This update corrects flaws in the following subsystems:
- Cryptographic API;
- GPU drivers;
- BTRFS file system;
- GFS2 file system;
- UDF file system;
- NFC subsystem;
- Network traffic control;
(CVE-2021-47142, CVE-2021-47145, CVE-2021-47254, CVE-2024-46777,
CVE-2025-21735, CVE-2026-23060, CVE-2026-23074)
GHSA
GHSA-rfwv-p62g-fm8q: In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix a use-after-free
looks like we forget to set ttm->sg to NULL
ghsa_unreviewed·2024-03-25
CVE-2021-47142 [MEDIUM] CWE-416 GHSA-rfwv-p62g-fm8q: In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix a use-after-free
looks like we forget to set ttm->sg to NULL
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix a use-after-free
looks like we forget to set ttm->sg to NULL.
Hit panic below
[ 1235.844104] general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b7b4b: 0000 [#1] SMP DEBUG_PAGEALLOC NOPTI
[ 1235.989074] Call Trace:
[ 1235.991751] sg_free_table+0x17/0x20
[ 1235.995667] amdgpu_ttm_backend_unbind.cold+0x4d/0xf7 [amdgpu]
[ 1236.002288] amdgpu_ttm_backend_destroy+0x29/0x130 [amdgpu]
[ 1236.008464] ttm_tt_destroy+0x1e/0x30 [ttm]
[ 1236.013066] ttm_bo_cleanup_memtype_use+0x51/0xa0 [ttm]
[ 1236.018783] ttm_bo_release+0x262/0xa50 [ttm]
[ 1236.023547] ttm_bo_put+0x82/0xd0 [ttm]
[ 1236.027766] amdgpu_bo_unref+0x26/0x50 [amdgpu]
[ 1236.032809] amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu+0x7aa/0xd90
OSV
CVE-2021-47142: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix a use-after-free looks like we forget to set ttm->sg to NULL
osv·2024-03-25·CVSS 5.5
CVE-2021-47142 [MEDIUM] CVE-2021-47142: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix a use-after-free looks like we forget to set ttm->sg to NULL
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix a use-after-free looks like we forget to set ttm->sg to NULL. Hit panic below [ 1235.844104] general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b7b4b: 0000 [#1] SMP DEBUG_PAGEALLOC NOPTI [ 1235.989074] Call Trace: [ 1235.991751] sg_free_table+0x17/0x20 [ 1235.995667] amdgpu_ttm_backend_unbind.cold+0x4d/0xf7 [amdgpu] [ 1236.002288] amdgpu_ttm_backend_destroy+0x29/0x130 [amdgpu] [ 1236.008464] ttm_tt_destroy+0x1e/0x30 [ttm] [ 1236.013066] ttm_bo_cleanup_memtype_use+0x51/0xa0 [ttm] [ 1236.018783] ttm_bo_release+0x262/0xa50 [ttm] [ 1236.023547] ttm_bo_put+0x82/0xd0 [ttm] [ 1236.027766] amdgpu_bo_unref+0x26/0x50 [amdgpu] [ 1236.032809] amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu+0x7aa/0xd90 [a
Ubuntu
Linux kernel (FIPS) vulnerabilities
vendor_ubuntu·2026-04-02·CVSS 5.5
CVE-2025-21735 [MEDIUM] Linux kernel (FIPS) vulnerabilities
Title: Linux kernel (FIPS) vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
Several security issues were discovered in the Linux kernel.
An attacker could possibly use these to compromise the system.
This update corrects flaws in the following subsystems:
- Cryptographic API;
- GPU drivers;
- BTRFS file system;
- GFS2 file system;
- UDF file system;
- NFC subsystem;
- Network traffic control;
(CVE-2021-47142, CVE-2021-47145, CVE-2021-47254, CVE-2024-46777,
CVE-2025-21735, CVE-2026-23060, CVE-2026-23074)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, which requires you to recompile and
reins
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2026-04-01·CVSS 5.5
CVE-2026-23060 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
Several security issues were discovered in the Linux kernel.
An attacker could possibly use these to compromise the system.
This update corrects flaws in the following subsystems:
- Cryptographic API;
- GPU drivers;
- BTRFS file system;
- GFS2 file system;
- UDF file system;
- NFC subsystem;
- Network traffic control;
(CVE-2021-47142, CVE-2021-47145, CVE-2021-47254, CVE-2024-46777,
CVE-2025-21735, CVE-2026-23060, CVE-2026-23074)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, which requires you to recompile and
reinstall al
Red Hat
kernel: drm/amdgpu: Fix a use-after-free
vendor_redhat·2024-03-25·CVSS 5.5
CVE-2021-47142 [MEDIUM] CWE-416 kernel: drm/amdgpu: Fix a use-after-free
kernel: drm/amdgpu: Fix a use-after-free
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix a use-after-free
looks like we forget to set ttm->sg to NULL.
Hit panic below
[ 1235.844104] general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b7b4b: 0000 [#1] SMP DEBUG_PAGEALLOC NOPTI
[ 1235.989074] Call Trace:
[ 1235.991751] sg_free_table+0x17/0x20
[ 1235.995667] amdgpu_ttm_backend_unbind.cold+0x4d/0xf7 [amdgpu]
[ 1236.002288] amdgpu_ttm_backend_destroy+0x29/0x130 [amdgpu]
[ 1236.008464] ttm_tt_destroy+0x1e/0x30 [ttm]
[ 1236.013066] ttm_bo_cleanup_memtype_use+0x51/0xa0 [ttm]
[ 1236.018783] ttm_bo_release+0x262/0xa50 [ttm]
[ 1236.023547] ttm_bo_put+0x82/0xd0 [ttm]
[ 1236.027766] amdgpu_bo_unref+0x26/0x50 [amdgpu]
[ 1236.032809] amdgpu_amdkf
Debian
CVE-2021-47142: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu:...
vendor_debian·2021·CVSS 5.5
CVE-2021-47142 [MEDIUM] CVE-2021-47142: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu:...
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix a use-after-free looks like we forget to set ttm->sg to NULL. Hit panic below [ 1235.844104] general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b7b4b: 0000 [#1] SMP DEBUG_PAGEALLOC NOPTI [ 1235.989074] Call Trace: [ 1235.991751] sg_free_table+0x17/0x20 [ 1235.995667] amdgpu_ttm_backend_unbind.cold+0x4d/0xf7 [amdgpu] [ 1236.002288] amdgpu_ttm_backend_destroy+0x29/0x130 [amdgpu] [ 1236.008464] ttm_tt_destroy+0x1e/0x30 [ttm] [ 1236.013066] ttm_bo_cleanup_memtype_use+0x51/0xa0 [ttm] [ 1236.018783] ttm_bo_release+0x262/0xa50 [ttm] [ 1236.023547] ttm_bo_put+0x82/0xd0 [ttm] [ 1236.027766] amdgpu_bo_unref+0x26/0x50 [amdgpu] [ 1236.032809] amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu+0x7aa/0xd90 [a
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/0707c3fea8102d211631ba515ef2159707561b0dhttps://git.kernel.org/stable/c/1e5c37385097c35911b0f8a0c67ffd10ee1af9a2https://git.kernel.org/stable/c/3293cf3513d69f00c14d43e2020826d45ea0e46ahttps://git.kernel.org/stable/c/7398c2aab4da960761ec182d04d6d5abbb4a226ehttps://git.kernel.org/stable/c/952ab3f9f48eb0e8050596d41951cf516be6b122https://git.kernel.org/stable/c/a849e218556f932576c0fb1c5a88714b61709a17https://git.kernel.org/stable/c/d4ea141fd4b40636a8326df5a377d9c5cf9b3faahttps://git.kernel.org/stable/c/f98cdf084405333ee2f5be548a91b2d168e49276https://git.kernel.org/stable/c/0707c3fea8102d211631ba515ef2159707561b0dhttps://git.kernel.org/stable/c/1e5c37385097c35911b0f8a0c67ffd10ee1af9a2https://git.kernel.org/stable/c/3293cf3513d69f00c14d43e2020826d45ea0e46ahttps://git.kernel.org/stable/c/7398c2aab4da960761ec182d04d6d5abbb4a226ehttps://git.kernel.org/stable/c/952ab3f9f48eb0e8050596d41951cf516be6b122https://git.kernel.org/stable/c/a849e218556f932576c0fb1c5a88714b61709a17https://git.kernel.org/stable/c/d4ea141fd4b40636a8326df5a377d9c5cf9b3faahttps://git.kernel.org/stable/c/f98cdf084405333ee2f5be548a91b2d168e49276
2024-03-25
Published