Home/CVE/In the Linux kernel, the following vulnerability has been resolved: ethernet: hisilicon: hns: hns_dsaf_misc: fix a poss
CVE

CVE-2021-47548

In the Linux kernel, the following vulnerability has been resolved: ethernet: hisilicon: hns: hns_dsaf_misc: fix a poss

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.

CRITICAL · CVSS 9.8 EPSS 0.00069
Schedule remediation
  • SSVC automatable: yes - attacks can be scripted at scale
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2021-47548, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

ATT&CK techniques

1

Techniques this CVE enables - linked via CWECAPECATT&CK. High◆ = named directly in ATT&CK or Nuclei templates.

▤ Build a SIEM detection for these techniques

CAPEC attack patterns

1

Attack patterns this CVE enables - the bridge from weakness to ATT&CK technique.

Weakness Classification

Affected Products & Versions

7
linux kernel< 4.9.292
linux kernel>= 4.10 and < 4.14.257
linux kernel>= 4.15 and < 4.19.220
linux kernel>= 4.20 and < 5.4.164
linux kernel>= 5.5 and < 5.10.84
linux kernel>= 5.11 and < 5.15.7
linux kernelall versions

Affected Packages

40
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
Ubuntu:18.04:LTS linux fixed in 4.15.0-169.177
Ubuntu:18.04:LTS linux-aws fixed in 4.15.0-1121.129
Ubuntu:18.04:LTS linux-aws-5.4 fixed in 5.4.0-1066.69~18.04.1
Ubuntu:18.04:LTS linux-azure-4.15 fixed in 4.15.0-1131.144
Ubuntu:18.04:LTS linux-azure-5.4 fixed in 5.4.0-1070.73~18.04.1
Ubuntu:18.04:LTS linux-gcp-4.15 fixed in 4.15.0-1116.130
Ubuntu:18.04:LTS linux-gcp-5.4 fixed in 5.4.0-1065.69~18.04.1
Ubuntu:18.04:LTS linux-hwe-5.4 fixed in 5.4.0-100.113~18.04.1
Ubuntu:18.04:LTS linux-ibm-5.4 fixed in 5.4.0-1015.16~18.04.1
Ubuntu:18.04:LTS linux-kvm fixed in 4.15.0-1107.109
Ubuntu:18.04:LTS linux-oracle fixed in 4.15.0-1087.95
Ubuntu:18.04:LTS linux-oracle-5.4 fixed in 5.4.0-1064.68~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 fixed in 5.4.0-1053.60~18.04.1
Ubuntu:20.04:LTS linux fixed in 5.4.0-100.113
Ubuntu:20.04:LTS linux-aws fixed in 5.4.0-1066.69
Ubuntu:20.04:LTS linux-aws-5.11
Ubuntu:20.04:LTS linux-aws-5.13
Ubuntu:20.04:LTS linux-aws-5.15 fixed in 5.15.0-1014.18~20.04.1
Ubuntu:20.04:LTS linux-aws-5.8
Ubuntu:20.04:LTS linux-azure fixed in 5.4.0-1070.73
Ubuntu:20.04:LTS linux-azure-5.11
Ubuntu:20.04:LTS linux-azure-5.13
Ubuntu:20.04:LTS linux-azure-5.15 fixed in 5.15.0-1007.8~20.04.1
Ubuntu:20.04:LTS linux-azure-5.8
Ubuntu:20.04:LTS linux-azure-fde
Ubuntu:20.04:LTS linux-azure-fde-5.15 fixed in 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield fixed in 5.4.0-1028.31
Ubuntu:20.04:LTS linux-gcp fixed in 5.4.0-1065.69
Ubuntu:20.04:LTS linux-gcp-5.11
Ubuntu:20.04:LTS linux-gcp-5.13
Ubuntu:20.04:LTS linux-gcp-5.15 fixed in 5.15.0-1006.9~20.04.1
Ubuntu:20.04:LTS linux-gcp-5.8
Ubuntu:20.04:LTS linux-gke
Ubuntu:20.04:LTS linux-gke-5.15
Ubuntu:20.04:LTS linux-gkeop fixed in 5.4.0-1034.35
Ubuntu:20.04:LTS linux-gkeop-5.15 fixed in 5.15.0-1003.5~20.04.2
Ubuntu:20.04:LTS linux-hwe-5.11
Ubuntu:20.04:LTS linux-hwe-5.13
Ubuntu:20.04:LTS linux-hwe-5.15 fixed in 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-hwe-5.8
📦

