Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-93274

Опубликовано: 24 сент. 2026
Источник: redhat
CVSS3: 5.5

Описание

In the Linux kernel, the following vulnerability has been resolved: pinctrl: bcm2835: Don't remove an unregistered GPIO chip If the devm_pinctrl_register() function fails, bcm2835_pinctrl_probe() calls gpiochip_remove() before gpiochip_add_data() has registered the GPIO chip. This means that upon failure the gpio_chip.gpiodev is NULL resulting in a null pointer dereference inside the gpiochip_remove() function. Remove the unnecessary function call to gpiochip_remove(). No GPIO cleanup is required because the GPIO chip has not yet been registered. Without this change there is potential for a kernel panic upon registration failure

A flaw was found in the Linux kernel's Broadcom BCM2835 pin control driver. During device initialization, if pin controller registration fails, the driver attempts to remove an unregistered General Purpose Input/Output (GPIO) chip. This improper error handling leads to a null pointer dereference, causing a Denial of Service (DoS) through a kernel panic.

Отчет

A flaw was found in the Linux kernel's Broadcom BCM2835 pin control (pinctrl) driver, which Red Hat Product Security has rated as having low impact. If devm_pinctrl_register() fails during device probe, bcm2835_pinctrl_probe() calls gpiochip_remove() even though gpiochip_add_data() has not yet registered the GPIO chip. Because the unregistered GPIO chip has a NULL gpiodev pointer, gpiochip_remove() performs a null pointer dereference that can cause a kernel panic, resulting in a local denial of service. Triggering this flaw requires local access and depends on an uncommon pin controller registration failure during driver initialization, which is why Red Hat rates the impact as LOW even though the CVSS:3.1 base score is 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, moderate). Red Hat Enterprise Linux 6, 7, 8, and 9 (including kernel-rt) and the OpenShift Container Platform RHEL CoreOS 8 and 9 images are not affected because the vulnerable code is not present. Red Hat Enterprise Linux 10 and Red Hat In-Vehicle OS 2 kernel builds contain the vulnerable code and are affected. For these affected products the fix has been deferred due to the low severity of the flaw and the unlikely conditions required to trigger it; the residual risk is a kernel panic (denial of service) if the driver probe reaches the pin controller registration failure path on BCM2835-based hardware.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-476
https://bugzilla.redhat.com/show_bug.cgi?id=2540310kernel: pinctrl: bcm2835: Don't remove an unregistered GPIO chip

5.5 Medium

CVSS3

Связанные уязвимости

ubuntu
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: pinctrl: bcm2835: Don't remove an unregistered GPIO chip If the devm_pinctrl_register() function fails, bcm2835_pinctrl_probe() calls gpiochip_remove() before gpiochip_add_data() has registered the GPIO chip. This means that upon failure the gpio_chip.gpiodev is NULL resulting in a null pointer dereference inside the gpiochip_remove() function. Remove the unnecessary function call to gpiochip_remove(). No GPIO cleanup is required because the GPIO chip has not yet been registered. Without this change there is potential for a kernel panic upon registration failure

nvd
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: pinctrl: bcm2835: Don't remove an unregistered GPIO chip If the devm_pinctrl_register() function fails, bcm2835_pinctrl_probe() calls gpiochip_remove() before gpiochip_add_data() has registered the GPIO chip. This means that upon failure the gpio_chip.gpiodev is NULL resulting in a null pointer dereference inside the gpiochip_remove() function. Remove the unnecessary function call to gpiochip_remove(). No GPIO cleanup is required because the GPIO chip has not yet been registered. Without this change there is potential for a kernel panic upon registration failure

CVSS3: 4.1
msrc
около 2 месяцев назад

pinctrl: bcm2835: Don't remove an unregistered GPIO chip

debian
2 месяца назад

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

github
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: pinctrl: bcm2835: Don't remove an unregistered GPIO chip If the devm_pinctrl_register() function fails, bcm2835_pinctrl_probe() calls gpiochip_remove() before gpiochip_add_data() has registered the GPIO chip. This means that upon failure the gpio_chip.gpiodev is NULL resulting in a null pointer dereference inside the gpiochip_remove() function. Remove the unnecessary function call to gpiochip_remove(). No GPIO cleanup is required because the GPIO chip has not yet been registered. Without this change there is potential for a kernel panic upon registration failure

5.5 Medium

CVSS3