GHSA-FGM6-QCGG-CJ8F

Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: tt: don't drop local events queued during TVLV update

batadv_tt_tvlv_container_update() read the number of local changes without holding changes_list_lock. batadv_tt_local_event() is not serialized by the commit_lock and can queue new events before the changes_list is flushed:

CPU0 CPU1 batadv_tt_tvlv_container_update() num = ...local_changes; batadv_tt_local_event() list_add_tail(...); ...local_changes++; spin_lock_bh(&...changes_list_lock); / only num events copied but all freed /

The additional events were freed without ever being sent. Other nodes will only notice this via a CRC mismatch and must request the full table.

The number of changes and the changes_list must therefore be taken atomically. Events queued afterwards then stay in the tt.changes_list for the next TT round.

The changes can no longer be kept for the next round when the TVLV buffer allocation fails. But they would be sent with a skipped TTVN anyway, so the other nodes have to request the full table in this case either way. The last changeset is only dropped in this case when the TTVN was incremented. Without new changes, it still describes the current TTVN.

Previously, the unconsumed changes caused a retry of the TVLV container update in the next commit round. Since the changes are now consumed, the next round would only take the path without changes and wait for BATADV_TT_OGM_APPEND_MAX rounds before updating the container again. Until then, the outdated container with the previous TTVN would still be announced. The ogm_append_cnt is therefore reset on failure to retry the update in the next OGM interval.

This doesn't make the CRC consistent with the announced changeset. The local table modifications are still not serialized with the commit and batadv_tt_local_transition_new() can still make a client part of the CRC for which the event is only part of the next TT round. Such an inconsistency is detected by the CRC check of the other nodes and solved via a full table request.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99759"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-20T06:18:14Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tt: don\u0027t drop local events queued during TVLV update\n\nbatadv_tt_tvlv_container_update() read the number of local changes without\nholding changes_list_lock. batadv_tt_local_event() is not serialized by\nthe commit_lock and can queue new events before the changes_list is\nflushed:\n\n  CPU0                          CPU1\n  batadv_tt_tvlv_container_update()\n    num = ...local_changes;\n                                batadv_tt_local_event()\n                                  list_add_tail(...);\n                                  ...local_changes++;\n    spin_lock_bh(\u0026...changes_list_lock);\n    /* only num events copied but all freed */\n\nThe additional events were freed without ever being sent. Other nodes will\nonly notice this via a CRC mismatch and must request the full table.\n\nThe number of changes and the changes_list must therefore be taken\natomically. Events queued afterwards then stay in the tt.changes_list for\nthe next TT round.\n\nThe changes can no longer be kept for the next round when the TVLV buffer\nallocation fails. But they would be sent with a skipped TTVN anyway, so the\nother nodes have to request the full table in this case either way. The\nlast changeset is only dropped in this case when the TTVN was incremented.\nWithout new changes, it still describes the current TTVN.\n\nPreviously, the unconsumed changes caused a retry of the TVLV container\nupdate in the next commit round. Since the changes are now consumed, the\nnext round would only take the path without changes and wait for\nBATADV_TT_OGM_APPEND_MAX rounds before updating the container again. Until\nthen, the outdated container with the previous TTVN would still be\nannounced. The ogm_append_cnt is therefore reset on failure to retry the\nupdate in the next OGM interval.\n\nThis doesn\u0027t make the CRC consistent with the announced changeset. The\nlocal table modifications are still not serialized with the commit and\nbatadv_tt_local_transition_new() can still make a client part of the CRC\nfor which the event is only part of the next TT round. Such an\ninconsistency is detected by the CRC check of the other nodes and solved\nvia a full table request.",
  "id": "GHSA-fgm6-qcgg-cj8f",
  "modified": "2026-11-23T09:31:03Z",
  "published": "2026-11-20T06:32:10Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99759"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/13ca299f047263cd238bd42efcdf6168755686d9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c456c887ad9c8950097473590923ce8b553d488"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ad8c4a893f18fe031370ec76e48ed9a7ac905373"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cb9c398903d37d242de0eaf080cedb0ca5531d38"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cd2ff491c8eed4773f4f50ae10c942e09db1f6c4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da9816e6aec5dfbfd6795bc512743d05f2029e62"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ed7a0dfdd370acb48be7a281df732c1bebcc7f1d"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

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…