Android security tags, read closely by Lightrion

CVE-2024-49729 AI-generated analysis

platform/system/core, fs_mgr/libdm (device-mapper userspace library)

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 (4 corrections). Verify against the commit before relying on it.

libdm's DeviceMapper::GetTable now replaces the key field of dm-crypt target parameter strings with the literal "redacted" when the table is queried with DM_STATUS_TABLE_FLAG (i.e. via GetTableInfo), so callers no longer receive the raw encryption key.

Root cause

DeviceMapper::GetTable in fs_mgr/libdm/dm.cpp issues DM_TABLE_STATUS and copies each target's parameter string verbatim into TargetInfo.data. When it is called with DM_STATUS_TABLE_FLAG (GetTableInfo), the returned parameter line for a "crypt" target contains the key as the second space-separated field, which is the field the fix replaces. libdm passed that key to callers of GetTableInfo without redaction.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to February 2025 · Findings