# CVE-2024-44966: binfmt_flat: Fix corruption when not offsetting data start

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.33%, higher than 18% of CVEs (2026-11-30)
- Published: 2024-09-04T18:38:45.625Z
- Modified: 2026-08-05T11:37:20.222Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

binfmt_flat: Fix corruption when not offsetting data start

Commit 04d82a6d0881 ("binfmt_flat: allow not offsetting data start")
introduced a RISC-V specific variant of the FLAT format which does
not allocate any space for the (obsolete) array of shared library
pointers. However, it did not disable the code which initializes the
array, resulting in the corruption of sizeof(long) bytes before the DATA
segment, generally the end of the TEXT segment.

Introduce MAX_SHARED_LIBS_UPDATE which depends on the state of
CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of
the shared library pointer region so that it will only be initialized
if space is reserved for it.

(As written by CVE List.)

## Affected

- Linux Linux: from 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 before 3a684499261d0f7ed5ee72793025c88c2276809c; from 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 before af65d5383854cc3f172a7d0843b628758bf462c8; from 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 before 49df34d2b7da9e57c839555a2f7877291ce45ad1; from 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 before 9350ba06ee61db392c486716ac68ecc20e030f7c; from 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 before 3eb3cd5992f7a0c37edc8d05b4c38c98758d8671; 5.13 (not affected: before 5.13; from 5.15.165 up to 5.15.*; from 6.1.106 up to 6.1.*; from 6.6.47 up to 6.6.*; from 6.10.6 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.13 before 5.15.165; from 5.16 before 6.1.106; from 6.2 before 6.6.47; from 6.7 before 6.10.6; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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/3a684499261d0f7ed5ee72793025c88c2276809c> (patch)
- <https://git.kernel.org/stable/c/af65d5383854cc3f172a7d0843b628758bf462c8> (patch)
- <https://git.kernel.org/stable/c/49df34d2b7da9e57c839555a2f7877291ce45ad1> (patch)
- <https://git.kernel.org/stable/c/9350ba06ee61db392c486716ac68ecc20e030f7c> (patch)
- <https://git.kernel.org/stable/c/3eb3cd5992f7a0c37edc8d05b4c38c98758d8671> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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