batman-adv: avoid OGM aggregation when skb tailroom is insufficient
In the Linux kernel, the following vulnerability has been resolved: batman-adv: avoid OGM aggregation when skb tailroom is insufficient When OGM aggregation state is toggled at runtime, an existing forwarded packet may have been allocated with only packet_len bytes, while a later packet can still be selected for aggregation. Appending in this case can hit skb_put overflow conditions. Reject aggregation when the target skb tailroom cannot accommodate the new packet. The caller then falls back to creating a new forward packet instead of appending.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.253, 5.15.203, 6.1.167, 6.12.78, 6.18.20, 6.19.10, 6.6.130
- CVEs
- CVE-2026-31683
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:53 UTC · Revision 1
Source evidence
batman-adv: avoid OGM aggregation when skb tailroom is insufficient
core-osv · Original sourcePublished 25 Apr 2026, 08:47 UTC
In the Linux kernel, the following vulnerability has been resolved: batman-adv: avoid OGM aggregation when skb tailroom is insufficient When OGM aggregation state is toggled at runtime, an existing forwarded packet may have been allocated with only packet_len bytes, while a later packet can still be selected for aggregation. Appending in this case can hit skb_put overflow conditions. Reject aggregation when the target skb tailroom cannot accommodate the new packet. The caller then falls back to creating a new forward packet instead of appending.
osv:CVE-2026-31683
Kernel
Fixed versions: 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10
Complete source record
{
"id": "b4e566fb72188b1fa73d96baf4cd224b7b5cf7549c11f81e06b274b1f745860b",
"url": "https://osv.dev/vulnerability/CVE-2026-31683",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "batman-adv: avoid OGM aggregation when skb tailroom is insufficient",
"summary": "In the Linux kernel, the following vulnerability has been resolved: batman-adv: avoid OGM aggregation when skb tailroom is insufficient When OGM aggregation state is toggled at runtime, an existing forwarded packet may have been allocated with only packet_len bytes, while a later packet can still be selected for aggregation. Appending in this case can hit skb_put overflow conditions. Reject aggregation when the target skb tailroom cannot accommodate the new packet. The caller then falls back to creating a new forward packet instead of appending.",
"evidence": "osv:CVE-2026-31683",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.253",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.203",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.167",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.130",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.78",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.20",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-31683",
"aliases": [
"CVE-2026-31683"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c6c8fea29769d998d94fcec9b9f14d4b52b349d3"
},
{
"fixed": "67176c96f325837b0bb3e9538ca2eba414f447d8"
},
{
"fixed": "0b10a8b355c3f71012ce89289ec2c2f5e3bfd6c1"
},
{
"fixed": "6755347c5f9bdd44dee80f692208b056fcd40a52"
},
{
"fixed": "1ada20331f2df2a942d6b83ae1f04a304b642e2a"
},
{
"fixed": "6e40ebb999c2c3d2fbb3cacb61f0384ee6e69075"
},
{
"fixed": "0e35db29fc5a97a8553f7c2d3a2ba730e46b1ee8"
},
{
"fixed": "eda89a1bae0602aec8314ced299bb243b9f9aeef"
},
{
"fixed": "0d4aef630be9d5f9c1227d07669c26c4383b5ad0"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31683.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.38"
},
{
"fixed": "5.10.253"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.203"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.167"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.130"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.78"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.20"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31683.json"
}
}
],
"modified": "2026-10-28T02:30:48.732538636Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0b10a8b355c3f71012ce89289ec2c2f5e3bfd6c1",
"https://git.kernel.org/stable/c/0d4aef630be9d5f9c1227d07669c26c4383b5ad0",
"https://git.kernel.org/stable/c/0e35db29fc5a97a8553f7c2d3a2ba730e46b1ee8",
"https://git.kernel.org/stable/c/1ada20331f2df2a942d6b83ae1f04a304b642e2a",
"https://git.kernel.org/stable/c/67176c96f325837b0bb3e9538ca2eba414f447d8",
"https://git.kernel.org/stable/c/6755347c5f9bdd44dee80f692208b056fcd40a52",
"https://git.kernel.org/stable/c/6e40ebb999c2c3d2fbb3cacb61f0384ee6e69075",
"https://git.kernel.org/stable/c/eda89a1bae0602aec8314ced299bb243b9f9aeef",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31683.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31683",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31683.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31683",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516771,
"published_at": "2026-04-25T08:47:00.334+00:00"
}