Bug 2541367 (CVE-2026-98146) - CVE-2026-98146 kernel: accel/amdxdna: Remove __counted_by from struct amdxdna_cmd_chain
Summary: CVE-2026-98146 kernel: accel/amdxdna: Remove __counted_by from struct amdxdna...
Keywords:
Status: NEW
Alias: CVE-2026-98146
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 11:35 UTC by OSIDB Bzimport
Modified: 2026-09-28 16:04 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 11:35:13 UTC
In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Remove __counted_by from struct amdxdna_cmd_chain

struct amdxdna_cmd_chain contains a flexible array annotated with
__counted_by(command_count). Since the structure is stored in shared
AMDXDNA_BO_SHARE memory, userspace can modify command_count concurrently.
If command_count is changed to zero, the bounds check generated from
__counted_by may fail and trigger a kernel panic.

Remove __counted_by to avoid relying on the userspace-controlled
command_count for the flexible array bounds check.


Note You need to log in before you can comment on or make changes to this bug.