GHSA-4J29-HVP6-5V88
Vulnerability from github – Published: 2026-10-18 18:31 – Updated: 2026-10-18 18:31In 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": [],
"aliases": [
"CVE-2026-98591"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-10-18T16:17:11Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix bounds check for skb-backed dynptrs\n\nThe skb_pointer_if_linear() function checks whether a\nmemory region of length len starting at offset off into\nthe skb is in the linear area, and returns a pointer to\nthe region if so. The check currently subtracts between\nskb_headlen and offset of the check, and since skb_headlen\nis unsigned the subtraction can underflow. This causes the\nbounds check to spuriously pass and generate an arbitrary\npointer of the form *(skb-\u003edata + off).\n\nThe only user of this helper is currently skb-backed BPF\ndynptr code. Returning the wrong pointer leads to the\ndynptr erroneously being backed with invalid memory.\n\nEnsure the subtraction cannot underflow, and fail the check if\nit would. Use u64 arithmetic to also prevent overflow when\ncalculating (skb_headlen(skb) - off) since off is unsigned.",
"id": "GHSA-4j29-hvp6-5v88",
"modified": "2026-10-18T18:31:55Z",
"published": "2026-10-18T18:31:55Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98591"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1196903a27cac5c929c7517e987a8d159f20c5e5"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1b923538598be768e9f2f258a77a083d00e0c78b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/37877a24758068742fef687a7cf5362360dde1d1"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/39ffceaddb10753eac12785dba6ac0673860b4ac"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ed6eec97b534979dcf28b40c389cee57bd6561d4"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.