{"api_version":"1","generated_at":"2026-12-01T14:27:26+00:00","cve":"CVE-2026-139687","urls":{"html":"https://cve.report/CVE-2026-139687","api":"https://cve.report/api/cve/CVE-2026-139687.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139687","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139687"},"summary":{"title":"cxl/hdm: Reject switch decoder interleave ways that overflow targets","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/hdm: Reject switch decoder interleave ways that overflow targets\n\nSwitch decoder enumeration validates that the interleave ways encoding\nis legal, but not that the resulting number of ways fits the available\ntargets. This can overrun the target array (target_list.target_id[])\nduring enumeration of 12 or 16 way interleaves.\n\nBound the target count where it is established rather than at each use.\nReject an HDM capability whose reported target count is zero or exceeds\nthe target list register capacity, and reject a zero target switch\ndecoder allocation in cxl_switch_decoder_init(). Enumeration is then\nleft with a single check: reject a decoder whose interleave ways exceed\nthe targets it has.\n\nAdd a clarifying comment that target_count is a direct count, not\n0-based like decoder_count.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:57","updated_at":"2026-11-30 14:19:57"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/3696326ca14cf018788d64232a068fdf26b1ff31","name":"https://git.kernel.org/stable/c/3696326ca14cf018788d64232a068fdf26b1ff31","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b877b56f723509f6ee427f16f468e71ffd0ae8b7","name":"https://git.kernel.org/stable/c/b877b56f723509f6ee427f16f468e71ffd0ae8b7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d78f2bbb536a6c813bcc61b03ebb634afa061e71","name":"https://git.kernel.org/stable/c/d78f2bbb536a6c813bcc61b03ebb634afa061e71","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/32833685fe18f9de96bf3ae674a5123c750245f8","name":"https://git.kernel.org/stable/c/32833685fe18f9de96bf3ae674a5123c750245f8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2bd35f247569de9f5158d89a8ef755ac48d91b00","name":"https://git.kernel.org/stable/c/2bd35f247569de9f5158d89a8ef755ac48d91b00","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139687","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139687","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d17d0540a0dbf109210f7b57a37571e2978da0fa b877b56f723509f6ee427f16f468e71ffd0ae8b7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d17d0540a0dbf109210f7b57a37571e2978da0fa 2bd35f247569de9f5158d89a8ef755ac48d91b00 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d17d0540a0dbf109210f7b57a37571e2978da0fa d78f2bbb536a6c813bcc61b03ebb634afa061e71 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d17d0540a0dbf109210f7b57a37571e2978da0fa 32833685fe18f9de96bf3ae674a5123c750245f8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d17d0540a0dbf109210f7b57a37571e2978da0fa 3696326ca14cf018788d64232a068fdf26b1ff31 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.18 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/cxl/core/hdm.c","drivers/cxl/core/port.c","drivers/cxl/cxl.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b877b56f723509f6ee427f16f468e71ffd0ae8b7","status":"affected","version":"d17d0540a0dbf109210f7b57a37571e2978da0fa","versionType":"git"},{"lessThan":"2bd35f247569de9f5158d89a8ef755ac48d91b00","status":"affected","version":"d17d0540a0dbf109210f7b57a37571e2978da0fa","versionType":"git"},{"lessThan":"d78f2bbb536a6c813bcc61b03ebb634afa061e71","status":"affected","version":"d17d0540a0dbf109210f7b57a37571e2978da0fa","versionType":"git"},{"lessThan":"32833685fe18f9de96bf3ae674a5123c750245f8","status":"affected","version":"d17d0540a0dbf109210f7b57a37571e2978da0fa","versionType":"git"},{"lessThan":"3696326ca14cf018788d64232a068fdf26b1ff31","status":"affected","version":"d17d0540a0dbf109210f7b57a37571e2978da0fa","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/cxl/core/hdm.c","drivers/cxl/core/port.c","drivers/cxl/cxl.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.18"},{"lessThan":"5.18","status":"unaffected","version":"0","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.6.163","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/hdm: Reject switch decoder interleave ways that overflow targets\n\nSwitch decoder enumeration validates that the interleave ways encoding\nis legal, but not that the resulting number of ways fits the available\ntargets. This can overrun the target array (target_list.target_id[])\nduring enumeration of 12 or 16 way interleaves.\n\nBound the target count where it is established rather than at each use.\nReject an HDM capability whose reported target count is zero or exceeds\nthe target list register capacity, and reject a zero target switch\ndecoder allocation in cxl_switch_decoder_init(). Enumeration is then\nleft with a single check: reject a decoder whose interleave ways exceed\nthe targets it has.\n\nAdd a clarifying comment that target_count is a direct count, not\n0-based like decoder_count."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:03.086Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b877b56f723509f6ee427f16f468e71ffd0ae8b7"},{"url":"https://git.kernel.org/stable/c/2bd35f247569de9f5158d89a8ef755ac48d91b00"},{"url":"https://git.kernel.org/stable/c/d78f2bbb536a6c813bcc61b03ebb634afa061e71"},{"url":"https://git.kernel.org/stable/c/32833685fe18f9de96bf3ae674a5123c750245f8"},{"url":"https://git.kernel.org/stable/c/3696326ca14cf018788d64232a068fdf26b1ff31"}],"title":"cxl/hdm: Reject switch decoder interleave ways that overflow targets","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139687","datePublished":"2026-11-30T13:37:03.086Z","dateReserved":"2026-11-30T13:22:15.947Z","dateUpdated":"2026-11-30T13:37:03.086Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:57","lastModifiedDate":"2026-11-30 14:19:57","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139687","Ordinal":"1","Title":"cxl/hdm: Reject switch decoder interleave ways that overflow tar","CVE":"CVE-2026-139687","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139687","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/hdm: Reject switch decoder interleave ways that overflow targets\n\nSwitch decoder enumeration validates that the interleave ways encoding\nis legal, but not that the resulting number of ways fits the available\ntargets. This can overrun the target array (target_list.target_id[])\nduring enumeration of 12 or 16 way interleaves.\n\nBound the target count where it is established rather than at each use.\nReject an HDM capability whose reported target count is zero or exceeds\nthe target list register capacity, and reject a zero target switch\ndecoder allocation in cxl_switch_decoder_init(). Enumeration is then\nleft with a single check: reject a decoder whose interleave ways exceed\nthe targets it has.\n\nAdd a clarifying comment that target_count is a direct count, not\n0-based like decoder_count.","Type":"Description","Title":"cxl/hdm: Reject switch decoder interleave ways that overflow tar"}]}}}