# CVE-2024-26881: net: hns3: fix kernel crash when 1588 is received on HIP08 devices

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.95% (percentile 60, 2026-11-29)
- **CWE:** CWE-476
- **Published:** 2024-04-17T10:27:37.744Z
- **Modified:** 2026-08-05T11:28:06.279Z

## Who should check

- Anyone running Linux \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 23ec1cec24293f9799c725941677d4e167997265; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< b3cf70472a600bcb2efe24906bc9bc6014d4c6f6; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< f0b5225a7dfc1bf53c98215db8c2f0b4efd3f108; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< b2bb19114c079dcfec1ea46e761f510e30505e70; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 11b998360d96f6c76f04a95f54b49f24d3c858e4; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3
- Anyone running Linux 5.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: hns3: fix kernel crash when 1588 is received on HIP08 devices

The HIP08 devices does not register the ptp devices, so the
hdev-\>ptp is NULL, but the hardware can receive 1588 messages,
and set the HNS3\_RXD\_TS\_VLD\_B bit, so, if match this case, the
access of hdev-\>ptp-\>flags will cause a kernel crash:

\[ 5888.946472\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000018
\[ 5888.946475\] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000018
...
\[ 5889.266118\] pc : hclge\_ptp\_get\_rx\_hwts+0x40/0x170 \[hclge\]
\[ 5889.272612\] lr : hclge\_ptp\_get\_rx\_hwts+0x34/0x170 \[hclge\]
\[ 5889.279101\] sp : ffff800012c3bc50
\[ 5889.283516\] x29: ffff800012c3bc50 x28: ffff2040002be040
\[ 5889.289927\] x27: ffff800009116484 x26: 0000000080007500
\[ 5889.296333\] x25: 0000000000000000 x24: ffff204001c6f000
\[ 5889.302738\] x23: ffff204144f53c00 x22: 0000000000000000
\[ 5889.309134\] x21: 0000000000000000 x20: ffff204004220080
\[ 5889.315520\] x19: ffff204144f53c00 x18: 0000000000000000
\[ 5889.321897\] x17: 0000000000000000 x16: 0000000000000000
\[ 5889.328263\] x15: 0000004000140ec8 x14: 0000000000000000
\[ 5889.334617\] x13: 0000000000000000 x12: 00000000010011df
\[ 5889.340965\] x11: bbfeff4d22000000 x10: 0000000000000000
\[ 5889.347303\] x9 : ffff800009402124 x8 : 0200f78811dfbb4d
\[ 5889.353637\] x7 : 2200000000191b01 x6 : ffff208002a7d480
\[ 5889.359959\] x5 : 0000000000000000 x4 : 0000000000000000
\[ 5889.366271\] x3 : 0000000000000000 x2 : 0000000000000000
\[ 5889.372567\] x1 : 0000000000000000 x0 : ffff20400095c080
\[ 5889.378857\] Call trace:
\[ 5889.382285\] hclge\_ptp\_get\_rx\_hwts+0x40/0x170 \[hclge\]
\[ 5889.388304\] hns3\_handle\_bdinfo+0x324/0x410 \[hns3\]
\[ 5889.394055\] hns3\_handle\_rx\_bd+0x60/0x150 \[hns3\]
\[ 5889.399624\] hns3\_clean\_rx\_ring+0x84/0x170 \[hns3\]
\[ 5889.405270\] hns3\_nic\_common\_poll+0xa8/0x220 \[hns3\]
\[ 5889.411084\] napi\_poll+0xcc/0x264
\[ 5889.415329\] net\_rx\_action+0xd4/0x21c
\[ 5889.419911\] \_\_do\_softirq+0x130/0x358
\[ 5889.424484\] irq\_exit+0x134/0x154
\[ 5889.428700\] \_\_handle\_domain\_irq+0x88/0xf0
\[ 5889.433684\] gic\_handle\_irq+0x78/0x2c0
\[ 5889.438319\] el1\_irq+0xb8/0x140
\[ 5889.442354\] arch\_cpu\_idle+0x18/0x40
\[ 5889.446816\] default\_idle\_call+0x5c/0x1c0
\[ 5889.451714\] cpuidle\_idle\_call+0x174/0x1b0
\[ 5889.456692\] do\_idle+0xc8/0x160
\[ 5889.460717\] cpu\_startup\_entry+0x30/0xfc
\[ 5889.465523\] secondary\_start\_kernel+0x158/0x1ec
\[ 5889.470936\] Code: 97ffab78 f9411c14 91408294 f9457284 (f9400c80)
\[ 5889.477950\] SMP: stopping secondary CPUs
\[ 5890.514626\] SMP: failed to stop secondary CPUs 0-69,71-95
\[ 5890.522951\] Starting crashdump kernel...

## Affected and fixed versions

- Linux: \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 23ec1cec24293f9799c725941677d4e167997265; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< b3cf70472a600bcb2efe24906bc9bc6014d4c6f6; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< f0b5225a7dfc1bf53c98215db8c2f0b4efd3f108; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< b2bb19114c079dcfec1ea46e761f510e30505e70; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 11b998360d96f6c76f04a95f54b49f24d3c858e4; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26881. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26881.md
Affected: Linux >= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, < 23ec1cec24293f9799c725941677d4e167997265; >= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, < b3cf70472a600bcb2efe24906bc9bc6014d4c6f6; >= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, < f0b5225a7dfc1bf53c98215db8c2f0b4efd3f108; >= 0bf5eb788512187b744ef7f…
Fixed in: Linux 23ec1cec24293f9799c725941677d4e167997265, Linux 11b998360d96f6c76f04a95f54b49f24d3c858e4, Linux 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26881 being exploited?

There is no confirmed exploitation: CVE-2024-26881 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2024-26881?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-26881?

Linux \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 23ec1cec24293f9799c725941677d4e167997265; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< b3cf70472a600bcb2efe24906bc9bc6014d4c6f6; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< f0b5225a7dfc1bf53c98215db8c2f0b4efd3f108; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< b2bb19114c079dcfec1ea46e761f510e30505e70; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 11b998360d96f6c76f04a95f54b49f24d3c858e4; \>= 0bf5eb788512187b744ef7f79de835e6cbe85b9c, \< 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3; Linux 5.14.

### Is there a fix for CVE-2024-26881?

Yes. Fixed in Linux 23ec1cec24293f9799c725941677d4e167997265, Linux 11b998360d96f6c76f04a95f54b49f24d3c858e4, Linux 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3. Upgrade Linux to 0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3 or later.

### How do I check if I'm affected by CVE-2024-26881?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/23ec1cec24293f9799c725941677d4e167997265>
- patch: <https://git.kernel.org/stable/c/b3cf70472a600bcb2efe24906bc9bc6014d4c6f6>
- patch: <https://git.kernel.org/stable/c/f0b5225a7dfc1bf53c98215db8c2f0b4efd3f108>
- patch: <https://git.kernel.org/stable/c/b2bb19114c079dcfec1ea46e761f510e30505e70>
- patch: <https://git.kernel.org/stable/c/11b998360d96f6c76f04a95f54b49f24d3c858e4>
- patch: <https://git.kernel.org/stable/c/0fbcf2366ba9888cf02eda23e35fde7f7fcc07c3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26881>

HTML: <https://flawdb.com/CVE-2024-26881> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26881>
