Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-26909— soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free

CVSS 7.0 · High EPSS 0.25% · P16

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 8

VendorProductVersion RangeStatus
LinuxLinux080b4e24852b1d5b66929f69344e6c3eeb963941< 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342affected
080b4e24852b1d5b66929f69344e6c3eeb963941< ef45aa2841e15b649e5417fe3d4de395fe462781affected
080b4e24852b1d5b66929f69344e6c3eeb963941< b979f2d50a099f3402418d7ff5f26c3952fb08bbaffected
6.3affected
< 6.3unaffected
6.6.23≤ 6.6.*unaffected
6.7.11≤ 6.7.*unaffected
6.8≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-26909

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free
Source: CVE Program / CVE List V5
Vulnerability 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']
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于内存释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 080b4e24852b1d5b66929f69344e6c3eeb963941 ~ 2bbd65c6ca567ed8dbbfc4fb945f57ce64bef342 -
LinuxLinux 6.3 -

II. Public POCs for CVE-2024-26909

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26909

登录查看更多情报信息。

Other References for CVE-2024-26909 (2)

Same Patch Batch · Linux · 2024-04-17 · 100 CVEs total

CVE-2024-268779.8 CRITICALcrypto: xilinx - call finalize with bh disabled
CVE-2024-268539.8 CRITICALigc: avoid returning frame twice in XDP_REDIRECT
CVE-2024-268289.4 CRITICALcifs: fix underflow in parse_server_interfaces()
CVE-2024-268568.8 HIGHnet: sparx5: Fix use after free inside sparx5_del_mact_entry
CVE-2024-268228.7 HIGHsmb: client: set correct id, uid and cruid for multiuser automounts
CVE-2024-268308.4 HIGHi40e: Do not allow untrusted VF to remove administratively set MAC
CVE-2024-268907.8 HIGHBluetooth: btrtl: fix out of bounds memory access
CVE-2024-268527.8 HIGHnet/ipv6: avoid possible UAF in ip6_route_mpath_notify()
CVE-2024-268987.8 HIGHaoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
CVE-2024-268957.8 HIGHwifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
CVE-2024-268807.8 HIGHdm: call the resume method on internal suspend
CVE-2024-268647.8 HIGHtcp: Fix refcnt handling in __inet_hash_connect().
CVE-2024-268657.8 HIGHrds: tcp: Fix use-after-free of net in reqsk_timer_handler().
CVE-2024-268697.8 HIGHf2fs: fix to truncate meta inode pages forcely
CVE-2024-268707.8 HIGHNFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
CVE-2024-268387.8 HIGHRDMA/irdma: Fix KASAN issue with tasklet
CVE-2024-268857.8 HIGHbpf: Fix DEVMAP_HASH overflow check on 32-bit arches
CVE-2024-268247.8 HIGHcrypto: algif_hash - Remove bogus SGL free on zero-length error path
CVE-2024-269117.8 HIGHdrm/buddy: Fix alloc_range() error handling code
CVE-2024-268837.8 HIGHbpf: Fix stackmap overflow check on 32-bit arches

Showing top 20 of 100 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26909

No comments yet


Leave a comment