CVE-2026-31657
CriticalIn 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.
CVSS 3.1 score
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-476CVE-2026-31657 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.5
and later are affected. Fixed in
5.10.258,
5.15.209,
6.1.169,
6.6.135,
6.12.82,
6.18.23,
6.19.13,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31657 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1f2dc36c297d27733f1b380ea644cf15a361bd7b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2f55b58b5a0bbed192d60c444a45a49cdf1b545f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4dee4c0688443aaf5bbec74aa203c851d1d53c35
Frequently asked questions
-
What is CVE-2026-31657?
CVE-2026-31657 is a Critical severity Linux kernel vulnerability with a CVSS score of 9.8 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 3.5 onward and has been patched in 5.10.258, 5.15.209, 6.1.169 and others. CVE-2026-31657 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31657?
CVE-2026-31657 has a CVSS score of 9.8 out of 10, rated Critical severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2026-31657?
Yes — CVE-2026-31657 has been patched. Fixed versions include 5.10.258, 5.15.209, 6.1.169 and others. If you are running Linux kernel 3.5 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31657 actively exploited?
No — CVE-2026-31657 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →