media: solo6x10: Check for out of bounds chip_id (Linux Linux)

CVE-2026-43316
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: media: solo6x10: Check for out of bounds chip_id Clang with CONFIG_UBSAN_SHIFT=y noticed a condition where a signed type (literal "1" is an "int") could end up being shifted beyond 32 bits, so instrumentation was added (and due to the double is_tw286x() call seen via inlining), Clang decides the second one must now be undefined behavior and elides the rest of the function[1]. This is a known problem with Clang (that is still being worked on), but we can avoid the entire problem by actually checking the existing max chip ID, and now there is no runtime instrumentation added at all since everything is known to be within bounds. Additionally use an unsigned value for the shift to remove the instrumentation even without the explicit bounds checking. [hverkuil: fix checkpatch warning for is_tw286x]

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected faa4fd2a09517b39cc1f5d622453f97a59acfdac < c327192ca26670cf6e588c1eeda66cd2fa97630e ; affected faa4fd2a09517b39cc1f5d622453f97a59acfdac < 0b3dadada2417782a63ce32dae05bafe1c949e3f ; affected faa4fd2a09517b39cc1f5d622453f97a59acfdac < 603e3859393ee2ce91393b7d05e6e56e4b66e5cd ; affected faa4fd2a09517b39cc1f5d622453f97a59acfdac < 33af366211ee78e3b074ff44a16121e537e86826 ; affected faa4fd2a09517b39cc1f5d622453f97a59acfdac < 5849ae68d7b8b6ad55cc1bf0d227dd2ae6362528 ; affected faa4fd2a09517b39cc1f5d622453f97a59acfdac < d29f33b2cf98e4901cd5457d1ee34062e808df73
Linux · Linuxaffected 2.6.36 ; unaffected 0 < 2.6.36 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD