Linux KernelOperating system · Linux

CVE-2026-53161

HIGH · 7.8 CVSS v3.1 Published 2026-06-25
Fix available
A fix is available. Upgrade to 5.10.259 / 5.15.210 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

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
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix use-after-free of fastrpc_user in workqueue context There is a race between fastrpc_device_release() and the workqueue that processes DSP responses. When the user closes the file descriptor, fastrpc_device_release() frees the fastrpc_user structure. Concurrently, an in-flight DSP invocation can complete and fastrpc_rpmsg_callback() schedules context cleanup via schedule_work(&ctx->put_work). If the workqueue runs fastrpc_context_free() in parallel with or after fastrpc_device_release() has freed the user structure, it dereferences the freed fastrpc_user. Depending on the state of the context at the time of the race, any one of the following accesses can be hit: 1. fastrpc_buf_free() calls fastrpc_ipa_to_dma_addr(buf->fl->cctx, ...) to strip the SID bits from the stored IOVA before passing the physical address to dma_free_coherent(). 2. fastrpc_free_map() reads map->fl->cctx->vmperms[0].vmid to reconstruct the source permission bitmask needed for the qcom_scm_assign_mem() call that returns memory from the DSP VM back to HLOS. 3. fastrpc_free_map() acquires map->fl->lock to safely remove the map node from the fl->maps list. The resulting use-after-free manifests as: pc : fastrpc_buf_free+0x38/0x80 [fastrpc] lr : fastrpc_context_free+0xa8/0x1b0 [fastrpc] fastrpc_context_free+0xa8/0x1b0 [fastrpc] fastrpc_context_put_wq+0x78/0xa0 [fastrpc] process_one_work+0x180/0x450 worker_thread+0x26c/0x388 Add kref-based reference counting to fastrpc_user. Have each invoke context take a reference on the user at allocation time and release it when the context is freed. Release the initial reference in fastrpc_device_release() at file close. Move the teardown of the user structure — freeing pending contexts, maps, mmaps, and the channel context reference — into the kref release callback fastrpc_user_free(), so that it runs only when the last reference is dropped, regardless of whether that happens at device close or after the final in-flight context completes.

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 · high confidence

A use-after-free vulnerability in the Linux kernel fastrpc driver where race conditions between fastrpc_device_release() and workqueue-based DSP response processing cause dereference of a freed fastrpc_user structure. The fix implements kref-based reference counting to ensure the user structure is not freed until all in-flight contexts complete.

MitigationApply the kernel patch that adds kref reference counting to fastrpc_user structure. Until patched, avoid closing fastrpc file descriptors while DSP invocations are pending.

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
Linux KernelOperating system
Affected:>= 5.1, < 5.10.259>= 5.11, < 5.15.210>= 5.16, < 6.1.176>= 6.2, < 6.6.143>= 6.7, < 6.12.94>= 6.13, < 6.18.36>= 6.19, < 7.0.13= 7.1

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

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 the running kernel version
    Run 'uname -r' to get the kernel version string (e.g., 5.15.5-generic)
    Affected if The version falls within any of these ranges: >= 5.1 and < 5.10.259, >= 5.11 and < 5.15.210, >= 5.16 and < 6.1.176, >= 6.2 and < 6.6.143, >= 6.7 and < 6.12.94, >= 6.13 and < 6.18.36, >= 6.19 and < 7.0.13, or equals 7.1
  2. Verify fastrpc driver is present
    Check if the fastrpc module exists by running 'ls /sys/module | grep fastrpc' or check for fastrpc kernel object with 'modinfo fastrpc'
    Affected if The fastrpc module is loaded or loadable on the system
  3. Confirm fastrpc device nodes exist
    List fastrpc device files with 'ls -la /dev/fastrpc*' or check /dev/ for entries starting with 'fastrpc'
    Affected if Fastrpc device nodes (/dev/fastrpc*) are present on the system
  4. Identify active fastrpc file descriptors
    Run 'ls -la /proc/*/fd/* 2>/dev/null | grep fastrpc' or use 'find /proc -maxdepth 2 -name fd -type d 2>/dev/null' to enumerate processes with open fastrpc file descriptors
    Affected if Any process holds an open file descriptor to a fastrpc device while the kernel version is in the affected range

The environment is affected if the running kernel version falls within the vulnerable ranges AND the fastrpc driver module is present and has active users, since the use-after-free requires both conditions to be exploitable.

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.

dbcve · scoped
Upgrade available Upgrade to 5.10.259 / 5.15.210 / 6.1.176 or later
Fixed in 5.10.2595.15.2106.1.176
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch that adds kref reference counting to fastrpc_user structure. Until patched, avoid closing fastrpc file descriptors while DSP invocations are pending.

Recommended fix High confidence

Upgrade to kernel >= 5.10.259, >= 5.15.210, >= 6.1.176, or >= 6.6.143 (or latest stable 6.6/6.12 branch)

  1. Identify the current running kernel version using `uname -r`
  2. Determine which kernel branch in use (e.g., 5.10.x, 5.15.x, 6.1.x, or 6.2+)
  3. For RHEL/CentOS systems: update kernel via `yum update kernel` or `dnf update kernel`, then reboot to the new version
  4. For Debian/Ubuntu systems: update via `apt-get update && apt-get install linux-image-<version>`, then reboot
  5. For other distributions: obtain a kernel upgrade from the distribution vendor that includes the fix (commit 5278ccd357e0d7aeeb1e76c0f3e0e02894a9897c)
  6. Verify the fix is present by checking the fastrpc driver source for kref-based reference counting, or by running the patched kernel and confirming the vulnerability is resolved
Caveat Kernel upgrades may require driver recompilation or configuration changes; ensure compatibility with system hardware and custom modules before upgrading in production environments

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation4.0 h
  • Implementation10.0 h
  • Testing8.0 h
  • Review / QA4.0 h
26.0 hours of engineering $4,520
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53161 — 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-2026-53161 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