i2c: validate user data in compat ioctl (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: validate user data in compat ioctl Wrong user data may cause warning in i2c_transfer(), ex: zero msgs. Userspace should not be able to trigger warnings, so this patch adds validation checks for user data in compact ioctl to prevent reported warnings
Weaknesses (CWE)
- CWE-754 — Improper Check for Unusual or Exceptional Conditions
References
- https://git.kernel.org/stable/c/407c8708fb1bf2d4afc5337ef50635cf540c364b
- https://git.kernel.org/stable/c/9e4a3f47eff476097e0c7faac04d1831fc70237d
- https://git.kernel.org/stable/c/8d31cbab4c295d7010ebb729e9d02d0e9cece18f
- https://git.kernel.org/stable/c/f68599581067e8a5a8901ba9eb270b4519690e26
- https://git.kernel.org/stable/c/bb436283e25aaf1533ce061605d23a9564447bdf
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-33582
- GCVE · GCVE-0-2021-46934
CERT-FR advisories
- CERTFR-2024-AVI-0741 — Multiples vulnérabilités dans Juniper Secure Analytics · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0646 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0471 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0363 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0329 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0265 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0242 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15.0 < 4.19.224cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20.0 < 5.4.170cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5.0 < 5.10.90cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11.0 < 5.15.13
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b < 407c8708fb1bf2d4afc5337ef50635cf540c364b ; affected 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b < 9e4a3f47eff476097e0c7faac04d1831fc70237d ; affected 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f ; affected 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b < f68599581067e8a5a8901ba9eb270b4519690e26 ; affected 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b < bb436283e25aaf1533ce061605d23a9564447bdf |
| Linux · Linux | affected 4.15 ; unaffected 0 < 4.15 ; unaffected 4.19.224 ≤ 4.19.* ; unaffected 5.4.170 ≤ 5.4.* ; unaffected 5.10.90 ≤ 5.10.* ; unaffected 5.15.13 ≤ 5.15.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |