gsmi: fix null-deref in gsmi_get_variable (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: gsmi: fix null-deref in gsmi_get_variable We can get EFI variables without fetching the attribute, so we must allow for that in gsmi. commit 859748255b43 ("efi: pstore: Omit efivars caching EFI varstore access layer") added a new get_variable call with attr=NULL, which triggers panic in gsmi.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
References
- https://git.kernel.org/stable/c/ee5763ef829bd923033510de6d1df7c73f085e4b
- https://git.kernel.org/stable/c/32313c11bdc8a02c577abaf865be3664ab30410a
- https://git.kernel.org/stable/c/ffef77794fb5f1245c3249b86342bad2299accb5
- https://git.kernel.org/stable/c/ae2a9dcc8caa60b1e14671294e5ec902ea5d1dfd
- https://git.kernel.org/stable/c/eb0421d90f916dffe96b4c049ddf01c0c50620d2
- https://git.kernel.org/stable/c/6646d769fdb0ce4318ef9afd127f8526d1ca8393
- https://git.kernel.org/stable/c/a769b05eeed7accc4019a1ed9799dd72067f1ce8
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2023-59604
- GCVE · GCVE-0-2023-52893
CERT-FR advisories
- CERTFR-2024-AVI-0840 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0822 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0800 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0779 — 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:*:*:*:*:*:*:*:*≥ 3.0 < 4.14.304cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.271cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.230cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.165cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.90cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.8cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 74c5b31c6618f01079212332b2e5f6c42f2d6307 < ee5763ef829bd923033510de6d1df7c73f085e4b ; affected 74c5b31c6618f01079212332b2e5f6c42f2d6307 < 32313c11bdc8a02c577abaf865be3664ab30410a ; affected 74c5b31c6618f01079212332b2e5f6c42f2d6307 < ffef77794fb5f1245c3249b86342bad2299accb5 ; affected 74c5b31c6618f01079212332b2e5f6c42f2d6307 < ae2a9dcc8caa60b1e14671294e5ec902ea5d1dfd ; affected 74c5b31c6618f01079212332b2e5f6c42f2d6307 < eb0421d90f916dffe96b4c049ddf01c0c50620d2 ; affected 74c5b31c6618f01079212332b2e5f6c42f2d6307 < 6646d769fdb0ce4318ef9afd127f8526d1ca8393 |
| Linux · Linux | affected 3.0 ; unaffected 0 < 3.0 ; unaffected 4.14.304 ≤ 4.14.* ; unaffected 4.19.271 ≤ 4.19.* ; unaffected 5.4.230 ≤ 5.4.* ; unaffected 5.10.165 ≤ 5.10.* |
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 |