boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Thursday, November 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2025-38691

Linux Linux — pNFS: Fix uninited ptr deref in block/scsi layout
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  H    5.5   .0019    8.8     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    34dc93c2fc04da0d01acf8a1660b4ab276208af7 –  —
  Linux    3.18 –                                      5.4.297
TIMELINE
  Apr 16  Reserved by Linux
  Sep 4   Published (CNA: Linux)
  Oct 19  ENRICHED — CVE-2025-38691 (Linux). Received CVSS 5.5 and CPE data from NVD.
CWE-908 · CNA: Linux · CVSS v3.1 · 13 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: pNFS: Fix uninited ptr deref in block/scsi layout The error occurs on the third attempt to encode extents. When function ext_tree_prepare_commit() reallocates a larger buffer to retry encoding extents, the "layoutupdate_pages" page array is initialized only after the retry loop. But ext_tree_free_commitdata() is called on every iteration and tries to put pages in the array, thus dereferencing uninitialized pointers. An additional problem is that there is no limit on the maximum possible buffer_size. When there are too many extents, the client may create a layoutcommit that is larger than the maximum possible RPC size accepted by the server. During testing, we observed two typical scenarios. First, one memory page for extents is enough when we work with small files, append data to the end of the file, or preallocate extents before writing. But when we fill a new large file without preallocating, the number of extents can be huge, and counting the number of written extents in ext_tree_encode_commit() does not help much. Since this number increases even more between unlocking and locking of ext_tree, the reallocated buffer may not be large enough again and again.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
April 16, 2025ReservedReserved by Linux
September 4, 2025PublishedPublished (CNA: Linux)
October 19, 2026ENRICHEDENRICHED — CVE-2025-38691 (Linux). Received CVSS 5.5 and CPE data from NVD.

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux—34dc93c2fc04da0d01acf8a1660b4ab276208af7—
LinuxLinux—3.185.4.297

Weaknesses

CWE-908

References (13)

Related

Authoritative record: CVE-2025-38691 at cve.org

Vendors: linux

Weaknesses: CWE-908

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-38691 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Thursday, November 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.