# CVE-2024-47739: padata: use integer wrap around to prevent deadlock on seq_nr overflow

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2024-10-21T12:14:08.495Z
- Modified: 2026-08-05T11:39:49.642Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before 46c4079460f4dcaf445860679558eedef4e1bc91; from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before 72164d5b648951684b1a593996b37a6083c61d7d; from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before ab205e1c3846326f162180e56825b4ba38ce9c30; from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before 1b8cf11b3ca593a8802a51802cd0c28c38501428; from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before 9e279e6c1f012b82628b89e1b9c65dbefa8ca25a; from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before 1bd712de96ad7167fe0d608e706cd60587579f16; from bfde23ce200e6d33291d29b9b8b60cc2f30f0805 before 9a22b2812393d93d84358a760c347c21939029a6; 5.4 (not affected: before 5.4; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.4 before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/46c4079460f4dcaf445860679558eedef4e1bc91> (patch)
- <https://git.kernel.org/stable/c/72164d5b648951684b1a593996b37a6083c61d7d> (patch)
- <https://git.kernel.org/stable/c/ab205e1c3846326f162180e56825b4ba38ce9c30> (patch)
- <https://git.kernel.org/stable/c/1b8cf11b3ca593a8802a51802cd0c28c38501428> (patch)
- <https://git.kernel.org/stable/c/9e279e6c1f012b82628b89e1b9c65dbefa8ca25a> (patch)
- <https://git.kernel.org/stable/c/1bd712de96ad7167fe0d608e706cd60587579f16> (patch)
- <https://git.kernel.org/stable/c/9a22b2812393d93d84358a760c347c21939029a6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-47739](https://www.cve.org/CVERecord?id=CVE-2024-47739), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-47739](https://nvd.nist.gov/vuln/detail/CVE-2024-47739), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-47739 · Whole record: https://cve.day/CVE-2024-47739.json · Rebuilt by cve.day 2026-11-25T22:58:46.994Z
