CVE-2026-53089 (GCVE-0-2026-53089)
Vulnerability from cvelistv5 – Published: 2026-06-24 16:30 – Updated: 2026-09-02 12:49
VLAI
EPSS
VEX
Title
bpf: Fix use-after-free in offloaded map/prog info fill
Summary
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix use-after-free in offloaded map/prog info fill
When querying info for an offloaded BPF map or program,
bpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns()
obtain the network namespace with get_net(dev_net(offmap->netdev)).
However, the associated netdev's netns may be racing with teardown
during netns destruction. If the netns refcount has already reached 0,
get_net() performs a refcount_t increment on 0, triggering:
refcount_t: addition on 0; use-after-free.
Although rtnl_lock and bpf_devs_lock ensure the netdev pointer remains
valid, they cannot prevent the netns refcount from reaching zero.
Fix this by using maybe_get_net() instead of get_net(). maybe_get_net()
uses refcount_inc_not_zero() and returns NULL if the refcount is already
zero, which causes ns_get_path_cb() to fail and the caller to return
-ENOENT -- the correct behavior when the netns is being destroyed.
Severity
7.8 (High)
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
675fc275a3a2d905535207237402c6d8dcb5fa4b , < 43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d
(git)
Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < 642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e (git) Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < fea55b034328feaafef75aee252f305e6f85a991 (git) Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < 5662dac41a3442aa378d7c405164903eb109fc05 (git) Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < 1a2dc103e16448d022a77ad5fc3234641436c4b7 (git) Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < 85dc711f742b192eb97c0e00b521312f5a7a415e (git) Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < a51e7fbe94a87e236631a83973d4f558310b2cd2 (git) Affected: 675fc275a3a2d905535207237402c6d8dcb5fa4b , < a0c584fc18056709c8e047a82a6045d6c209f4ce (git) |
guessed | |
| Linux | Linux |
Affected:
4.16
Unaffected: 0 , < 4.16 (semver) Unaffected: 5.10.269 , ≤ 5.10.* (semver) Unaffected: 5.15.220 , ≤ 5.15.* (semver) Unaffected: 6.1.187 , ≤ 6.1.* (semver) Unaffected: 6.6.156 , ≤ 6.6.* (semver) Unaffected: 6.12.108 , ≤ 6.12.* (semver) Unaffected: 6.18.49 , ≤ 6.18.* (semver) Unaffected: 7.0.10 , ≤ 7.0.* (semver) Unaffected: 7.1 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"kernel/bpf/offload.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "fea55b034328feaafef75aee252f305e6f85a991",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "5662dac41a3442aa378d7c405164903eb109fc05",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "1a2dc103e16448d022a77ad5fc3234641436c4b7",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "85dc711f742b192eb97c0e00b521312f5a7a415e",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "a51e7fbe94a87e236631a83973d4f558310b2cd2",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "a0c584fc18056709c8e047a82a6045d6c209f4ce",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"kernel/bpf/offload.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.16"
},
{
"lessThan": "4.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.269",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.220",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.187",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.156",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.108",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.49",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.10",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.269",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.220",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.187",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.156",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.108",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.49",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.10",
"versionStartIncluding": "4.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "4.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free in offloaded map/prog info fill\n\nWhen querying info for an offloaded BPF map or program,\nbpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns()\nobtain the network namespace with get_net(dev_net(offmap-\u003enetdev)).\nHowever, the associated netdev\u0027s netns may be racing with teardown\nduring netns destruction. If the netns refcount has already reached 0,\nget_net() performs a refcount_t increment on 0, triggering:\n\n refcount_t: addition on 0; use-after-free.\n\nAlthough rtnl_lock and bpf_devs_lock ensure the netdev pointer remains\nvalid, they cannot prevent the netns refcount from reaching zero.\n\nFix this by using maybe_get_net() instead of get_net(). maybe_get_net()\nuses refcount_inc_not_zero() and returns NULL if the refcount is already\nzero, which causes ns_get_path_cb() to fail and the caller to return\n-ENOENT -- the correct behavior when the netns is being destroyed."
}
],
"providerMetadata": {
"dateUpdated": "2026-09-02T12:49:34.606Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d"
},
{
"url": "https://git.kernel.org/stable/c/642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e"
},
{
"url": "https://git.kernel.org/stable/c/fea55b034328feaafef75aee252f305e6f85a991"
},
{
"url": "https://git.kernel.org/stable/c/5662dac41a3442aa378d7c405164903eb109fc05"
},
{
"url": "https://git.kernel.org/stable/c/1a2dc103e16448d022a77ad5fc3234641436c4b7"
},
{
"url": "https://git.kernel.org/stable/c/85dc711f742b192eb97c0e00b521312f5a7a415e"
},
{
"url": "https://git.kernel.org/stable/c/a51e7fbe94a87e236631a83973d4f558310b2cd2"
},
{
"url": "https://git.kernel.org/stable/c/a0c584fc18056709c8e047a82a6045d6c209f4ce"
}
],
"title": "bpf: Fix use-after-free in offloaded map/prog info fill",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-53089",
"datePublished": "2026-06-24T16:30:28.531Z",
"dateReserved": "2026-06-09T07:44:35.384Z",
"dateUpdated": "2026-09-02T12:49:34.606Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-53089",
"date": "2026-10-01",
"epss": "0.00117",
"percentile": "0.01496"
},
"microsoft_vex": {
"current_release_date": "2026-09-24T02:41:22.000Z",
"cve": "CVE-2026-53089",
"id": "msrc_CVE-2026-53089",
"initial_release_date": "2026-06-27T01:09:56.000Z",
"product_status:known_affected": "5",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "bpf: Fix use-after-free in offloaded map/prog info fill",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-53089.json",
"version": "9"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"kernel/bpf/offload.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "fea55b034328feaafef75aee252f305e6f85a991",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "5662dac41a3442aa378d7c405164903eb109fc05",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "1a2dc103e16448d022a77ad5fc3234641436c4b7",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "85dc711f742b192eb97c0e00b521312f5a7a415e",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "a51e7fbe94a87e236631a83973d4f558310b2cd2",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
},
{
"lessThan": "a0c584fc18056709c8e047a82a6045d6c209f4ce",
"status": "affected",
"version": "675fc275a3a2d905535207237402c6d8dcb5fa4b",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"kernel/bpf/offload.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.16"
},
{
"lessThan": "4.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.269",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.220",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.187",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.156",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.108",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.49",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.10",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "BE70B0A9-DD71-4EA5-8A36-E260911541E9",
"versionEndExcluding": "7.0.10",
"versionStartIncluding": "4.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free in offloaded map/prog info fill\n\nWhen querying info for an offloaded BPF map or program,\nbpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns()\nobtain the network namespace with get_net(dev_net(offmap-\u003enetdev)).\nHowever, the associated netdev\u0027s netns may be racing with teardown\nduring netns destruction. If the netns refcount has already reached 0,\nget_net() performs a refcount_t increment on 0, triggering:\n\n refcount_t: addition on 0; use-after-free.\n\nAlthough rtnl_lock and bpf_devs_lock ensure the netdev pointer remains\nvalid, they cannot prevent the netns refcount from reaching zero.\n\nFix this by using maybe_get_net() instead of get_net(). maybe_get_net()\nuses refcount_inc_not_zero() and returns NULL if the refcount is already\nzero, which causes ns_get_path_cb() to fail and the caller to return\n-ENOENT -- the correct behavior when the netns is being destroyed."
}
],
"id": "CVE-2026-53089",
"lastModified": "2026-09-02T13:18:00.677",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2026-06-24T17:17:23.097",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1a2dc103e16448d022a77ad5fc3234641436c4b7"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/5662dac41a3442aa378d7c405164903eb109fc05"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/85dc711f742b192eb97c0e00b521312f5a7a415e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/a0c584fc18056709c8e047a82a6045d6c209f4ce"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/a51e7fbe94a87e236631a83973d4f558310b2cd2"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/fea55b034328feaafef75aee252f305e6f85a991"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-416"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-07-23T18:41:04+00:00",
"cve": "CVE-2026-53089",
"id": "CVE-2026-53089",
"initial_release_date": "2026-06-24T00:00:00+00:00",
"product_status:known_affected": "232",
"product_status:known_not_affected": "42",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: bpf: Fix use-after-free in offloaded map/prog info fill",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53089.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-09-23T00:25:44Z",
"cve": "CVE-2026-53089",
"id": "CVE-2026-53089",
"initial_release_date": "2026-07-01T03:18:59Z",
"product_status:first_fixed": "68",
"product_status:known_affected": "661",
"product_status:known_not_affected": "34",
"product_status:recommended": "130",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-53089",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-53089.json",
"version": "11"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
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.
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.
Loading…
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.
Loading…