CVE-2026-31657

Source
https://cve.org/CVERecord?id=CVE-2026-31657
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31657.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31657
Downstream
Published
2026-04-24T14:45:08.867Z
Modified
2026-05-18T05:59:53.065622911Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
batman-adv: hold claim backbone gateways by reference
Details

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

batman-adv: hold claim backbone gateways by reference

batadvblaaddclaim() can replace claim->backbonegw and drop the old gateway's last reference while readers still follow the pointer.

The netlink claim dump path dereferences claim->backbonegw->orig and takes claim->backbonegw->crclock without pinning the underlying backbone gateway. batadvblacheckclaim() still has the same naked pointer access pattern.

Reuse batadvblaclaimgetbackbone_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31657.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
23721387c409087fd3b97e274f34d3ddc0970b74
Fixed
f4858832ddef2f39f21e30b7226bbcd3c4b2bc96
Fixed
2f55b58b5a0bbed192d60c444a45a49cdf1b545f
Fixed
7962b522222628596ca9ecc8722efc95367aadbd
Fixed
4dee4c0688443aaf5bbec74aa203c851d1d53c35
Fixed
1f2dc36c297d27733f1b380ea644cf15a361bd7b
Fixed
82d8701b2c930d0e96b0dbc9115a218d791cb0d2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31657.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
6.1.169
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.135
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.82
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.23
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.13

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31657.json"