{"id":"CVE-2026-93077","state":"PUBLISHED","title":"cxl/features: Clamp Get Feature output size to the remaining buffer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Clamp Get Feature output size to the remaining buffer\n\ncxl_get_feature() reads a feature in a loop but passes a fixed size_out\nas the output capacity every iteration. On the last partial iteration\nthe buffer has less room left, so a device that returns more than asked\ncan overflow feat_out.\n\nUse the per-iter size data_to_rd_size, which already tracks the\nremaining room, as the output capacity.","publishedAt":"2026-09-17T16:10:59.026Z","updatedAt":"2026-10-19T09:05:12.937Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5e5ac21f629de796ab5d598b59c5e468c6fe4f95","status":"affected","lessThan":"b8abbd5c2928fd839dab702244cc57b228ab43aa","versionType":"git"},{"version":"5e5ac21f629de796ab5d598b59c5e468c6fe4f95","status":"affected","lessThan":"ca95b15a0760e7724e61addbdd61050be13b6406","versionType":"git"},{"version":"5e5ac21f629de796ab5d598b59c5e468c6fe4f95","status":"affected","lessThan":"2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]}],"references":["https://git.kernel.org/stable/c/b8abbd5c2928fd839dab702244cc57b228ab43aa","https://git.kernel.org/stable/c/ca95b15a0760e7724e61addbdd61050be13b6406","https://git.kernel.org/stable/c/2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93077.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93077","state":"PUBLISHED","datePublished":"2026-09-17T16:10:59.026Z","dateUpdated":"2026-10-19T09:05:12.937Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T15:57:05.661Z"},"containers":{"cna":{"title":"cxl/features: Clamp Get Feature output size to the remaining buffer","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Clamp Get Feature output size to the remaining buffer\n\ncxl_get_feature() reads a feature in a loop but passes a fixed size_out\nas the output capacity every iteration. On the last partial iteration\nthe buffer has less room left, so a device that returns more than asked\ncan overflow feat_out.\n\nUse the per-iter size data_to_rd_size, which already tracks the\nremaining room, as the output capacity."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5e5ac21f629de796ab5d598b59c5e468c6fe4f95","status":"affected","lessThan":"b8abbd5c2928fd839dab702244cc57b228ab43aa","versionType":"git"},{"version":"5e5ac21f629de796ab5d598b59c5e468c6fe4f95","status":"affected","lessThan":"ca95b15a0760e7724e61addbdd61050be13b6406","versionType":"git"},{"version":"5e5ac21f629de796ab5d598b59c5e468c6fe4f95","status":"affected","lessThan":"2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/features.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b8abbd5c2928fd839dab702244cc57b228ab43aa"},{"url":"https://git.kernel.org/stable/c/ca95b15a0760e7724e61addbdd61050be13b6406"},{"url":"https://git.kernel.org/stable/c/2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:05:12.937Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}