CVE-2026-93077

cxl/features: Clamp Get Feature output size to the remaining buffer

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

Description

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

cxl/features: Clamp Get Feature output size to the remaining buffer

cxl_get_feature() reads a feature in a loop but passes a fixed size_out as the output capacity every iteration. On the last partial iteration the buffer has less room left, so a device that returns more than asked can overflow feat_out.

Use the per-iter size data_to_rd_size, which already tracks the remaining room, as the output capacity.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5e5ac21f629de796ab5d598b59c5e468c6fe4f95 to before b8abbd5c2928fd839dab702244cc57b228ab43aaAffected
  • 5e5ac21f629de796ab5d598b59c5e468c6fe4f95 to before ca95b15a0760e7724e61addbdd61050be13b6406Affected
  • 5e5ac21f629de796ab5d598b59c5e468c6fe4f95 to before 2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.