{"id":"CVE-2026-90274","aliases":["CVE-2026-90274"],"related":[],"kind":"vulnerability","state":"published","title":"coresight: etm4x: fix underflow for usage of (nrseqstate - 1)","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: etm4x: fix underflow for usage of (nrseqstate - 1)\n\nAccording to IHI006H Embedded Trace Macrocell Architecture\nSpecification[0], TRCSEQEVR<n> is implemented only when\nTRCIDR5.NUMSEQSTATE is 0b100, in which case n ranges from 0 to 2;\notherwise, TRCIDR5.NUMSEQSTATE is 0b000.\n\nIOW, the number of usage in the initialisation or setting\nTRCSEQEVR<n> with drvdata->nrseqstate - 1 in the loop could make\nunderflow issue when TRCIDR5.NUMSEQSTATE is 0b000.\n\nTherefore, introduce nr_seq_ctrls field and untie it from nrseqstate.\nAs part of this introduce ETM_MAX_SEQ_TRANSITIONS macro and\napply nr_seq_ctrls and above macro to TRCSEQEVR<n> relevant fields setup.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: etm4x: fix underflow for usage of (nrseqstate - 1)\n\nAccording to IHI006H Embedded Trace Macrocell Architecture\nSpecification[0], TRCSEQEVR<n> is implemented only when\nTRCIDR5.NUMSEQSTATE is 0b100, in which case n ranges from 0 to 2;\notherwise, TRCIDR5.NUMSEQSTATE is 0b000.\n\nIOW, the number of usage in the initialisation or setting\nTRCSEQEVR<n> with drvdata->nrseqstate - 1 in the loop could make\nunderflow issue when TRCIDR5.NUMSEQSTATE is 0b000.\n\nTherefore, introduce nr_seq_ctrls field and untie it from nrseqstate.\nAs part of this introduce ETM_MAX_SEQ_TRANSITIONS macro and\napply nr_seq_ctrls and above macro to TRCSEQEVR<n> relevant fields setup.","source":"cvelist"}],"published":"2026-09-17T16:08:07.269Z","modified":"2026-10-19T09:19:20.947Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"8d669db59f7283b838e029af29da12e505265fae","status":"affected"},{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"4091f2d5b26d117c992ffcce1a5df425a0daedcd","status":"affected"},{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"be7b2de5b9a96ae68ffa3528e0a40d63e0fd8148","status":"affected"},{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"4f9a0f548413bf864f609c9f4bc56e3f1b3577d4","status":"affected"},{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"1ade9a335c69fc735cb7b3f222ed35ab135540fb","status":"affected"},{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"5ac900f73ce1d4d8308f40752b51bc8a02b244d2","status":"affected"},{"type":"git","introduced":"2e1cdfe184b5202d51e0611d7a051e2bea303946","fixed":"1674d9bff8073bdee5dbc200f56fc3caa28d0566","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8d669db59f7283b838e029af29da12e505265fae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4091f2d5b26d117c992ffcce1a5df425a0daedcd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be7b2de5b9a96ae68ffa3528e0a40d63e0fd8148","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f9a0f548413bf864f609c9f4bc56e3f1b3577d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ade9a335c69fc735cb7b3f222ed35ab135540fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ac900f73ce1d4d8308f40752b51bc8a02b244d2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1674d9bff8073bdee5dbc200f56fc3caa28d0566","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90274","url":"https://www.cve.org/CVERecord?id=CVE-2026-90274","licence":"CVE Terms of Use","modified":"2026-10-19T09:00:51.909Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90274","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90274","licence":"Public domain","modified":"2026-10-19T09:19:20.947Z"}],"updatedAt":"2026-11-25T22:59:39.365Z","epss":{"score":0.00215,"percentile":0.06795,"date":"2026-11-30T12:00:22.000Z"}}