CVE-2026-64521

pinctrl: meson: amlogic-a4: fix deadlock issue

Published Jul 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

pinctrl: meson: amlogic-a4: fix deadlock issue

Accessing the pinconf-pins sysfs node may deadlock.

pinconf_pins_show() holds pctldev->mutex, and the platform driver
calls pinctrl_find_gpio_range_from_pin(), which tries to acquire
the same mutex again, leading to a deadlock.

Use pinctrl_find_gpio_range_from_pin_nolock() to fix this issue.

Analysis

AI-generated

Technical impact

A re‑entrancy bug in the Meson pinctrl driver for Amlogic A4 devices causes a deadlock when the pinconf‑pins sysfs node is read. The driver routine holds the device mutex while executing pinctrl_find_gpio_range_from_pin, which attempts to acquire the same mutex again, locking the kernel and stopping further kernel progress. The flaw is a concurrency bug (CWE-667) and results in a system‑wide denial of service once triggered.

Affected Systems

All Linux kernel builds that include the Meson pinctrl driver for Amlogic A4 hardware are affected. No particular kernel version number is specified; any kernel containing the unpatched driver code referenced in the advisory is vulnerable. The issue is tied to the driver implementation rather than a specific patch level.

Risk and Exploitability

The CVSS score is 5.5, indicating a medium severity. The advisory lists an EPSS score of less than 1%, indicating a low probability of real‑world exploitation. The flaw is not listed in the CISA KEV catalog. Exploitation would require a local actor to read the pinconf‑pins sysfs interface. While the precise permissions for that interface are not stated in the input, it is reasonable to infer that such access is typically restricted to privileged users; a non‑privileged user would normally be unable to trigger the deadlock. The potential impact is a system‑wide denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official kernel patch that replaces pinctrl_find_gpio_range_from_pin() with pinctrl_find_gpio_range_from_pin_nolock() and rebuild your kernel.
  • If an immediate kernel update is not possible, restrict access to the /sys/devices/<device>/pinconf‑pins file so that only root can read or write it (e.g., chmod 600 …).
  • After applying the patch or the access restriction, reboot the system or restart services that depend on the pinctrl driver to clear any lingering lock states.

Generated by OpenCVE AI on November 22, 2026 at 23:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-667
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pinctrl: meson: amlogic-a4: fix deadlock issue Accessing the pinconf-pins sysfs node may deadlock. pinconf_pins_show() holds pctldev->mutex, and the platform driver calls pinctrl_find_gpio_range_from_pin(), which tries to acquire the same mutex again, leading to a deadlock. Use pinctrl_find_gpio_range_from_pin_nolock() to fix this issue.
Title pinctrl: meson: amlogic-a4: fix deadlock issue
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-667

    Improper Locking

  • CWE-764

    Multiple Locks of a Critical Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 25, 2026, 9:14 AM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 25, 2026, 10:17 AM
Modified
Nov 17, 2026, 8:10 PM
Severity
Public date
Jul 25, 2026, 12:00 AM