{"api_version":"1","generated_at":"2026-11-30T18:22:10+00:00","cve":"CVE-2026-139731","urls":{"html":"https://cve.report/CVE-2026-139731","api":"https://cve.report/api/cve/CVE-2026-139731.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139731","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139731"},"summary":{"title":"scsi: mpi3mr: Fix buffer overflow when caching log data","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix buffer overflow when caching log data\n\nEach log data slot holds a header followed by the payload, but the copy was\nsized against the whole slot and so wrote one header length past the end of\nit. Subtracting the header on its own is not enough either, because the\nentry size is derived from the controller reply size and can be smaller\nthan the header.\n\nWork out the payload room first and clamp the copy to it.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:04","updated_at":"2026-11-30 14:20:04"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/27b51ecdd2258bc261f5330eda0694bdc2685fd1","name":"https://git.kernel.org/stable/c/27b51ecdd2258bc261f5330eda0694bdc2685fd1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7a4044f890fc3091610ea6bfe62de24d7a81d0a4","name":"https://git.kernel.org/stable/c/7a4044f890fc3091610ea6bfe62de24d7a81d0a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ae6868f44e1977cbc6ef4fccbf289cc100c0f42a","name":"https://git.kernel.org/stable/c/ae6868f44e1977cbc6ef4fccbf289cc100c0f42a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/415e38d80d19e1b754edec8b2b3819aab033b149","name":"https://git.kernel.org/stable/c/415e38d80d19e1b754edec8b2b3819aab033b149","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2841b026431455e55015506fde993279a06a2b5b","name":"https://git.kernel.org/stable/c/2841b026431455e55015506fde993279a06a2b5b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9ff1af19c488efad66f2b803eefa0abd5fdac8f4","name":"https://git.kernel.org/stable/c/9ff1af19c488efad66f2b803eefa0abd5fdac8f4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139731","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139731","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43ca110050988c7a0e581d24ce212ef34a4cdf29 ae6868f44e1977cbc6ef4fccbf289cc100c0f42a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43ca110050988c7a0e581d24ce212ef34a4cdf29 415e38d80d19e1b754edec8b2b3819aab033b149 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43ca110050988c7a0e581d24ce212ef34a4cdf29 2841b026431455e55015506fde993279a06a2b5b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43ca110050988c7a0e581d24ce212ef34a4cdf29 7a4044f890fc3091610ea6bfe62de24d7a81d0a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43ca110050988c7a0e581d24ce212ef34a4cdf29 27b51ecdd2258bc261f5330eda0694bdc2685fd1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 43ca110050988c7a0e581d24ce212ef34a4cdf29 9ff1af19c488efad66f2b803eefa0abd5fdac8f4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/scsi/mpi3mr/mpi3mr_app.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ae6868f44e1977cbc6ef4fccbf289cc100c0f42a","status":"affected","version":"43ca110050988c7a0e581d24ce212ef34a4cdf29","versionType":"git"},{"lessThan":"415e38d80d19e1b754edec8b2b3819aab033b149","status":"affected","version":"43ca110050988c7a0e581d24ce212ef34a4cdf29","versionType":"git"},{"lessThan":"2841b026431455e55015506fde993279a06a2b5b","status":"affected","version":"43ca110050988c7a0e581d24ce212ef34a4cdf29","versionType":"git"},{"lessThan":"7a4044f890fc3091610ea6bfe62de24d7a81d0a4","status":"affected","version":"43ca110050988c7a0e581d24ce212ef34a4cdf29","versionType":"git"},{"lessThan":"27b51ecdd2258bc261f5330eda0694bdc2685fd1","status":"affected","version":"43ca110050988c7a0e581d24ce212ef34a4cdf29","versionType":"git"},{"lessThan":"9ff1af19c488efad66f2b803eefa0abd5fdac8f4","status":"affected","version":"43ca110050988c7a0e581d24ce212ef34a4cdf29","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/scsi/mpi3mr/mpi3mr_app.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.19"},{"lessThan":"5.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix buffer overflow when caching log data\n\nEach log data slot holds a header followed by the payload, but the copy was\nsized against the whole slot and so wrote one header length past the end of\nit. Subtracting the header on its own is not enough either, because the\nentry size is derived from the controller reply size and can be smaller\nthan the header.\n\nWork out the payload room first and clamp the copy to it."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:27.242Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ae6868f44e1977cbc6ef4fccbf289cc100c0f42a"},{"url":"https://git.kernel.org/stable/c/415e38d80d19e1b754edec8b2b3819aab033b149"},{"url":"https://git.kernel.org/stable/c/2841b026431455e55015506fde993279a06a2b5b"},{"url":"https://git.kernel.org/stable/c/7a4044f890fc3091610ea6bfe62de24d7a81d0a4"},{"url":"https://git.kernel.org/stable/c/27b51ecdd2258bc261f5330eda0694bdc2685fd1"},{"url":"https://git.kernel.org/stable/c/9ff1af19c488efad66f2b803eefa0abd5fdac8f4"}],"title":"scsi: mpi3mr: Fix buffer overflow when caching log data","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139731","datePublished":"2026-11-30T13:37:27.242Z","dateReserved":"2026-11-30T13:22:15.950Z","dateUpdated":"2026-11-30T13:37:27.242Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:04","lastModifiedDate":"2026-11-30 14:20:04","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139731","Ordinal":"1","Title":"scsi: mpi3mr: Fix buffer overflow when caching log data","CVE":"CVE-2026-139731","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139731","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix buffer overflow when caching log data\n\nEach log data slot holds a header followed by the payload, but the copy was\nsized against the whole slot and so wrote one header length past the end of\nit. Subtracting the header on its own is not enough either, because the\nentry size is derived from the controller reply size and can be smaller\nthan the header.\n\nWork out the payload room first and clamp the copy to it.","Type":"Description","Title":"scsi: mpi3mr: Fix buffer overflow when caching log data"}]}}}