mtd: core: avoid double-free of OTP NVMEM device (Linux Linux)

CVE-2026-98834
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: core: avoid double-free of OTP NVMEM device If factory OTP setup fails after the user OTP NVMEM device has been registered, mtd_otp_nvmem_add() unregisters the user device but leaves mtd->otp_user_nvmem set. On an error, the caller unregisters it again. For -EOPNOTSUPP, registration continues and normal teardown unregisters it again. Clear mtd->otp_user_nvmem after unregistering it.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9 < 4b87d9a89934402b4d29aac77d4e41fb7aaf237a
affectée : ≥ e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9 < cecf007418b93a2cbc94269e07fe2fb28f54d8fb
affectée : ≥ e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9 < 26300879cd8e4612dce66bb8f6ff7cd35fcf3e59
affectée : 6d1af517817a760d7af3dee0fc4603645485495c
affectée : f1b4affca1e13706ca2eb075bf6775421236d7d1
affectée : 949476b8601bde5459048eebdf457c9db20addd8
affectée : dd6c85f98ff33b009b819090268cbf679dc208b9
affectée : ≥ 5.15.111 < 5.16
affectée : ≥ 6.1.28 < 6.2
affectée : ≥ 6.2.15 < 6.3
affectée : ≥ 6.3.2 < 6.4
Autres versions : non affectée
Linux · Linux
affectée : 6.4
non affectée : ≥ 0 < 6.4
non affectée : ≥ 6.18.66 ≤ 6.18.*
non affectée : ≥ 7.2.10 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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