CVE-2026-139658: Linux kernel · pstore: reject persistent RAM zones too small for the buffer header
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in b26d807702eadb46be730f5e96bfe7df0e656259 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 13:46 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in b26d807702eadb46be730f5e96bfe7df0e656259, b1e677c18ba6c194fa247ac0f095417cf492a0eb, ae15c01c2f7211eb475e2d376c5a8434937133c1 +5
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: pstore: reject persistent RAM zones too small for the buffer header persistent_ram_buffer_map() computes prz->buffer_size = size - sizeof(struct persistent_ram_buffer); without checking that size is large enough to hold the header. A ramoops zone configured with a tiny size (e.g. ramoops.pmsg_size=1) underflows buffer_size to a huge value, which defeats every bounds check in persistent_ram_write() and persistent_ram_write_user(); a write to /dev/pmsg0 then copies user data far past the end of the zone and corrupts kernel memory. Reject zones that are not larger than the buffer header.
References
- git.kernel.org/stable/c/184af306c66bc32f95222fc20b9801425913da7a (opens in a new tab)
- git.kernel.org/stable/c/981d4e280d946bb9bb44d83a9dcfc349e94c7b00 (opens in a new tab)
- git.kernel.org/stable/c/b26d807702eadb46be730f5e96bfe7df0e656259 (opens in a new tab)
- git.kernel.org/stable/c/b1e677c18ba6c194fa247ac0f095417cf492a0eb (opens in a new tab)
- git.kernel.org/stable/c/1edcca0c7aed5dea45d625f1ef66e94d824b27db (opens in a new tab)
- git.kernel.org/stable/c/ae15c01c2f7211eb475e2d376c5a8434937133c1 (opens in a new tab)
- git.kernel.org/stable/c/34fd79e5551c756443a13a6dcd1b9eb5de012d1f (opens in a new tab)
- git.kernel.org/stable/c/1b30df8662ac85a6759be4332f3bec7e3cb28efc (opens in a new tab)