CVE-2024-46685

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

published September 13, 2024

CVSS
—
EPSS
0%
Percentile
16.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00259 · 16.7th percentile
Published
2024-09-13T05:29Z
EPSS history
Timeline
  • 13 SEP 05:29Z
    pinctrl: single: fix potential NULL dereference in pcs_get_function()
    cvelistv5