CVE-2024-26926

Source
https://cve.org/CVERecord?id=CVE-2024-26926
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26926.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26926
Aliases
Downstream
Published
2024-04-24T23:23:40.600Z
Modified
2026-03-20T12:35:18.462822Z
Summary
binder: check offset alignment in binder_get_object()
Details

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

binder: check offset alignment in bindergetobject()

Commit 6d98eb95b450 ("binder: avoid potential data leakage when copying txn") introduced changes to how binder objects are copied. In doing so, it unintentionally removed an offset alignment check done through calls to binderalloccopyfrombuffer() -> check_buffer().

These calls were replaced in bindergetobject() with copyfromuser(), so now an explicit offset alignment check is needed here. This avoids later complications when unwinding the objects gets harder.

It is worth noting this check existed prior to commit 7a67a39320df ("binder: add function to copy binder object from buffer"), likely removed due to redundancy at the time.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26926.json",
    "cna_assigner": "Linux"
}
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
c056a6ba35e00ae943e377eb09abd77a6915b31a
Fixed
68a28f551e4690db2b27b3db716c7395f6fada12
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
23e9d815fad84c1bee3742a8de4bd39510435362
Fixed
48a1f83ca9c68518b1a783c62e6a8223144fa9fc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7a9ad4aceb0226b391c9d3b8e4ac2e7d438b6bde
Fixed
a2fd6dbc98be1105a1d8e9e31575da8873ef115c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6d98eb95b450a75adb4516a1d33652dc78d2b20c
Fixed
a6d2a8b211c874971ee4cf3ddd167408177f6e76
Fixed
1d7f1049035b2060342f11eff957cf567d810bdc
Fixed
f01d6619045704d78613b14e2e0420bfdb7f1c15
Fixed
aaef73821a3b0194a01bd23ca77774f704a04d40
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
66e12f5b3a9733f941893a00753b10498724607d

Database specific

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