CVE-2024-49941
publishedgpiolib: Fix potential NULL pointer dereference in gpiod_get_label()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa86d27693066a34a29be86f394bbad847b2d1749 to < 9ee4b907d7a5d7a53b4ff7727c371ff3d44ccbbb · a86d27693066a34a29be86f394bbad847b2d1749 to < 7b99b5ab885993bff010ebcd93be5e511c56e28a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.11.3 through 6.11.* (unaffected · semver) · 6.12 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | noble | linux-buildinfo-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | noble | linux-headers-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-image-unsigned-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-ipu6-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-ipu7-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-usbio-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-vision-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-headers-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-tools-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-tools-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | oracular | linux | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-cloud-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-cloud-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-bpf-dev | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-18 | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-common | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-doc | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-gcp-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-gcp-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18 | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-image-6.11.0-1008-raspi-dbgsym | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-image-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-6.11.0-18-generic-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1005-realtime-dbgsym | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-aws-dbgsym | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-azure-dbgsym | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-gcp-dbgsym | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-64k-dbgsym | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-dbgsym | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-64k-dbgsym | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a86d27693066a34a29be86f394bbad847b2d1749 to < 9ee4b907d7a5d7a53b4ff7727c371ff3d44ccbbb (affected · git)a86d27693066a34a29be86f394bbad847b2d1749 to < 7b99b5ab885993bff010ebcd93be5e511c56e28a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.11.3 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
gpiolib: Fix potential NULL pointer dereference in gpiod_get_label()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d4980266f3f975599f2be241a5d1e89fc29e6f77e43ba55321443a4ce46f3752
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record