# CVE-2024-26859: net/bnx2x: Prevent access to a freed page in page\_pool

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-04-17T10:27:23.709Z
- **Modified:** 2026-10-15T01:17:26.223Z

## Who should check

- Anyone running Linux \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 7bcc090c81116c66936a7415f2c6b1483a4bcfd9; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 4f37d3a7e004bbf560c21441ca9c022168017ec4; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 8eebff95ce9558be66a36aa7cfb43223f3ab4699; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 8ffcd3ccdbda0c918c4a0f922ef1c17010f1b598; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< cf7d8cba639ae792a42c2a137b495eac262ac36c; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 3a9f78b297e08ca8e88ae3ecff1f6fe2766dc5eb; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< c51f8b6930db3f259b8820b589f2459d2df3fc68; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 44f9f1abb0ecc43023225ab9539167facbabf0ec; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< d27e2da94a42655861ca4baea30c8cd65546f25d
- Anyone running Linux 4.2

## Description

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

net/bnx2x: Prevent access to a freed page in page\_pool

Fix race condition leading to system crash during EEH error handling

During EEH error recovery, the bnx2x driver's transmit timeout logic
could cause a race condition when handling reset tasks. The
bnx2x\_tx\_timeout() schedules reset tasks via bnx2x\_sp\_rtnl\_task(),
which ultimately leads to bnx2x\_nic\_unload(). In bnx2x\_nic\_unload()
SGEs are freed using bnx2x\_free\_rx\_sge\_range(). However, this could
overlap with the EEH driver's attempt to reset the device using
bnx2x\_io\_slot\_reset(), which also tries to free SGEs. This race
condition can result in system crashes due to accessing freed memory
locations in bnx2x\_free\_rx\_sge()

