Skip to content
FlawDB
Sign in

CVE-2026-139776

UNSCORED

soc: qcom: apr: clean up failed service registrations

AI summary AI generated

An attacker can trigger a use-after-free in the Linux kernel's Qualcomm APR driver by sending a packet that references a service left in the IDR after a failed device registration.

Mitigation

  • Upgrade Linux to 7dc14f37ca4ee35040c67c4b0180dd7b32079caf or later.

Who should check

  • Anyone running Linux >= 6adba21eb434d8160da05507c564c2339f4afdda, < fc8b553d61cc5ff47875344dc9aec5b1c5234e70; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 36e7f2598831be71421e4d73cb317b696ec215f4; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 0995f9123d9c17019108e95d110c58f26c3b1dad; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7c00f8a39f29994c2fb495c74811f465fac3d031; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 5254160d7b6a72607297b66627a85e445c0c4e7a; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7dc14f37ca4ee35040c67c4b0180dd7b32079caf
  • Anyone running Linux 4.18

Vulnerability facts

Affected
Linux >= 6adba21eb434d8160da05507c564c2339f4afdda, < fc8b553d61cc5ff47875344dc9aec5b1c5234e70; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 36e7f2598831be71421e4d73cb317b696ec215f4; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 0995f9123d9c17019108e95d110c58f26c3b1dad; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7c00f8a39f29994c2fb495c74811f465fac3d031; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 5254160d7b6a72607297b66627a85e445c0c4e7a; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7dc14f37ca4ee35040c67c4b0180dd7b32079caf; Linux 4.18
Fixed in
Linux 36e7f2598831be71421e4d73cb317b696ec215f4, Linux 0995f9123d9c17019108e95d110c58f26c3b1dad, Linux 7c00f8a39f29994c2fb495c74811f465fac3d031, Linux 5254160d7b6a72607297b66627a85e445c0c4e7a, Linux 7dc14f37ca4ee35040c67c4b0180dd7b32079caf
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: soc: qcom: apr: clean up failed service registrations apr_add_device() publishes a service in svcs_idr before parsing the optional protection domain and registering the device. If device registration fails, put_device() frees the apr_device while its service remains in the IDR. A received packet can then dereference that stale entry. The property error path also leaves the service and allocation behind. Split device_register() into device_initialize() and device_add() so every pre-registration error can safely drop the device reference. Remove the service from the IDR on all failures after publication, then drain the RX workqueue before dropping the device reference. This prevents an in-flight lookup from outliving the device.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 6adba21eb434d8160da05507c564c2339f4afdda, < fc8b553d61cc5ff47875344dc9aec5b1c5234e70; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 36e7f2598831be71421e4d73cb317b696ec215f4; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 0995f9123d9c17019108e95d110c58f26c3b1dad; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7c00f8a39f29994c2fb495c74811f465fac3d031; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 5254160d7b6a72607297b66627a85e445c0c4e7a; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7dc14f37ca4ee35040c67c4b0180dd7b32079caf—cvelist
Linux4.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-139776. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139776.md
Affected: Linux >= 6adba21eb434d8160da05507c564c2339f4afdda, < fc8b553d61cc5ff47875344dc9aec5b1c5234e70; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 36e7f2598831be71421e4d73cb317b696ec215f4; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 0995f9123d9c17019108e95d110c58f26c3b1dad; >= 6adba21eb434d8160da0550…
Fixed in: Linux 36e7f2598831be71421e4d73cb317b696ec215f4, Linux 0995f9123d9c17019108e95d110c58f26c3b1dad, Linux 7c00f8a39f29994c2fb495c74811f465fac3d031, Linux 5254160d7b6a72607297b66627a85e445c0c4e7a, Linux 7dc14f37ca4ee35040c67c4b0180dd7b32079caf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-139776 being exploited?

There is no confirmed exploitation: CVE-2026-139776 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-139776?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139776?

Linux >= 6adba21eb434d8160da05507c564c2339f4afdda, < fc8b553d61cc5ff47875344dc9aec5b1c5234e70; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 36e7f2598831be71421e4d73cb317b696ec215f4; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 0995f9123d9c17019108e95d110c58f26c3b1dad; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7c00f8a39f29994c2fb495c74811f465fac3d031; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 5254160d7b6a72607297b66627a85e445c0c4e7a; >= 6adba21eb434d8160da05507c564c2339f4afdda, < 7dc14f37ca4ee35040c67c4b0180dd7b32079caf; Linux 4.18.

Is there a fix for CVE-2026-139776?

Yes. Fixed in Linux 36e7f2598831be71421e4d73cb317b696ec215f4, Linux 0995f9123d9c17019108e95d110c58f26c3b1dad, Linux 7c00f8a39f29994c2fb495c74811f465fac3d031, Linux 5254160d7b6a72607297b66627a85e445c0c4e7a, Linux 7dc14f37ca4ee35040c67c4b0180dd7b32079caf. Upgrade Linux to 7dc14f37ca4ee35040c67c4b0180dd7b32079caf or later.

How do I check if I'm affected by CVE-2026-139776?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors