CVE-2024-29780
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn hwbcc_ns_deprivilege of trusty/user/base/lib/hwbcc/client/hwbcc.c, there is a possible uninitialized stack data disclosure due to uninitialized data. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceIn the Trusty Trusted Execution Environment (TEE) hwbcc client library, the hwbcc_ns_deprivilege function in hwbcc.c contains a vulnerability where uninitialized stack data may be disclosed to a local attacker. This occurs because a stack variable is used without being properly initialized, potentially leaking sensitive memory contents to an unprivileged local user.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm device uses Trusty TEECheck if the Android device has Trusty Trusted Execution Environment by reviewing device specifications, manufacturer documentation, or using 'getprop ro.trusty.version' in ADB shell if availableAffected if Device does not have Trusty TEE or the property returns no value, the vulnerability does not apply
-
Check hwbcc client library presenceSearch for the hwbcc library in the Trusty TEE firmware image or system分区 if you have root access and can extract firmwareAffected if hwbcc library is present and the device runs any version of Android, the function hwbcc_ns_deprivilege in hwbcc.c may contain the uninitialized stack variable
-
Verify uninitialized stack variable in hwbcc.cIf you can obtain the Trusty TEE binary/source, inspect the hwbcc_ns_deprivilege function in hwbcc.c for stack variables used without initializationAffected if The function contains stack variables declared but not initialized before use, indicating the vulnerability is present
-
Check manufacturer firmware versionConsult the device manufacturer's security bulletin or contact them to determine the Trusty TEE firmware version installedAffected if The installed TEE firmware version predates the security patch that initializes stack variables in hwbcc_ns_deprivilege
A user is affected if their Android device runs Trusty TEE with the hwbcc client library containing uninitialized stack variable in the hwbcc_ns_deprivilege function, which requires checking manufacturer documentation or firmware analysis since TEE internals are not directly accessible from userland.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedThe fix requires initializing all stack variables in the hwbcc_ns_deprivilege function before use. Since this is Trusty TEE code, the patch must be delivered through firmware/TEE updates from the device manufacturer, which can be challenging to deploy across the Android ecosystem.
Android Security Patch Level containing the CVE-2024-29780 fix (check source.android.com security bulletins for the specific release date)
- 1. Wait for the monthly Android Security Bulletin that includes this CVE (CVE-2024-29780) and apply the corresponding Android Security Patch Level update from your device manufacturer.
- 2. Ensure your Android device is set to receive and install system updates automatically, or manually check for updates in Settings > System > Software Update.
- 3. After the patch is applied, verify the Android Security Patch Level in Settings > About Phone > Android Security Patch Level matches or exceeds the bulletin date containing the fix for this CVE.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,072.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-29780 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-29780 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data