Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2021-47548: ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()

Noroxi assessment

Priority: Monitor (action score 39/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.3% (FIRST EPSS); higher than 71.7% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: Linux Linux 22519eff7df2d88adcc2568d86046ce1e2b52803, 948968f8747650447c8f21c9fdba0e1973be040b, 99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6d.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 22519eff7df2d88adcc2568d86046ce1e2b52803, 948968f8747650447c8f21c9fdba0e1973be040b, 99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6d or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

CriticalCVSS 9.8 · v3.1—No exploit Fix available
Published
May 24, 2024
Updated
Jun 17, 2026
EPSS
1.3% · 71th percentile

Report tools

JSON

Action score

39

Monitor

Low priority for now.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.3%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-47548

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernelbefore 4.9.292
  • linux linux kernel4.10 and later · before 4.14.257
  • linux linux kernel4.15 and later · before 4.19.220
  • linux linux kernel4.20 and later · before 5.4.164
  • linux linux kernel5.5 and later · before 5.10.84
  • linux linux kernel5.11 and later · before 5.15.7
  • linux linux kernel5.16

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 4.7affected
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before 948968f8747650447c8f21c9fdba0e1973be040baffected · git
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before abbd5faa0748d0aa95d5191d56ff7a17a6275bd1affected · git
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before dd07f8971b81ad98cc754b179b331b57f35aa1ffaffected · git
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before 99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6daffected · git
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before 22519eff7df2d88adcc2568d86046ce1e2b52803affected · git
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before fc7ffa7f10b9454a86369405d9814bf141b30627affected · git
    • 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca and later · before a66998e0fbf213d47d02813b9679426129d0d114affected · git
    • before 4.7not affected · semver
    • 4.9.292 and later · up to and including 4.9.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-rtbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-corebefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debugbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-corebefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-develbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-kvmbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-modulesbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-modules-extrabefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-develbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2021-47546May 24, 2024 · ipv6: fix memory leak in fib6_rule_suppress
    22Monitor
  • ← EarlierCVE-2021-47547May 24, 2024 · net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
    17Monitor
  • Later →CVE-2021-47549May 24, 2024 · sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux22519eff7df2d88adcc2568d86046ce1e2b52803Vendor (CNA)
Linux Linux948968f8747650447c8f21c9fdba0e1973be040bVendor (CNA)
Linux Linux99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6dVendor (CNA)
Linux Linuxa66998e0fbf213d47d02813b9679426129d0d114Vendor (CNA)
Linux Linuxabbd5faa0748d0aa95d5191d56ff7a17a6275bd1Vendor (CNA)
Linux Linuxdd07f8971b81ad98cc754b179b331b57f35aa1ffVendor (CNA)
Linux Linuxfc7ffa7f10b9454a86369405d9814bf141b30627Vendor (CNA)
almalinux:bpftool7.3.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-core5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-core5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel-matched5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-core5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-extra5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-devel5.14.0-427.26.1.el9_4 · AlmaLinux:9Package registry (OSV)
debian:linux5.15.15-1 · Debian:12Package registry (OSV)
red hat:bpftool-debuginfo0:7.0.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-64k-devel0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-debug-devel0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstreamPackage registry (OSV)

+4

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2023-2008406 days apartKernel: udmabuf: improper validation of array index leading to local privilege escalation
    32Monitor
  • CVE-2023-527683 days apartwifi: wilc1000: use vmm_table as array in wilc struct
    31Monitor
  • CVE-2023-528053 days apartjfs: fix array-index-out-of-bounds in diAlloc
    31Monitor
  • CVE-2023-528073 days apartnet: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
    31Monitor
  • CVE-2023-528123 days apartdrm/amd: check num of link levels when update pcie param
    31Monitor
  • CVE-2023-528183 days apartdrm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
    31Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records