CVE-2022-48663
gpio: mockup: fix NULL pointer dereference when removing debugfs
MEDIUM 5.5
En bref
- Source
- NVD
- EPSS
- EPSS 0.23 % · centile 13 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: gpio: mockup: fix NULL pointer dereference when removing debugfs We now remove the device's debugfs entries when unbinding the driver. This now causes a NULL-pointer dereference on module exit because the platform devices are unregistered *after* the global debugfs directory has been recursively removed. Fix it by unregistering the devices first.
Faiblesses (CWE)
- CWE-476 — Déréférencement de pointeur nul
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2022-51358
- GCVE · GCVE-0-2022-48663
Avis du CERT-FR
- CERTFR-2024-AVI-0420 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.10.144 < 5.10.146cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.15.69 < 5.15.71cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.19.10 < 5.19.12
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 3815e66c2183f3430490e450ba16779cf5214ec6 < bdea98b98f844bd8a983ca880893e509a8b4162f ; affected 3a10e8edee2b45a654f1f7b05f747129ec84cf9d < 18352095a0d581f6aeb1e9fc9d68cc0152cd64b4 ; affected bc55c1677edbe86a1c66a35e800df47dff16ad61 < af0bfabf06c74c260265c30ba81a34e7dec0e881 ; affected 303e6da99429510b1e4edf833afe90ac8542e747 < b7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68 |
| Linux · Linux | affected 5.10.144 < 5.10.146 ; affected 5.15.69 < 5.15.71 ; affected 5.19.10 < 5.19.12 |
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 |