CVE-2026-31690
publishedfirmware: thead: Fix buffer overflow and use standard endian macros
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe4b3cbd840e565484d0ad8d260d27c057466ed17 to < fbdb43f6bb2a15ed382d6eb0ef82c8b07b0d47bb · e4b3cbd840e565484d0ad8d260d27c057466ed17 to < bd15a5deb5a7251dc1a0cf9186f0253f7eacdb97 · e4b3cbd840e565484d0ad8d260d27c057466ed17 to < 88c4bd90725557796c15878b7cb70066e9e6b5ab · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.23 through 6.18.* (unaffected · semver) · 6.19.13 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: thead: Fix buffer overflow and use standard endian macros Addresses two issues in the TH1520 AON firmware protocol driver: 1. Fix a potential buffer overflow where the code used unsafe pointer arithmetic to access the 'mode' field through the 'resource' pointer with an offset. This was flagged by Smatch static checker as: "buffer overflow 'data' 2 <= 3" 2. Replace custom RPC_SET_BE* and RPC_GET_BE* macros with standard kernel endianness conversion macros (cpu_to_be16, etc.) for better portability and maintainability. The functionality was re-tested with the GPU power-up sequence, confirming the GPU powers up correctly and the driver probes successfully. [ 12.702370] powervr ffef400000.gpu: [drm] loaded firmware powervr/rogue_36.52.104.182_v1.fw [ 12.711043] powervr ffef400000.gpu: [drm] FW version v1.0 (build 6645434 OS) [ 12.719787] [drm] Initialized powervr 1.0.0 for ffef400000.gpu on minor 0
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e4b3cbd840e565484d0ad8d260d27c057466ed17 to < fbdb43f6bb2a15ed382d6eb0ef82c8b07b0d47bb (affected · git)e4b3cbd840e565484d0ad8d260d27c057466ed17 to < bd15a5deb5a7251dc1a0cf9186f0253f7eacdb97 (affected · git)e4b3cbd840e565484d0ad8d260d27c057466ed17 to < 88c4bd90725557796c15878b7cb70066e9e6b5ab (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.23 through 6.18.* (unaffected · semver)6.19.13 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
firmware: thead: Fix buffer overflow and use standard endian macros
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b3c576b69c22b58868cc276c7a3edb2300293ba62dcf2708c578121f263ac0e
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record