5.5

CVE-2025-38691: pNFS: Fix uninited ptr deref in block/scsi layout

Modified
AliasesUBUNTU-CVE-2025-38691DEBIAN-CVE-2025-38691
Published 04-09-2025Last modified 05-11-2026

Vulnerability summary

CVE-2025-38691 is a medium (CVSS 5.5) Use of Uninitialized Resource vulnerability in debian debian_linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 46 · Related 41

Timeline

  1. 04-09-2025
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu150 products
  • linuxAll versions (No fix recorded) | < 5.15.0-163.173 | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1097.104 | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linux< 6.1.153-1 | < 6.12.43-1 | < 6.16.3-1
  • debian_linuxEOL11.0
Linux2 products
  • linux≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 579b85f893d9885162e1cabf99a4a088916e143e | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 2896f101110076ac6bf99d7aaf463d61e26f89dd | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 4f783333cbfa2ee7d4aa8e47f6bd1b3f77534fcf | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 9be5c04beca3202d0a5f09fb4b2ecb644caa0bc5 | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 24334f3cf8a294f253071b5bf22d754dbb6d0f2d | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < f0b2eee3fbba9b7e3746ef698424ef5e4a197776 | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 94ec6d939031a616474376dadbf4a8d0ef8b0bcc | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 37c3443a2685528f972d910a6fb87716b96fef46 | ≥ 34dc93c2fc04da0d01acf8a1660b4ab276208af7, < 9768797c219326699778fba9cd3b607b2f1e7950 | 3.18
  • linux_kernel≥ 3.18, < 5.4.297 | ≥ 5.5, < 5.10.241 | ≥ 5.11, < 5.15.190 | ≥ 5.16, < 6.1.149 | ≥ 6.2, < 6.6.103 | ≥ 6.7, < 6.12.43 | ≥ 6.13, < 6.15.11 | ≥ 6.16, < 6.16.2

3 vendors · 154 products

References

43 links
Show all 43 references