Fixed versions by distribution

80
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
oracle allbpftool fixed in 0:7.3.0-427.26.1.el9_4
oracle allkernel fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-abi-stablelists open
oracle allkernel-core fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-cross-headers open
oracle allkernel-debug fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-debug-core open
oracle allkernel-debug-devel fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-debug-devel-matched fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-debug-modules fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-debug-modules-core open
oracle allkernel-debug-modules-extra open
oracle allkernel-debug-uki-virt open
oracle allkernel-devel fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-devel-matched fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-headers fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-modules fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-modules-core open
oracle allkernel-modules-extra open
oracle allkernel-tools fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-tools-libs fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-tools-libs-devel fixed in 0:5.14.0-427.26.1.el9_4
oracle allkernel-uki-virt open
oracle alllibperf open
oracle allperf open
oracle allpython3-perf fixed in 0:5.14.0-427.26.1.el9_4
oracle allrtla open
oracle allrv fixed in 0:5.14.0-427.26.1.el9_4
rhel 8bpftool fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel open
rhel 8kernel-abi-stablelists open
rhel 8kernel-core fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-debug open
rhel 8kernel-debug-core open
rhel 8kernel-debug-devel fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-debug-modules open
rhel 8kernel-debug-modules-extra open
rhel 8kernel-devel fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-modules open
rhel 8kernel-modules-extra open
rhel 8kernel-rt open
rhel 8kernel-rt-core open
rhel 8kernel-rt-debug fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-debug-core open
rhel 8kernel-rt-debug-devel fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-debug-kvm fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-debug-modules fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-debug-modules-extra open
rhel 8kernel-rt-devel fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-kvm fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-modules fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-rt-modules-extra fixed in 0:4.18.0-553.16.1.rt7.357.el8_10
rhel 8kernel-tools open
rhel 8kernel-tools-libs fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-tools-libs-devel fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-zfcpdump fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-zfcpdump-core fixed in 0:4.18.0-553.16.1.el8_10
rhel 8kernel-zfcpdump-devel open
rhel 8kernel-zfcpdump-modules open
rhel 8kernel-zfcpdump-modules-extra open
rhel 8perf open
rhel 8python3-perf fixed in 0:4.18.0-553.16.1.el8_10
rhel 9bpftool fixed in 0:7.3.0-427.26.1.el9_4
rhel 9kernel open
rhel 9kernel-64k fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-64k-core open
rhel 9kernel-64k-debug open
rhel 9kernel-64k-debug-core open
rhel 9kernel-64k-debug-devel fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-64k-debug-devel-matched fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-64k-debug-modules fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-64k-debug-modules-core open
rhel 9kernel-64k-debug-modules-extra open
rhel 9kernel-64k-devel fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-64k-devel-matched open
rhel 9kernel-64k-modules open
rhel 9kernel-64k-modules-core fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-64k-modules-extra open
rhel 9kernel-abi-stablelists fixed in 0:5.14.0-427.26.1.el9_4
rhel 9kernel-core open

Scoring & Timeline

9.8
CRITICAL · CVSS v3.1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD24 May 2024 · 03:15 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
yes
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.

Vendor Advisories

13
rhsaRHSA-2024:5102Moderate
suse-csafSUSE-SU-2024:2190-1
suse-csafSUSE-SU-2024:2184-1
SOC and Response
CVE triage
Stack monitoring
Am I affected
IOC triage
KEV catalog
Daily brief
Change tracking
Detection Engineering
Coverage workspace
Detection coverage
Coverage check
Telemetry ceiling
SIEM query builder
Sigma rules
SIEM rules
YARA rules
Network rules
D3FEND
Threat Hunting
Threat actors
ATT&CK techniques
Attack paths
Indicators
Atomic tests
Red Team and Pentest
Exploitability triage
Recon pack
Attack paths
CAPEC patterns
Adversary emulation
Compliance and GRC
Framework mapping
Control assessment
Audit view
Coverage report
Atlas Search Threat actors Techniques Tools & malware CWE CAPEC KEV catalog Package vulns TAXII feed Data sources
About All capabilities Pricing API docs Live status Privacy policy Terms of service
threatengine.sh