---
title: "CVE-2021-47459"
canonical_url: "https://pkgseek.com/security/CVE-2021-47459"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-47459

In the Linux kernel, the following vulnerability has been resolved: can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv It will trigger UAF for rx_kref of j1939_priv as following. cpu0 cpu1 j1939_sk_bind(socket0, ndev0, ...) j1939_netdev_start j1939_sk_bind(socket1, ndev0, ...) j1939_netdev_start j1939_priv_set j1939_priv_get_by_ndev_locked j1939_jsk_add ..... j1939_netdev_stop kref_put_lock(&priv-&gt;rx_kref, ...) kref_get(&priv-&gt;rx_kref, ...) REFCOUNT_WARN("addition on 0;...") ==================================================== refcount_t: addition on 0; use-after-free. WARNING…

CVE-2021-47459 严重级别为 MEDIUM，共索引 132 条受影响软件包构建记录，涉及 3 个发行版。

- **级别 / 评分**: MEDIUM
- **受影响构建数**: 132
- **涉及发行版**: 3
- **已标明修复版本发行版**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | bpftool | 7.3.0-427.26.1.el9_4 | 7.3.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-abi-stablelists | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-devel | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-devel-matched | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-modules | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-modules-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-modules-extra | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-debug-uki-virt | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-devel | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-devel-matched | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-doc | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-headers | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-modules | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-modules-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-modules-extra | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-tools | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-tools-libs | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | kernel-uki-virt | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | perf | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | python3-perf | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | rtla | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Oracle Linux | 9 | rv | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | bpftool | 7.3.0-427.26.1.el9_4 | 7.3.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-abi-stablelists | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel-matched | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-extra | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-uki-virt | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel-matched | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-doc | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-headers | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-core | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-extra | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools-libs | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | kernel-uki-virt | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | perf | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | python3-perf | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | rtla | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | rv | 5.14.0-427.26.1.el9_4 | 5.14.0-427.28.1.el9_4 |
| Ubuntu | focal | linux-aws-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-aws-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-azure-cloud-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-azure-headers-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-azure-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1051.53 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-buildinfo-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-cloud-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-cloud-tools-common | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-doc | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-gcp-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-gcp-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-headers-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-headers-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-headers-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1051.53 |
| Ubuntu | focal | linux-headers-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-headers-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-headers-5.4.0-26 | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-headers-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-headers-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-headers-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-image-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-image-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1051.53 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-image-unsigned-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-kvm-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1051.53 |
| Ubuntu | focal | linux-kvm-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1051.53 |
| Ubuntu | focal | linux-libc-dev | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-modules-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-modules-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-modules-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1051.53 |
| Ubuntu | focal | linux-modules-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1059.63 |
| Ubuntu | focal | linux-modules-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1065.68 |
| Ubuntu | focal | linux-modules-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-92.103 |
| Ubuntu | focal | linux-modules-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-92.103 |

_Showing 100 of 132 total affected builds._
