Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39906

published high CVSS 3.1 · 7.8

drm/amd/display: remove oem i2c adapter on finish

Published
01 Oct 2025, 07:44:29 UTC
Updated
05 Aug 2026, 12:06:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3d5470c973149f479572dcf4eea064775041ea6c to < c686124bcf06253620790857ff462f00f3f7a4ab · 3d5470c973149f479572dcf4eea064775041ea6c to < 1dfd2864a1c4909147663e5a27c055f50f7c2796 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.16.8 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: remove oem i2c adapter on finish Fixes a bug where unbinding of the GPU would leave the oem i2c adapter registered resulting in a null pointer dereference when applications try to access the invalid device. (cherry picked from commit 89923fb7ead4fdd37b78dd49962d9bb5892403e6)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The freed-but-registered adapter is reached through local interfaces only — `open()`/`ioctl(I2C_RDWR)` on the persisting `/dev/i2c-N` char device and reads of the still-present `/sys/bus/i2c/devices/i2c-N/` attributes. No network or physical access is needed to touch the freed object. AC:L - There is no race window: once `dm_hw_fini()` runs, the dangling idr entry, sysfs nodes and `/dev/i2c-N` persist indefinitely, so the attacker triggers the UAF deterministically and repeatedly at a time of their choosing. Driver unbind/module reload is a routine event (driver upgrade, DKMS, VFIO rebind, eGPU unplug) and is directly attacker-initiated where the attacker holds those rights. PR:L - Any local unprivileged account can dereference the freed adapter — `/sys/class/i2c-adapter/i2c-N/name` is world-readable 0444 and reads straight out of the freed allocation, and on the desktops that actually expose this OEM bus (board/RGB control) `/dev/i2c-*` is granted to non-root users by the vendor udev rules, giving the full `I2C_RDWR` path. UI:N - No victim action is required at exploitation time; the corrupted state is permanent after the driver teardown, so the attacker simply opens the stale device or reads the stale sysfs attribute on their own schedule. S:U - The freed object and all consequences (kernel heap corruption, kernel-mode code execution) are within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - Reading the still-registered adapter's world-readable sysfs attributes returns bytes from a freed slab object, and reclaiming the allocation lets the attacker read back attacker-chosen or victim-owned kernel heap contents — an arbitrary kernel-memory read primitive, not a bounded leak. I:H - The freed `struct i2c_adapter` is still dereferenced for its `algo->master_xfer` and `lock_ops` function-pointer tables on every transfer, and for `get_device()`/`put_device()` refcount and klist operations; spraying the reclaimed slab yields control-flow hijack and list-corruption write primitives, i.e. full kernel compromise. A:H - The commit itself documents an oops ("null pointer dereference when applications try to access the invalid device"); dereferencing the freed adapter and its dangling `ddc_service`/`dc` chain reliably panics the kernel.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.5 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3d5470c973149f479572dcf4eea064775041ea6c to < c686124bcf06253620790857ff462f00f3f7a4ab (affected · git)3d5470c973149f479572dcf4eea064775041ea6c to < 1dfd2864a1c4909147663e5a27c055f50f7c2796 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.15 (affected)0 to < 6.15 (unaffected · semver)6.16.8 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-476 CWE-476 NULL Pointer Dereference (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

drm/amd/display: remove oem i2c adapter on finish

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
70ba0941b19d2a2a1787d755f08b81ad5ea417cbbc814a27d68e2b3fbb57f343
Ingested
23 Sep 2026, 08:47:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected