CVE-2026-52934 (GCVE-0-2026-52934)
Vulnerability from cvelistv5 – Published: 2026-06-24 07:14 – Updated: 2026-06-28 06:36
VLAI
Title
batman-adv: tvlv: reject oversized TVLV packets
Summary
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: tvlv: reject oversized TVLV packets
batadv_tvlv_container_ogm_append() builds a TVLV packet section from
the tvlv.container_list. The total size of this section is computed by
batadv_tvlv_container_list_size(), which sums the sizes of all registered
containers.
The return type and accumulator in batadv_tvlv_container_list_size() were
u16. If the accumulated size exceeds U16_MAX, the value wraps around,
causing the subsequent allocation in batadv_tvlv_container_ogm_append()
to be undersized. The memcpy-style copy that follows would then write
beyond the end of the allocated buffer, corrupting kernel memory.
Fix this by widening the return type of batadv_tvlv_container_list_size()
to size_t. In batadv_tvlv_container_ogm_append(), check the computed length
against U16_MAX before proceeding, and bail out as if the allocation had
failed when the limit is exceeded.
Severity
8.8 (High)
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < c02aa6c0c9d1bea9bb75dea362b75ad225137bae
(git)
Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < 1595628a2f877d052eda18865ccf539392c47c04 (git) Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < 6448a49344e87487b61bd88cb850cd694a0f576d (git) Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < 13493b00dd1e05a705981e052158652ea23eb482 (git) Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < 94db72e9dac202e017ee3db22c59d17e4f3bf171 (git) Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < ede47988ac5687793745b17c1634a496a2299919 (git) Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < 94a3d72cd9b21116d7c6d5bdc57c11401fc28557 (git) Affected: ef26157747d42254453f6b3ac2bd8bd3c53339c3 , < f50487e3566358b2b982b7801945e858c78ad9ab (git) |
|
| Linux | Linux |
Affected:
3.13
Unaffected: 0 , < 3.13 (semver) Unaffected: 5.10.259 , ≤ 5.10.* (semver) Unaffected: 5.15.210 , ≤ 5.15.* (semver) Unaffected: 6.1.176 , ≤ 6.1.* (semver) Unaffected: 6.6.143 , ≤ 6.6.* (semver) Unaffected: 6.12.93 , ≤ 6.12.* (semver) Unaffected: 6.18.34 , ≤ 6.18.* (semver) Unaffected: 7.0.11 , ≤ 7.0.* (semver) Unaffected: 7.1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/batman-adv/tvlv.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "c02aa6c0c9d1bea9bb75dea362b75ad225137bae",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "1595628a2f877d052eda18865ccf539392c47c04",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "6448a49344e87487b61bd88cb850cd694a0f576d",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "13493b00dd1e05a705981e052158652ea23eb482",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "94db72e9dac202e017ee3db22c59d17e4f3bf171",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "ede47988ac5687793745b17c1634a496a2299919",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "94a3d72cd9b21116d7c6d5bdc57c11401fc28557",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
},
{
"lessThan": "f50487e3566358b2b982b7801945e858c78ad9ab",
"status": "affected",
"version": "ef26157747d42254453f6b3ac2bd8bd3c53339c3",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/batman-adv/tvlv.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.13"
},
{
"lessThan": "3.13",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.176",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.93",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.34",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.11",
"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.259",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.210",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.176",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.143",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.93",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.34",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.11",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "3.13",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tvlv: reject oversized TVLV packets\n\nbatadv_tvlv_container_ogm_append() builds a TVLV packet section from\nthe tvlv.container_list. The total size of this section is computed by\nbatadv_tvlv_container_list_size(), which sums the sizes of all registered\ncontainers.\n\nThe return type and accumulator in batadv_tvlv_container_list_size() were\nu16. If the accumulated size exceeds U16_MAX, the value wraps around,\ncausing the subsequent allocation in batadv_tvlv_container_ogm_append()\nto be undersized. The memcpy-style copy that follows would then write\nbeyond the end of the allocated buffer, corrupting kernel memory.\n\nFix this by widening the return type of batadv_tvlv_container_list_size()\nto size_t. In batadv_tvlv_container_ogm_append(), check the computed length\nagainst U16_MAX before proceeding, and bail out as if the allocation had\nfailed when the limit is exceeded."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-06-28T06:36:55.538Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae"
},
{
"url": "https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04"
},
{
"url": "https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d"
},
{
"url": "https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482"
},
{
"url": "https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171"
},
{
"url": "https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919"
},
{
"url": "https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557"
},
{
"url": "https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab"
}
],
"title": "batman-adv: tvlv: reject oversized TVLV packets",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-52934",
"datePublished": "2026-06-24T07:14:25.321Z",
"dateReserved": "2026-06-09T07:44:35.369Z",
"dateUpdated": "2026-06-28T06:36:55.538Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-52934",
"date": "2026-06-30",
"epss": "0.00247",
"percentile": "0.159"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-52934\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-24T08:16:23.620\",\"lastModified\":\"2026-06-28T08:16:24.767\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbatman-adv: tvlv: reject oversized TVLV packets\\n\\nbatadv_tvlv_container_ogm_append() builds a TVLV packet section from\\nthe tvlv.container_list. The total size of this section is computed by\\nbatadv_tvlv_container_list_size(), which sums the sizes of all registered\\ncontainers.\\n\\nThe return type and accumulator in batadv_tvlv_container_list_size() were\\nu16. If the accumulated size exceeds U16_MAX, the value wraps around,\\ncausing the subsequent allocation in batadv_tvlv_container_ogm_append()\\nto be undersized. The memcpy-style copy that follows would then write\\nbeyond the end of the allocated buffer, corrupting kernel memory.\\n\\nFix this by widening the return type of batadv_tvlv_container_list_size()\\nto size_t. In batadv_tvlv_container_ogm_append(), check the computed length\\nagainst U16_MAX before proceeding, and bail out as if the allocation had\\nfailed when the limit is exceeded.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/batman-adv/tvlv.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"c02aa6c0c9d1bea9bb75dea362b75ad225137bae\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"1595628a2f877d052eda18865ccf539392c47c04\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"6448a49344e87487b61bd88cb850cd694a0f576d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"13493b00dd1e05a705981e052158652ea23eb482\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"94db72e9dac202e017ee3db22c59d17e4f3bf171\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"ede47988ac5687793745b17c1634a496a2299919\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"94a3d72cd9b21116d7c6d5bdc57c11401fc28557\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ef26157747d42254453f6b3ac2bd8bd3c53339c3\",\"lessThan\":\"f50487e3566358b2b982b7801945e858c78ad9ab\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/batman-adv/tvlv.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.93\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
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…