# CVE-2026-98591: bpf: Fix bounds check for skb-backed dynptrs

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:19:03.567Z
- **Modified:** 2026-10-19T10:19:20.220Z

## Who should check

- Anyone running Linux \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 1b923538598be768e9f2f258a77a083d00e0c78b; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 37877a24758068742fef687a7cf5362360dde1d1; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 1196903a27cac5c929c7517e987a8d159f20c5e5; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 39ffceaddb10753eac12785dba6ac0673860b4ac; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< ed6eec97b534979dcf28b40c389cee57bd6561d4
- Anyone running Linux 6.6

## Description

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

bpf: Fix bounds check for skb-backed dynptrs

The skb\_pointer\_if\_linear() function checks whether a
memory region of length len starting at offset off into
the skb is in the linear area, and returns a pointer to
the region if so. The check currently subtracts between
skb\_headlen and offset of the check, and since skb\_headlen
is unsigned the subtraction can underflow. This causes the
bounds check to spuriously pass and generate an arbitrary
pointer of the form \*(skb-\>data + off).

The only user of this helper is currently skb-backed BPF
dynptr code. Returning the wrong pointer leads to the
dynptr erroneously being backed with invalid memory.

Ensure the subtraction cannot underflow, and fail the check if
it would. Use u64 arithmetic to also prevent overflow when
calculating (skb\_headlen(skb) - off) since off is unsigned.

## Affected and fixed versions

- Linux: \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 1b923538598be768e9f2f258a77a083d00e0c78b; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 37877a24758068742fef687a7cf5362360dde1d1; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 1196903a27cac5c929c7517e987a8d159f20c5e5; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 39ffceaddb10753eac12785dba6ac0673860b4ac; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< ed6eec97b534979dcf28b40c389cee57bd6561d4 (cvelist)
- Linux: 6.6 (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-2026-98591. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98591.md
Affected: Linux >= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, < 1b923538598be768e9f2f258a77a083d00e0c78b; >= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, < 37877a24758068742fef687a7cf5362360dde1d1; >= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, < 1196903a27cac5c929c7517e987a8d159f20c5e5; >= 6f5a630d7c57cd79b1f526a…
Fixed in: Linux 1b923538598be768e9f2f258a77a083d00e0c78b, Linux 37877a24758068742fef687a7cf5362360dde1d1, Linux 1196903a27cac5c929c7517e987a8d159f20c5e5, Linux 39ffceaddb10753eac12785dba6ac0673860b4ac

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-2026-98591 being exploited?

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

### How serious is CVE-2026-98591?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98591?

Linux \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 1b923538598be768e9f2f258a77a083d00e0c78b; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 37877a24758068742fef687a7cf5362360dde1d1; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 1196903a27cac5c929c7517e987a8d159f20c5e5; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< 39ffceaddb10753eac12785dba6ac0673860b4ac; \>= 6f5a630d7c57cd79b1f526a95e757311e32d41e5, \< ed6eec97b534979dcf28b40c389cee57bd6561d4; Linux 6.6.

### Is there a fix for CVE-2026-98591?

Yes. Fixed in Linux 1b923538598be768e9f2f258a77a083d00e0c78b, Linux 37877a24758068742fef687a7cf5362360dde1d1, Linux 1196903a27cac5c929c7517e987a8d159f20c5e5, Linux 39ffceaddb10753eac12785dba6ac0673860b4ac. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98591?

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

- other: <https://git.kernel.org/stable/c/1b923538598be768e9f2f258a77a083d00e0c78b>
- other: <https://git.kernel.org/stable/c/37877a24758068742fef687a7cf5362360dde1d1>
- other: <https://git.kernel.org/stable/c/1196903a27cac5c929c7517e987a8d159f20c5e5>
- other: <https://git.kernel.org/stable/c/39ffceaddb10753eac12785dba6ac0673860b4ac>
- other: <https://git.kernel.org/stable/c/ed6eec97b534979dcf28b40c389cee57bd6561d4>

## 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-2026-98591>

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