Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31657

CRITICAL 9.8EPSS 53%

batman-adv: hold claim backbone gateways by reference

Mitigation

  • Upgrade Linux to 82d8701b2c930d0e96b0dbc9115a218d791cb0d2 or later.

Who should check

  • Anyone running Linux >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 5202f071b367ffbc8e279fc7a00db14f5e587f52; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 69d1ce9c72eca91203ffdb8d08bacd511100aec6; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < f4858832ddef2f39f21e30b7226bbcd3c4b2bc96; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 2f55b58b5a0bbed192d60c444a45a49cdf1b545f; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 7962b522222628596ca9ecc8722efc95367aadbd; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 4dee4c0688443aaf5bbec74aa203c851d1d53c35; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 1f2dc36c297d27733f1b380ea644cf15a361bd7b; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 82d8701b2c930d0e96b0dbc9115a218d791cb0d2
  • Anyone running Linux 3.5

Vulnerability facts

Affected
Linux >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 5202f071b367ffbc8e279fc7a00db14f5e587f52; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 69d1ce9c72eca91203ffdb8d08bacd511100aec6; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < f4858832ddef2f39f21e30b7226bbcd3c4b2bc96; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 2f55b58b5a0bbed192d60c444a45a49cdf1b545f; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 7962b522222628596ca9ecc8722efc95367aadbd; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 4dee4c0688443aaf5bbec74aa203c851d1d53c35; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 1f2dc36c297d27733f1b380ea644cf15a361bd7b; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 82d8701b2c930d0e96b0dbc9115a218d791cb0d2; Linux 3.5
Fixed in
Linux 5202f071b367ffbc8e279fc7a00db14f5e587f52, Linux 69d1ce9c72eca91203ffdb8d08bacd511100aec6, Linux 2f55b58b5a0bbed192d60c444a45a49cdf1b545f, Linux 7962b522222628596ca9ecc8722efc95367aadbd, Linux 4dee4c0688443aaf5bbec74aa203c851d1d53c35, Linux 1f2dc36c297d27733f1b380ea644cf15a361bd7b, Linux 82d8701b2c930d0e96b0dbc9115a218d791cb0d2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.78% chance of exploitation in 30 days (percentile 53, 2026-11-26)
CWE
CWE-476, CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: batman-adv: hold claim backbone gateways by reference batadv_bla_add_claim() can replace claim->backbone_gw and drop the old gateway's last reference while readers still follow the pointer. The netlink claim dump path dereferences claim->backbone_gw->orig and takes claim->backbone_gw->crc_lock without pinning the underlying backbone gateway. batadv_bla_check_claim() still has the same naked pointer access pattern. Reuse batadv_bla_claim_get_backbone_gw() in both readers so they operate on a stable gateway reference until the read-side work is complete. This keeps the dump and claim-check paths aligned with the lifetime rules introduced for the other BLA claim readers.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 23721387c409087fd3b97e274f34d3ddc0970b74, < 5202f071b367ffbc8e279fc7a00db14f5e587f52; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 69d1ce9c72eca91203ffdb8d08bacd511100aec6; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < f4858832ddef2f39f21e30b7226bbcd3c4b2bc96; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 2f55b58b5a0bbed192d60c444a45a49cdf1b545f; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 7962b522222628596ca9ecc8722efc95367aadbd; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 4dee4c0688443aaf5bbec74aa203c851d1d53c35; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 1f2dc36c297d27733f1b380ea644cf15a361bd7b; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 82d8701b2c930d0e96b0dbc9115a218d791cb0d2—cvelist
Linux3.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31657. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31657.md
Affected: Linux >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 5202f071b367ffbc8e279fc7a00db14f5e587f52; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 69d1ce9c72eca91203ffdb8d08bacd511100aec6; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < f4858832ddef2f39f21e30b7226bbcd3c4b2bc96; >= 23721387c409087fd3b97e2…
Fixed in: Linux 5202f071b367ffbc8e279fc7a00db14f5e587f52, Linux 69d1ce9c72eca91203ffdb8d08bacd511100aec6, Linux 2f55b58b5a0bbed192d60c444a45a49cdf1b545f, Linux 7962b522222628596ca9ecc8722efc95367aadbd, Linux 4dee4c0688443aaf5bbec74aa203c851d1d53c35, Linux 1f2dc36c297d27733f1b380ea644cf15a361bd7b, Linux 82d87…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31657 being exploited?

There is no confirmed exploitation: CVE-2026-31657 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31657?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-31657?

Linux >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 5202f071b367ffbc8e279fc7a00db14f5e587f52; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 69d1ce9c72eca91203ffdb8d08bacd511100aec6; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < f4858832ddef2f39f21e30b7226bbcd3c4b2bc96; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 2f55b58b5a0bbed192d60c444a45a49cdf1b545f; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 7962b522222628596ca9ecc8722efc95367aadbd; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 4dee4c0688443aaf5bbec74aa203c851d1d53c35; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 1f2dc36c297d27733f1b380ea644cf15a361bd7b; >= 23721387c409087fd3b97e274f34d3ddc0970b74, < 82d8701b2c930d0e96b0dbc9115a218d791cb0d2; Linux 3.5.

Is there a fix for CVE-2026-31657?

Yes. Fixed in Linux 5202f071b367ffbc8e279fc7a00db14f5e587f52, Linux 69d1ce9c72eca91203ffdb8d08bacd511100aec6, Linux 2f55b58b5a0bbed192d60c444a45a49cdf1b545f, Linux 7962b522222628596ca9ecc8722efc95367aadbd, Linux 4dee4c0688443aaf5bbec74aa203c851d1d53c35, Linux 1f2dc36c297d27733f1b380ea644cf15a361bd7b, Linux 82d8701b2c930d0e96b0dbc9115a218d791cb0d2. Upgrade Linux to 82d8701b2c930d0e96b0dbc9115a218d791cb0d2 or later.

How do I check if I'm affected by CVE-2026-31657?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors