{"id":"CVE-2026-93078","state":"PUBLISHED","title":"cxl/features: Reject Set Features output buffer smaller than the header","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Reject Set Features output buffer smaller than the header\n\ncxlctl_set_feature() sizes its output buffer from the user's\nfwctl_rpc.out_len but never checks it is large enough to hold even the\nfwctl_rpc_cxl_out header. With out_len == 0 , kvzalloc() returns\nZERO_SIZE_PTR, which passes the !rpc_out check, the subsequent\nrpc_out->size = 0 then writes through the poison pointer.\n\nReject requests whose output buffer can't hold the response header,\nbefore allocating. The Set Feature reply carries no payload, so the\nheader is all that is required.","publishedAt":"2026-09-17T16:10:59.686Z","updatedAt":"2026-10-19T09:05:14.083Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","status":"affected","lessThan":"1281dc84c81577b51e2b61c24617c9f44b2cdb99","versionType":"git"},{"version":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","status":"affected","lessThan":"16b7c99eff030c6ea11ca24efa4b9f989cc74093","versionType":"git"},{"version":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","status":"affected","lessThan":"cde18d6c1d913a67ab0afd3d9475ece4be79da50","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/1281dc84c81577b51e2b61c24617c9f44b2cdb99","https://git.kernel.org/stable/c/16b7c99eff030c6ea11ca24efa4b9f989cc74093","https://git.kernel.org/stable/c/cde18d6c1d913a67ab0afd3d9475ece4be79da50"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93078.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93078","state":"PUBLISHED","datePublished":"2026-09-17T16:10:59.686Z","dateUpdated":"2026-10-19T09:05:14.083Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T15:57:05.661Z"},"containers":{"cna":{"title":"cxl/features: Reject Set Features output buffer smaller than the header","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Reject Set Features output buffer smaller than the header\n\ncxlctl_set_feature() sizes its output buffer from the user's\nfwctl_rpc.out_len but never checks it is large enough to hold even the\nfwctl_rpc_cxl_out header. With out_len == 0 , kvzalloc() returns\nZERO_SIZE_PTR, which passes the !rpc_out check, the subsequent\nrpc_out->size = 0 then writes through the poison pointer.\n\nReject requests whose output buffer can't hold the response header,\nbefore allocating. The Set Feature reply carries no payload, so the\nheader is all that is required."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","status":"affected","lessThan":"1281dc84c81577b51e2b61c24617c9f44b2cdb99","versionType":"git"},{"version":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","status":"affected","lessThan":"16b7c99eff030c6ea11ca24efa4b9f989cc74093","versionType":"git"},{"version":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","status":"affected","lessThan":"cde18d6c1d913a67ab0afd3d9475ece4be79da50","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/1281dc84c81577b51e2b61c24617c9f44b2cdb99"},{"url":"https://git.kernel.org/stable/c/16b7c99eff030c6ea11ca24efa4b9f989cc74093"},{"url":"https://git.kernel.org/stable/c/cde18d6c1d913a67ab0afd3d9475ece4be79da50"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:05:14.083Z"},"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"}}}}}