CVE-2026-31657: linux NULL Pointer Dereference
Vulnerability summary
CVE-2026-31657 is a critical (CVSS 9.8) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 32.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 41 · Related 48Timeline
- 24-04-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
0.00 pp
From 0.40% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-476NULL Pointer DereferenceThe product dereferences a pointer that it expects to be valid but is NULL.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Ubuntu157 products
- linuxAll versions (No fix recorded) | < 4.15.0-254.266 | < 5.4.0-234.254 | < 5.15.0-185.195 | < 6.8.0-134.134 | < 6.17.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1195.208 | < 5.4.0-1162.173 | < 5.15.0-1111.118 | < 6.8.0-1060.63 | < 6.17.0-1019.19
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 5202f071b367ffbc8e279fc7a00db14f5e587f52 | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 69d1ce9c72eca91203ffdb8d08bacd511100aec6 | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < f4858832ddef2f39f21e30b7226bbcd3c4b2bc96 | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 2f55b58b5a0bbed192d60c444a45a49cdf1b545f | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 7962b522222628596ca9ecc8722efc95367aadbd | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 4dee4c0688443aaf5bbec74aa203c851d1d53c35 | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 1f2dc36c297d27733f1b380ea644cf15a361bd7b | ≥ 23721387c409087fd3b97e274f34d3ddc0970b74, < 82d8701b2c930d0e96b0dbc9115a218d791cb0d2 | 3.5
- linux_kernel≥ 3.5.1, < 6.1.169 | ≥ 6.2, < 6.6.135 | ≥ 6.7, < 6.12.82 | ≥ 6.13, < 6.18.23 | ≥ 6.19, < 6.19.13 | 3.5 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
- linux< 6.1.170-1 | < 6.12.85-1 | < 6.19.13-1
3 vendors · 160 products