cve.bz

CVE-2021-47548 linux linux kernel: Improper Validation of Array Index

9.8 criticalEPSS 1.4%Fix available

Critical (9.8) in linux linux kernel. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port() The if statement: if (port >= DSAF_GE_NUM) return; limits the value of port less than DSAF_GE_NUM (i.e., 8). However, if the value of port is 6 or 7, an array overflow could occur: port_rst_off = dsaf_dev->mac_cb[port]->port_rst_off; because the length of dsaf_dev->mac_cb is DSAF_MAX_PORT_NUM (i.e., 6). To fix this possible array overflow, we first check port and if it is greater than or equal to DSAF_MAX_PORT_NUM, the function returns.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-06-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-47548 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-47548?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-47548?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-47548 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.7 and later

Fixed in

ProductRelease lineFixed in
Linux4.94.9.292
Linux4.144.14.257
Linux4.194.19.220
Linux5.45.4.164
Linux5.105.10.84
Linux5.155.15.7
Linuxlater releases5.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.15.15-1DEBIAN-CVE-2021-47548
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux4.15.0-169.177UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-aws4.15.0-1121.129UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1066.69~18.04.1UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1131.144UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1070.73~18.04.1UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1116.130UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1065.69~18.04.1UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-100.113~18.04.1UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1015.16~18.04.1UBUNTU-CVE-2021-47548
Ubuntu18.04:LTSlinux-kvm4.15.0-1107.109UBUNTU-CVE-2021-47548
31 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.16.1.el8_10RHSA-2024:5101
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.16.1.el8_10RHSA-2024:5101
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.16.1.rt7.357.el8_10RHSA-2024:5102
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.16.1.rt7.357.el8_10RHSA-2024:5102
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-427.26.1.el9_4RHSA-2024:4583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.3.0-427.26.1.el9_4RHSA-2024:4583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.3.0-427.26.1.el9_4RHSA-2024:4583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.26.1.el9_4RHSA-2024:4583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.26.1.el9_4RHSA-2024:4583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-427.26.1.el9_4RHSA-2024:4583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-427.26.1.el9_4RHSA-2024:4583
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.113.1.el8_6RHSA-2024:4902
10 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.219.1SUSE-SU-2024:2184-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_571-8.3.1SUSE-SU-2024:2184-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_161-150500.11.3.1SUSE-SU-2024:2008-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_151-150500.11.3.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.58.1SUSE-SU-2024:2008-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.68.1.150500.6.31.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-docs, kernel-syms, kernel-source and 1 more5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Module for Public Cloud 15 SP5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.57.1SUSE-SU-2024:2019-1
SUSELinux Enterprise Real Time 12 SP5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.12.14-10.188.1SUSE-SU-2024:1983-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5kernel-azure, kernel-syms-azure, kernel-source-azure4.12.14-16.188.1SUSE-SU-2024:1979-1
3 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.57.1SUSE-SU-2024:2019-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.68.1.150500.6.31.1SUSE-SU-2024:2190-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.58.1SUSE-SU-2024:2008-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-553.16.1.rt7.357.el8_10ALSA-2024:5102
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.16.1.el8_10ALSA-2024:5101
AlmaLinux9bpftool7.3.0-427.26.1.el9_4ALSA-2024:4583
AlmaLinux9rv, perf, rtla and 58 more5.14.0-427.26.1.el9_4ALSA-2024:4583
Rocky Linux8kernel0:4.18.0-553.16.1.el8_10RLSA-2024:5101
Rocky Linux8kernel0:4.18.0-553.16.1.el8_10.cloud.0.1RXSA-2024:5101
Rocky Linux8kernel-rt0:4.18.0-553.16.1.rt7.357.el8_10RLSA-2024:5102
Rocky Linux9kernel0:5.14.0-427.26.1.el9_4RLSA-2024:4583

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The affected kernel module is only provided for the aarch64 architecture. Other architectures (such as x86_64 and s390x) are not affected by this vulnerability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.16.1.rt7.357.el8_10Fixed 2024-08-08RHSA-2024:5102
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.16.1.el8_10Fixed 2024-08-08RHSA-2024:5101
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.113.1.el8_6Fixed 2024-07-29RHSA-2024:4902
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.113.1.el8_6Fixed 2024-07-29RHSA-2024:4902
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.113.1.el8_6Fixed 2024-07-29RHSA-2024:4902
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.64.1.el8_8Fixed 2024-07-23RHSA-2024:4740
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.26.1.el9_4Fixed 2024-07-17RHSA-2024:4583
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.73.1.el9_2Fixed 2024-07-15RHSA-2024:4533
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.73.1.rt14.358.el9_2Fixed 2024-07-15RHSA-2024:4554
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-47548.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON