padata: use integer wrap around to prevent deadlock on seq_nr overflow (Linux Linux)

CVE-2024-47739
HIGH 7.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: padata: use integer wrap around to prevent deadlock on seq_nr overflow When submitting more than 2^32 padata objects to padata_do_serial, the current sorting implementation incorrectly sorts padata objects with overflowed seq_nr, causing them to be placed before existing objects in the reorder list. This leads to a deadlock in the serialization process as padata_find_next cannot match padata->seq_nr and pd->processed because the padata instance with overflowed seq_nr will be selected next. To fix this, we use an unsigned integer wrap around to correctly sort padata objects in scenarios with integer overflow.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected bfde23ce200e6d33291d29b9b8b60cc2f30f0805 < 46c4079460f4dcaf445860679558eedef4e1bc91 ; affected bfde23ce200e6d33291d29b9b8b60cc2f30f0805 < 72164d5b648951684b1a593996b37a6083c61d7d ; affected bfde23ce200e6d33291d29b9b8b60cc2f30f0805 < ab205e1c3846326f162180e56825b4ba38ce9c30 ; affected bfde23ce200e6d33291d29b9b8b60cc2f30f0805 < 1b8cf11b3ca593a8802a51802cd0c28c38501428 ; affected bfde23ce200e6d33291d29b9b8b60cc2f30f0805 < 9e279e6c1f012b82628b89e1b9c65dbefa8ca25a ; affected bfde23ce200e6d33291d29b9b8b60cc2f30f0805 < 1bd712de96ad7167fe0d608e706cd60587579f16
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 5.15.* ; unaffected 6.1.113 ≤ 6.1.* ; unaffected 6.6.54 ≤ 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