HID: elan: Fix potential double free in elan_input_configured (Linux Linux)

CVE-2022-49508
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.30 % · centile 22 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: HID: elan: Fix potential double free in elan_input_configured 'input' is a managed resource allocated with devm_input_allocate_device(), so there is no need to call input_free_device() explicitly or there will be a double free. According to the doc of devm_input_allocate_device(): * Managed input devices do not need to be explicitly unregistered or * freed as it will be done automatically when owner device unbinds from * its driver (or binding fails).

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 9a6a4193d65b853020ef0e66cecdf9e64a863883 < c92ec22a991778a096342cf1a917ae36c5c86a90 ; affected 9a6a4193d65b853020ef0e66cecdf9e64a863883 < f1d4f19a796551edc6679a681ea1756b8c578c08 ; affected 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 6d0726725c7c560495f5ff364862a2cefea542e3 ; affected 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 ; affected 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 5291451851feeb66fd4bf0826710f482f3b1ab38 ; affected 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 8bb1716507ebf12d50bbf181764481de3b6bc7fd
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 4.19.247 ≤ 4.19.* ; unaffected 5.4.198 ≤ 5.4.* ; unaffected 5.10.121 ≤ 5.10.* ; unaffected 5.15.46 ≤ 5.15.*

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