CVE-2026-64089

batman-adv: tt: fix negative last_changeset_len

CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.55 % · percentile 46 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: fix negative last_changeset_len batadv_piv_tt::last_changeset_len len was declared as s16, but the field is never intended to hold a negative value. When a value greater than 32767 is assigned, it wraps to a negative signed integer. In batadv_send_my_tt_response(), last_changeset_len is temporarily widened to s32. The incorrectly negative s16 value propagates into the s32, causing batadv_tt_prepare_tvlv_local_data() to allocate a full sized buffer but populates only a small portion of it with the collected changeset. All remaining bits are kept uninitialized. Using an u16 avoids this type confusion and ensures that no (negative) sign extension is performed in batadv_send_my_tt_response().

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a73105b8d4c765d9ebfb664d0a66802127d8e4c7 < 6314089acf0ddf64376fdc0b1420695504c73f52 ; affected a73105b8d4c765d9ebfb664d0a66802127d8e4c7 < 55dc41fe8821e9a849e147255ad572bc933a9d15 ; affected a73105b8d4c765d9ebfb664d0a66802127d8e4c7 < c424e8519ac78eac5d9f4eecf06208a0d619ec14 ; affected a73105b8d4c765d9ebfb664d0a66802127d8e4c7 < 22d59c72f4a47ffec121d0610f70d0d70c3c11c8 ; affected a73105b8d4c765d9ebfb664d0a66802127d8e4c7 < eb235472b52ef36981c5aad330485eaf2382c53b ; affected a73105b8d4c765d9ebfb664d0a66802127d8e4c7 < 179eb62506a02d00370bd6478898cb632e10986c
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD