CVE-2026-90274: coresight: etm4x: fix underflow for usage of (nrseqstate - 1)

Published Sep 17, 2026
·
Updated

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

coresight: etm4x: fix underflow for usage of (nrseqstate - 1)

According to IHI006H Embedded Trace Macrocell Architecture Specification[0], TRCSEQEVR<n> is implemented only when TRCIDR5.NUMSEQSTATE is 0b100, in which case n ranges from 0 to 2; otherwise, TRCIDR5.NUMSEQSTATE is 0b000.

IOW, the number of usage in the initialisation or setting TRCSEQEVR<n> with drvdata->nrseqstate - 1 in the loop could make underflow issue when TRCIDR5.NUMSEQSTATE is 0b000.

Therefore, introduce nrseqctrls field and untie it from nrseqstate. As part of this introduce ETMMAXSEQTRANSITIONS macro and apply nrseqctrls and above macro to TRCSEQEVR<n> relevant fields setup.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Linux kernel systems using the CoreSight ETM4x driver are affected when the ETM reports TRCIDR5.NUMSEQSTATE as 0b000, meaning the TRCSEQEVR sequence-event registers are not implemented.

2

When can the underflow occur?

The underflow can occur during initialization or configuration of TRCSEQEVR<n> fields when the driver uses drvdata->nrseqstate - 1 in a loop despite NUMSEQSTATE being 0b000.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203