{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31659","id":"CVE-2026-31659","title":"batman-adv: reject oversized global TT response buffers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: reject oversized global TT response buffers\n\nbatadv_tt_prepare_tvlv_global_data() builds the allocation length for a\nglobal TT response in 16-bit temporaries. When a remote originator\nadvertises a large enough global TT, the TT payload length plus the VLAN\nheader offset can exceed 65535 and wrap before kmalloc().\n\nThe","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: reject oversized global TT response buffers\n\nbatadv_tt_prepare_tvlv_global_data() builds the allocation length for a\nglobal TT response in 16-bit temporaries. When a remote originator\nadvertises a large enough global TT, the TT payload length plus the VLAN\nheader offset can exceed 65535 and wrap before kmalloc().\n\nThe full-table response path still uses the original TT payload length when\nit fills tt_change, so the wrapped allocation is too small and\nbatadv_tt_prepare_tvlv_global_data() writes past the end of the heap object\nbefore the later packet-size check runs.\n\nFix this by rejecting TT responses whose TVLV value length cannot fit in\nthe 16-bit TVLV payload length field.","published":"2026-04-24T14:45:10.254Z","updated":"2026-11-13T02:30:41.404755164Z","reserved":"2026-03-09T15:48:24.129Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"7e5d007e0df946bffb8542fb112e0044014a5897","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"2997f4bd1f982e7013709946e00be89b507693fa","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"95c71365a2222908441b54d6f2c315e0c79fcec3","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"69d61639bc7e963c3b645e570279d731e7c89062","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"f970646b9a39539d1bac86822ac78b5915455ea9","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"de6c1dc3c7d01a152607e6fcecee4d5288283f10","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"cf2199171ef799ca7270019125f4a91bd20ad4d9","status":"affected","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","lessThan":"3a359bf5c61d52e7f09754108309d637532164a6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","lessThan":"3.13","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.169","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.135","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.82","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.23","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.13","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31659.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31659","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00421,"epssPercentile":0.37182,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31659","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31659","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31659","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31659","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}