Xiaomi Perseus P OssOperating system · Micode

CVE-2019-9112

MEDIUM · 5.5 CVSS v3.0 Published 2019-02-25
Fix available
A fix is available. Upgrade to after 2018-11-26 or later.
See remediation →
58/100
Remediation priority · Elevated
No privileges

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 · unedited
The msm gpu driver for custom Linux kernels on the Xiaomi perseus-p-oss MIX 3 device through 2018-11-26 has an integer overflow and OOPS because of missing checks of the count argument in _sde_debugfs_conn_cmd_tx_write in drivers/gpu/drm/msm/sde/sde_connector.c. This is exploitable for a device crash via a syscall by a crafted application on a rooted device.

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 confidence

Integer overflow vulnerability in the MSM GPU driver's debugfs write function (_sde_debugfs_conn_cmd_tx_write) in sde_connector.c. The count argument is not validated before use in memory operations, leading to an OOPS (kernel panic) when the overflow occurs during the copy operation. Exploitation requires a rooted device and a crafted syscall to trigger the crash.

MitigationApply bounds checking on the count argument in _sde_debugfs_conn_cmd_tx_write to validate it does not exceed expected limits before performing memory operations. The fix is a driver-level code change in the MSM GPU subsystem.

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 data
Xiaomi Perseus P OssOperating system
Affected:<= 2018-11-26

CVSS 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
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify device model
    Check if the device is a Xiaomi Perseus P model. On the device, run 'getprop ro.product.model' or check the device packaging/documentation.
    Affected if Device is a Xiaomi Perseus P or variant with MSM GPU driver
  2. Check kernel build date
    Run 'getprop ro.build.date' or check '/proc/version' to determine the kernel build timestamp. Compare the date to 2018-11-26.
    Affected if Build date is on or before 2018-11-26 (vulnerable period)
  3. Verify MSM GPU driver presence
    Check for the SDE connector driver module or kernel symbol. Run 'ls /sys/class/drm/' or check '/proc/kallsyms' for 'sde_connector' or '_sde_debugfs_conn_cmd_tx_write' entries.
    Affected if MSM GPU SDE connector driver is loaded in the kernel
  4. Confirm debugfs access
    Check if debugfs is mounted by running 'mount | grep debugfs' or 'ls /sys/kernel/debug/'. The debugfs interface must be accessible for the vulnerable function to be triggered.
    Affected if Debugfs is mounted and accessible (typically at /sys/kernel/debug or /d/)

The device is affected if it is a Xiaomi Perseus P with a kernel build date on or before 2018-11-26 and the MSM GPU SDE connector driver with the vulnerable debugfs interface is present.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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.

From vendor data
Upgrade available Upgrade to a release after 2018-11-26
Interim mitigation

Apply bounds checking on the count argument in _sde_debugfs_conn_cmd_tx_write to validate it does not exceed expected limits before performing memory operations. The fix is a driver-level code change in the MSM GPU subsystem.

Fix this in Xiaomi Perseus P Oss Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA3.0 h
15.0 hours of engineering $2,560
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,096.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2019-9112 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2019-9112 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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