CVE-2024-47739

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

State
Published
Severity
7.5 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Sep 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before 46c4079460f4dcaf445860679558eedef4e1bc91Affected
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before 72164d5b648951684b1a593996b37a6083c61d7dAffected
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before ab205e1c3846326f162180e56825b4ba38ce9c30Affected
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before 1b8cf11b3ca593a8802a51802cd0c28c38501428Affected
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before 9e279e6c1f012b82628b89e1b9c65dbefa8ca25aAffected
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before 1bd712de96ad7167fe0d608e706cd60587579f16Affected
  • bfde23ce200e6d33291d29b9b8b60cc2f30f0805 to before 9a22b2812393d93d84358a760c347c21939029a6Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.54 through 6.6.*Not affected
  • 6.10.13 through 6.10.*Not affected
  • 6.11.2 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.