CVE-2025-38691: debian debian_linux Use of Uninitialized Resource
Vulnerability summary
CVE-2025-38691 is a medium (CVSS 5.5) Use of Uninitialized Resource vulnerability in debian debian_linux. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 46 · Related 41Timeline
- 04-09-2025PublishedVulnerability first disclosed.
- 15-10-2026Last 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
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
+0.01 pp
From 0.18% 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 causeAffected systems
Ubuntu149 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 · 153 products
References
43 links- lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Show all 43 references
- lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory