Android security tags, read closely by Lightrion

CVE-2024-49730 AI-generated analysis

platform/packages/providers/MediaProvider, FUSE daemon (jni/FuseDaemon.cpp)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (7 corrections). Verify against the commit before relying on it.

Changes MediaProvider FuseDaemon's MAX_READ_SIZE from a fixed 128 KiB to FUSE_MAX_MAX_PAGES (256) * getpagesize(). Per the commit message, the goal is to make the zero_addr buffer as large as the largest single request.

Root cause

jni/FuseDaemon.cpp defined MAX_READ_SIZE as constexpr 128 * 1024. The commit title says zero_addr must be expanded to the maximum size of a single request, and the diff changes only MAX_READ_SIZE. This implies (an inference, not shown directly) that zero_addr was sized from MAX_READ_SIZE and could be smaller than a single request. The test name (RedactUriDeviceTest) suggests the redaction read path. The use site of zero_addr is not in the material.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to April 2025 · Findings