CVE-2026-23002
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
25/01/2026
Last modified:
25/03/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
lib/buildid: use __kernel_read() for sleepable context<br />
<br />
Prevent a "BUG: unable to handle kernel NULL pointer dereference in<br />
filemap_read_folio".<br />
<br />
For the sleepable context, convert freader to use __kernel_read() instead<br />
of direct page cache access via read_cache_folio(). This simplifies the<br />
faultable code path by using the standard kernel file reading interface<br />
which handles all the complexity of reading file data.<br />
<br />
At the moment we are not changing the code for non-sleepable context which<br />
uses filemap_get_folio() and only succeeds if the target folios are<br />
already in memory and up-to-date. The reason is to keep the patch simple<br />
and easier to backport to stable kernels.<br />
<br />
Syzbot repro does not crash the kernel anymore and the selftests run<br />
successfully.<br />
<br />
In the follow up we will make __kernel_read() with IOCB_NOWAIT work for<br />
non-sleepable contexts. In addition, I would like to replace the<br />
secretmem check with a more generic approach and will add fstest for the<br />
buildid code.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12.1 (including) | 6.12.67 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



