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.
- Published
- May 24, 2024
- Updated
- Jun 17, 2026
- EPSS
- 1.3% · 71th percentile
- CWE
- CWE-129
Report tools
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.
Running WordPress? Scan your site free with WP Lens
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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-core | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-553.16.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-kvm | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.16.1.rt7.357.el8_10 | 4.18.0-553.16.1.rt7.357.el8_10 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- 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 KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2021-47546May 24, 2024 · ipv6: fix memory leak in fib6_rule_suppress22Monitor
- ← EarlierCVE-2021-47547May 24, 2024 · net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound17Monitor
- Later →CVE-2021-47549May 24, 2024 · sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 22519eff7df2d88adcc2568d86046ce1e2b52803 | Vendor (CNA) |
| Linux Linux | 948968f8747650447c8f21c9fdba0e1973be040b | Vendor (CNA) |
| Linux Linux | 99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6d | Vendor (CNA) |
| Linux Linux | a66998e0fbf213d47d02813b9679426129d0d114 | Vendor (CNA) |
| Linux Linux | abbd5faa0748d0aa95d5191d56ff7a17a6275bd1 | Vendor (CNA) |
| Linux Linux | dd07f8971b81ad98cc754b179b331b57f35aa1ff | Vendor (CNA) |
| Linux Linux | fc7ffa7f10b9454a86369405d9814bf141b30627 | Vendor (CNA) |
| almalinux:bpftool | 7.3.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-core | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-427.26.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| debian:linux | 5.15.15-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.0.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-284.73.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Package 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.
Credits
All researchersFinders, 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 escalation32Monitor
- CVE-2023-527683 days apartwifi: wilc1000: use vmm_table as array in wilc struct31Monitor
- CVE-2023-528053 days apartjfs: fix array-index-out-of-bounds in diAlloc31Monitor
- CVE-2023-528073 days apartnet: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs31Monitor
- CVE-2023-528123 days apartdrm/amd: check num of link levels when update pcie param31Monitor
- CVE-2023-528183 days apartdrm/amd: Fix UBSAN array-index-out-of-bounds for SMU731Monitor
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.
- TR-24-0551 · May 27, 2024(Linux Kernel Güncellemesi)
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
Weakness class (CWE)
CWE-129 · Improper Validation of Array IndexCVSS 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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/948968f8747650447c8f21c9fdba0e1973be040b
- git.kernel.org/stable/c/99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6d
- git.kernel.org/stable/c/a66998e0fbf213d47d02813b9679426129d0d114
- git.kernel.org/stable/c/abbd5faa0748d0aa95d5191d56ff7a17a6275bd1
- git.kernel.org/stable/c/dd07f8971b81ad98cc754b179b331b57f35aa1ff
- git.kernel.org/stable/c/fc7ffa7f10b9454a86369405d9814bf141b30627
Vendor advisories and official records. Exploit/PoC links are deliberately left out.