crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id (Linux Linux)

CVE-2025-68724
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id Use check_add_overflow() to guard against potential integer overflows when adding the binary blob lengths and the size of an asymmetric_key_id structure and return ERR_PTR(-EOVERFLOW) accordingly. This prevents a possible buffer overflow when copying data from potentially malicious X.509 certificate fields that can be arbitrarily large, such as ASN.1 INTEGER serial numbers, issuer names, etc.

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:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7 < 60a7be5ee74408147e439164ac067e418ca74bb4 ; affected 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7 < c13c6e9de91d7f1dd7df756b1fa5a1f968839d76 ; affected 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7 < dfc1613961828745165aec6552c3818fa14ab725 ; affected 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7 < 5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c ; affected 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7 < c73be4f51eed98fa0c7c189db8f279e1c86bfbf7 ; affected 7901c1a8effbe5f89673bfc09d6e37b8f334f1a7 < 6af753ac5205115e6c310c8c4236c01b59a1c44f
Linux · Linuxaffected 3.18 ; unaffected 0 < 3.18 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.*

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