# CVE-2024-26909: soc: qcom: pmic\_glink\_altmode: fix drm bridge use-after-free

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-17T10:27:55.462Z
- **Modified:** 2026-08-05T11:28:14.867Z

## Who should check

- Anyone running Linux \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342; \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< ef45aa2841e15b649e5417fe3d4de395fe462781; \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< b979f2d50a099f3402418d7ff5f26c3952fb08bb
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: pmic\_glink\_altmode: fix drm bridge use-after-free

A recent DRM series purporting to simplify support for "transparent
bridges" and handling of probe deferrals ironically exposed a
use-after-free issue on pmic\_glink\_altmode probe deferral.

This has manifested itself as the display subsystem occasionally failing
to initialise and NULL-pointer dereferences during boot of machines like
the Lenovo ThinkPad X13s.

Specifically, the dp-hpd bridge is currently registered before all
resources have been acquired which means that it can also be
deregistered on probe deferrals.

In the meantime there is a race window where the new aux bridge driver
(or PHY driver previously) may have looked up the dp-hpd bridge and
stored a (non-reference-counted) pointer to the bridge which is about to
be deallocated.

When the display controller is later initialised, this triggers a
use-after-free when attaching the bridges:

	dp -\> aux -\> dp-hpd (freed)

which may, for example, result in the freed bridge failing to attach:

	\[drm:drm\_bridge\_attach \[drm\]\] \*ERROR\* failed to attach bridge /soc@0/phy@88eb000 to encoder TMDS-31: -16

or a NULL-pointer dereference:

	Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
	...
	Call trace:
	  drm\_bridge\_attach+0x70/0x1a8 \[drm\]
	  drm\_aux\_bridge\_attach+0x24/0x38 \[aux\_bridge\]
	  drm\_bridge\_attach+0x80/0x1a8 \[drm\]
	  dp\_bridge\_init+0xa8/0x15c \[msm\]
	  msm\_dp\_modeset\_init+0x28/0xc4 \[msm\]

The DRM bridge implementation is clearly fragile and implicitly built on
the assumption that bridges may never go away. In this case, the fix is
to move the bridge registration in the pmic\_glink\_altmode driver to
after all resources have been looked up.

Incidentally, with the new dp-hpd bridge implementation, which registers
child devices, this is also a requirement due to a long-standing issue
in driver core that can otherwise lead to a probe deferral loop (see
commit fbc35b45f9f6 ("Add documentation on meaning of -EPROBE\_DEFER")).

\[DB: slightly fixed commit message by adding the word 'commit'\]

## Affected and fixed versions

- Linux: \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342; \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< ef45aa2841e15b649e5417fe3d4de395fe462781; \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< b979f2d50a099f3402418d7ff5f26c3952fb08bb (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26909. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26909.md
Affected: Linux >= 080b4e24852b1d5b66929f69344e6c3eeb963941, < 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342; >= 080b4e24852b1d5b66929f69344e6c3eeb963941, < ef45aa2841e15b649e5417fe3d4de395fe462781; >= 080b4e24852b1d5b66929f69344e6c3eeb963941, < b979f2d50a099f3402418d7ff5f26c3952fb08bb; Linux 6.3
Fixed in: Linux 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342

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.
```

## FAQ

### Is CVE-2024-26909 being exploited?

There is no confirmed exploitation: CVE-2024-26909 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26909?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-26909?

Linux \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342; \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< ef45aa2841e15b649e5417fe3d4de395fe462781; \>= 080b4e24852b1d5b66929f69344e6c3eeb963941, \< b979f2d50a099f3402418d7ff5f26c3952fb08bb; Linux 6.3.

### Is there a fix for CVE-2024-26909?

Yes. Fixed in Linux 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26909?

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.

## References

- patch: <https://git.kernel.org/stable/c/2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342>
- patch: <https://git.kernel.org/stable/c/ef45aa2841e15b649e5417fe3d4de395fe462781>
- patch: <https://git.kernel.org/stable/c/b979f2d50a099f3402418d7ff5f26c3952fb08bb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26909>

HTML: <https://flawdb.com/CVE-2024-26909> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26909>
