CVE-2024-26652

net: pds_core: Fix possible double free in error handling path

MEDIUM 4.1

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: pds_core: Fix possible double free in error handling path When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release calls kfree(padev) to free memory. We shouldn't call kfree(padev) again in the error handling path. Fix this by cleaning up the redundant kfree() and putting the error handling back to where the errors happened.

Faiblesses (CWE)

  • CWE-415 — Double libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.1CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LCISA-ADP
CVSS 3.1MEDIUM 4.1CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LNVD · 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 4569cce43bc61e4cdd76597a1cf9b608846c18cc < 995f802abff209514ac2ee03b96224237646cec3 ; affected 4569cce43bc61e4cdd76597a1cf9b608846c18cc < ffda0e962f270b3ec937660afd15b685263232d3 ; affected 4569cce43bc61e4cdd76597a1cf9b608846c18cc < ba18deddd6d502da71fd6b6143c53042271b82bd
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.22 ≤ 6.6.* ; unaffected 6.7.10 ≤ 6.7.* ; unaffected 6.8 ≤ *

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