tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.15 % · centile 4 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk When the best clk is searched, we iterate over all possible clk. If we find a better match, the previous one, if any, needs to be freed. If a better match has already been found, we still need to free the new one, otherwise it leaks.
Faiblesses (CWE)
- CWE-401 — Mémoire non libérée après sa durée de vie utile
Références
- https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c
- https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363
- https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16
- https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593
- https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0
- https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944
- https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03
- https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375
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-2025-31937
- GCVE · GCVE-0-2023-53687
Avis du CERT-FR
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — 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:*:*:*:*:*:*:*:*≥ 3.3 < 4.14.322cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.291cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.251cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.188cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.121cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.40cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.4.5
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 < 933e5b2998bc3a527d15efbf1e97c9e63297aa3c ; affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 < 01dd8a43a84616c830782166ba3cceb01ad95363 ; affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 < 46574e5a0a2aee41e6ebb979cfe1dbaea8693e16 ; affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 < 1962717c4649e026a4252fe6625175affd28a593 ; affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 < 9dd8091959bc41fee51d0827276a2b982e84adf0 ; affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 < f0bf102ef9b05d7294bd8d506755465f6867d944 |
| Linux · Linux | affected 3.3 ; unaffected 0 < 3.3 ; unaffected 4.14.322 ≤ 4.14.* ; unaffected 4.19.291 ≤ 4.19.* ; unaffected 5.4.251 ≤ 5.4.* ; unaffected 5.10.188 ≤ 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 |