CVE-2024-46685

pinctrl: single: fix potential NULL dereference in pcs_get_function()

MEDIUM
5.5
CVSS Score
Published: September 13, 2024 at 05:29 AM UTC
Updated: June 17, 2026 at 07:55 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: single: fix potential NULL dereference in pcs_get_function() pinmux_generic_get_function() can return NULL and the pointer 'function' was dereferenced without checking against NULL. Add checking of pointer 'function' in pcs_get_function(). Found by code review.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.11 ≤ v < 4.19.3214.11 ≤ v < 5.10.2254.11 ≤ v < 5.15.1664.11 ≤ v < 5.4.2834.11 ≤ v < 6.1.1084.11 ≤ v < 6.10.84.11 ≤ v < 6.114.11 ≤ v < 6.6.494.20 ≤ v < 5.4.2835.11 ≤ v < 5.15.1665.16 ≤ v < 6.1.1085.5 ≤ v < 5.10.2256.2 ≤ v < 6.6.496.7 ≤ v < 6.10.8571aec4df5b72a80f80d1e524da8fbd7ff525c986.11 rc16.11 rc26.11 rc36.11 rc46.11 rc5
Vendor states this is fixed in 0a2bab5ed161318f57134716accba0a30f3af191 (fixed)
Vendor states this is fixed in 1c38a62f15e595346a1106025722869e87ffe044 (fixed)
Vendor states this is fixed in 292151af6add3e5ab11b2e9916cffa5f52859a1f (fixed)
Vendor states this is fixed in 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11 (fixed)
Vendor states this is fixed in 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10 (fixed)
Vendor states this is fixed in 4ed45fe99ec9e3c9478bd634624cd05a57d002f7 (fixed)
Vendor states this is fixed in 6341c2856785dca7006820b127278058a180c075 (fixed)
Vendor states this is fixed in 8f0bd526921b6867c2f10a83cd4fd14139adcd92 (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 4.19.321 (unaffected)
Vendor states this is fixed in 5.10.225 (unaffected)
Vendor states this is fixed in 5.15.166 (unaffected)
Vendor states this is fixed in 5.4.283 (unaffected)
Vendor states this is fixed in 6.1.108 (unaffected)
Vendor states this is fixed in 6.10.8 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.49 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a2bab5ed161318f57134716accba0a30f3af191
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c38a62f15e595346a1106025722869e87ffe044
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/292151af6add3e5ab11b2e9916cffa5f52859a1f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2cea369a5c2e85ab14ae716da1d1cc6d25c85e11
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e9436375fcc9bd2a60ee96aba6ed53f7a377d10
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ed45fe99ec9e3c9478bd634624cd05a57d002f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6341c2856785dca7006820b127278058a180c075
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f0bd526921b6867c2f10a83cd4fd14139adcd92

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card