Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-49941

kernel: gpiolib: Fix potential NULL pointer dereference in gpiod_get_label()

Overview

Published
21 Oct 2024
Modified
17 Jun 2026
Medium CVE
0 Registry packages
34 OS packages
6 Linux distributions
Yes Fix available

Description

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

gpiolib: Fix potential NULL pointer dereference in gpiod_get_label()

In gpiod_get_label(), it is possible that srcu_dereference_check() may return a NULL pointer, leading to a scenario where label->str is accessed without verifying if label itself is NULL.

This patch adds a proper NULL check for label before accessing label->str. The check for label->str != NULL is removed because label->str can never be NULL if label is not NULL.

This fixes the issue where the label name was being printed as (efault) when dumping the sysfs GPIO file when label == NULL.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-476

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 8 fixes

Red Hat 1 release · 1 package

eol 1
bpftool
Red Hat fixes for CVE-2024-49941
ReleasePackageFixed in
7 bpftool +25 eol

debian 2 releases · 1 package

fixed 2
linux
debian fixes for CVE-2024-49941
ReleasePackageFixed in
13 linux 6.11.4-1
14 linux 6.11.4-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2024-49941
ReleasePackageFixed in
linux 6.11.4-1

openSUSE 1 release · 2 packages

fixed 2
kernel-devel kernel-devel-longterm
openSUSE fixes for CVE-2024-49941
ReleasePackageFixed inAdvisory
Tumbleweed kernel-devel +3 6.11.8-1.1 openSUSE-SU-2024:14500-1
Tumbleweed kernel-devel-longterm +1 6.12.11-1.1 openSUSE-SU-2025:14705-1

root.io debian 1 release · 1 package

fixed 1
rootio-linux
root.io debian fixes for CVE-2024-49941
ReleasePackageFixed in
13 rootio-linux 6.11.4-1

ubuntu 1 release · 1 package

fixed 1
linux-oem-6-11
ubuntu fixes for CVE-2024-49941
ReleasePackageFixed in
24.04 linux-oem-6-11 6.11.0-1015.15

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.