CVE-2024-44966

Source
https://cve.org/CVERecord?id=CVE-2024-44966
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44966.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-44966
Downstream
Related
Published
2024-09-04T18:38:45.625Z
Modified
2026-03-09T23:51:43.235945Z
Summary
binfmt_flat: Fix corruption when not offsetting data start
Details

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 MAXSHAREDLIBSUPDATE which depends on the state of CONFIGBINFMTFLATNODATASTART_OFFSET to guard the initialization of the shared library pointer region so that it will only be initialized if space is reserved for it.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44966.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8
Fixed
3a684499261d0f7ed5ee72793025c88c2276809c
Fixed
af65d5383854cc3f172a7d0843b628758bf462c8
Fixed
49df34d2b7da9e57c839555a2f7877291ce45ad1
Fixed
9350ba06ee61db392c486716ac68ecc20e030f7c
Fixed
3eb3cd5992f7a0c37edc8d05b4c38c98758d8671

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44966.json"