sh: intc: Sort the prio and sense lists after filling them

Summary

CVECVE-2026-143409
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-05 03:19:51 UTC
Updated2026-12-05 23:18:33 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: sh: intc: Sort the prio and sense lists after filling them register_intc_controller() sorts d->prio and d->sense right after allocating them, with hw->nr_prio_regs and hw->nr_sense_regs as the element count. The lists hold hw->nr_vectors entries and are only filled later, by intc_register_irq(). On SH7785, sh7785-irq0123 and sh7785-irq4567 have four vectors but the SoC's eleven priority registers, so sort() swaps 88 bytes in a 32 byte kmalloc object at boot. slub_debug=FZPU reports "Right Redzone overwritten" in kmalloc-32, and v6.5 and v6.6 panic in __kmem_cache_alloc_node() while registering sh7785-irq0123. Found with a custom QEMU model of the SH7785LCR. On it, v6.4 sh7785lcr_defconfig boots with SLAB, the defconfig default before v6.5, and hangs before the console is up when built with SLUB. Sort the lists once all vectors are registered, with the number of entries that were added.

Risk And Classification

Primary CVSS: v3.1 8.4 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.4HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED8.4HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee da79df48347ad484522cd3cc193b5ec4f7d39ca6 git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee 89486bae25ce1c385cf2601d05f9ea4c4899a3bf git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee 6ef3f2107651f4bcdae90aecea3f85badf7ccd44 git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee 16d83a039d03eccd0d26e84975fd504b2a073cb6 git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee 32f64839b58d2b0e846204eca3934f9d9719116a git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee 35acdbaaddd2e69882edea445122e484b59a2c1e git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee b46e228b2a1096fcae61bbf4eedffe1349cee788 git Not specified
CNA Linux Linux affected b59f9f9775e643435bba76e30e59e47c19c56dee 94a219eda3b5fb1d1753a5ecf28b171c8f308a27 git Not specified
CNA Linux Linux affected 3.4 Not specified
CNA Linux Linux unaffected 3.4 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/89486bae25ce1c385cf2601d05f9ea4c4899a3bf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/94a219eda3b5fb1d1753a5ecf28b171c8f308a27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b46e228b2a1096fcae61bbf4eedffe1349cee788 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/da79df48347ad484522cd3cc193b5ec4f7d39ca6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/35acdbaaddd2e69882edea445122e484b59a2c1e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6ef3f2107651f4bcdae90aecea3f85badf7ccd44 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/16d83a039d03eccd0d26e84975fd504b2a073cb6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/32f64839b58d2b0e846204eca3934f9d9719116a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report