799  static inline void bnx2x\_free\_rx\_sge(struct bnx2x \*bp,
800				struct bnx2x\_fastpath \*fp, u16 index)
801  {
802	struct sw\_rx\_page \*sw\_buf = &fp-\>rx\_page\_ring\[index\];
803     struct page \*page = sw\_buf-\>page;
....
where sw\_buf was set to NULL after the call to dma\_unmap\_page()
by the preceding thread.

    EEH: Beginning: 'slot\_reset'
    PCI 0011:01:00.0\#10000: EEH: Invoking bnx2x-\>slot\_reset()
    bnx2x: \[bnx2x\_io\_slot\_reset:14228(eth1)\]IO slot reset initializing...
    bnx2x 0011:01:00.0: enabling device (0140 -\> 0142)
    bnx2x: \[bnx2x\_io\_slot\_reset:14244(eth1)\]IO slot reset --\> driver unload
    Kernel attempted to read user page (0) - exploit attempt? (uid: 0)
    BUG: Kernel NULL pointer dereference on read at 0x00000000
    Faulting instruction address: 0xc0080000025065fc
    Oops: Kernel access of bad area, sig: 11 \[\#1\]
    .....
    Call Trace:
    \[c000000003c67a20\] \[c00800000250658c\] bnx2x\_io\_slot\_reset+0x204/0x610 \[bnx2x\] (unreliable)
    \[c000000003c67af0\] \[c0000000000518a8\] eeh\_report\_reset+0xb8/0xf0
    \[c000000003c67b60\] \[c000000000052130\] eeh\_pe\_report+0x180/0x550
    \[c000000003c67c70\] \[c00000000005318c\] eeh\_handle\_normal\_event+0x84c/0xa60
    \[c000000003c67d50\] \[c000000000053a84\] eeh\_event\_handler+0xf4/0x170
    \[c000000003c67da0\] \[c000000000194c58\] kthread+0x1c8/0x1d0
    \[c000000003c67e10\] \[c00000000000cf64\] ret\_from\_kernel\_thread+0x5c/0x64

To solve this issue, we need to verify page pool allocations before
freeing.

## Affected and fixed versions

- Linux: \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 7bcc090c81116c66936a7415f2c6b1483a4bcfd9; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 4f37d3a7e004bbf560c21441ca9c022168017ec4; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 8eebff95ce9558be66a36aa7cfb43223f3ab4699; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 8ffcd3ccdbda0c918c4a0f922ef1c17010f1b598; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< cf7d8cba639ae792a42c2a137b495eac262ac36c; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 3a9f78b297e08ca8e88ae3ecff1f6fe2766dc5eb; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< c51f8b6930db3f259b8820b589f2459d2df3fc68; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 44f9f1abb0ecc43023225ab9539167facbabf0ec; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< d27e2da94a42655861ca4baea30c8cd65546f25d (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26859.md
Affected: Linux >= 4cace675d687ebd2d813e90af80ff87ee85202f9, < 7bcc090c81116c66936a7415f2c6b1483a4bcfd9; >= 4cace675d687ebd2d813e90af80ff87ee85202f9, < 4f37d3a7e004bbf560c21441ca9c022168017ec4; >= 4cace675d687ebd2d813e90af80ff87ee85202f9, < 8eebff95ce9558be66a36aa7cfb43223f3ab4699; >= 4cace675d687ebd2d813e90…
Fixed in: Linux 7bcc090c81116c66936a7415f2c6b1483a4bcfd9, Linux 4f37d3a7e004bbf560c21441ca9c022168017ec4, Linux 8eebff95ce9558be66a36aa7cfb43223f3ab4699, Linux 8ffcd3ccdbda0c918c4a0f922ef1c17010f1b598, Linux 3a9f78b297e08ca8e88ae3ecff1f6fe2766dc5eb, Linux 44f9f1abb0ecc43023225ab9539167facbabf0ec

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-26859 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 7bcc090c81116c66936a7415f2c6b1483a4bcfd9; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 4f37d3a7e004bbf560c21441ca9c022168017ec4; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 8eebff95ce9558be66a36aa7cfb43223f3ab4699; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 8ffcd3ccdbda0c918c4a0f922ef1c17010f1b598; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< cf7d8cba639ae792a42c2a137b495eac262ac36c; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 3a9f78b297e08ca8e88ae3ecff1f6fe2766dc5eb; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< c51f8b6930db3f259b8820b589f2459d2df3fc68; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< 44f9f1abb0ecc43023225ab9539167facbabf0ec; \>= 4cace675d687ebd2d813e90af80ff87ee85202f9, \< d27e2da94a42655861ca4baea30c8cd65546f25d; Linux 4.2.

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

Yes. Fixed in Linux 7bcc090c81116c66936a7415f2c6b1483a4bcfd9, Linux 4f37d3a7e004bbf560c21441ca9c022168017ec4, Linux 8eebff95ce9558be66a36aa7cfb43223f3ab4699, Linux 8ffcd3ccdbda0c918c4a0f922ef1c17010f1b598, Linux 3a9f78b297e08ca8e88ae3ecff1f6fe2766dc5eb, Linux 44f9f1abb0ecc43023225ab9539167facbabf0ec. No fix listed yet: follow the vendor advisory.

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

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/7bcc090c81116c66936a7415f2c6b1483a4bcfd9>
- patch: <https://git.kernel.org/stable/c/4f37d3a7e004bbf560c21441ca9c022168017ec4>
- patch: <https://git.kernel.org/stable/c/8eebff95ce9558be66a36aa7cfb43223f3ab4699>
- patch: <https://git.kernel.org/stable/c/8ffcd3ccdbda0c918c4a0f922ef1c17010f1b598>
- patch: <https://git.kernel.org/stable/c/cf7d8cba639ae792a42c2a137b495eac262ac36c>
- patch: <https://git.kernel.org/stable/c/3a9f78b297e08ca8e88ae3ecff1f6fe2766dc5eb>
- patch: <https://git.kernel.org/stable/c/c51f8b6930db3f259b8820b589f2459d2df3fc68>
- patch: <https://git.kernel.org/stable/c/44f9f1abb0ecc43023225ab9539167facbabf0ec>
- patch: <https://git.kernel.org/stable/c/d27e2da94a42655861ca4baea30c8cd65546f25d>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## 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-26859>

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