CVE-2026-139731

Source
https://cve.org/CVERecord?id=CVE-2026-139731
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139731.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139731
Downstream
Published
2026-11-30T13:37:27Z
Modified
2026-11-30T15:02:30Z
Summary
scsi: mpi3mr: Fix buffer overflow when caching log data
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Fix buffer overflow when caching log data

Each log data slot holds a header followed by the payload, but the copy was sized against the whole slot and so wrote one header length past the end of it. Subtracting the header on its own is not enough either, because the entry size is derived from the controller reply size and can be smaller than the header.

Work out the payload room first and clamp the copy to it.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139731.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
43ca110050988c7a0e581d24ce212ef34a4cdf29
Fixed
ae6868f44e1977cbc6ef4fccbf289cc100c0f42a
Fixed
415e38d80d19e1b754edec8b2b3819aab033b149
Fixed
2841b026431455e55015506fde993279a06a2b5b
Fixed
7a4044f890fc3091610ea6bfe62de24d7a81d0a4
Fixed
27b51ecdd2258bc261f5330eda0694bdc2685fd1
Fixed
9ff1af19c488efad66f2b803eefa0abd5fdac8f4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139731.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139731.json"