5.5
MEDIUM CVSS 3.1
CVE-2024-46685
pinctrl: single: fix potential NULL dereference in pcs_get_function()
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.

INFO

Published Date :

Sept. 13, 2024, 6:15 a.m.

Last Modified :

Sept. 14, 2024, 4 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2024-46685 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
This vulnerability is addressed by updating the Linux kernel to a version with a fix.
  • Update the Linux kernel to a patched version.
  • Reboot the system to apply the update.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-46685 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-46685 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-46685 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-46685 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 14, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/0a2bab5ed161318f57134716accba0a30f3af191 No Types Assigned https://git.kernel.org/stable/c/0a2bab5ed161318f57134716accba0a30f3af191 Patch
    Changed Reference Type https://git.kernel.org/stable/c/1c38a62f15e595346a1106025722869e87ffe044 No Types Assigned https://git.kernel.org/stable/c/1c38a62f15e595346a1106025722869e87ffe044 Patch
    Changed Reference Type https://git.kernel.org/stable/c/292151af6add3e5ab11b2e9916cffa5f52859a1f No Types Assigned https://git.kernel.org/stable/c/292151af6add3e5ab11b2e9916cffa5f52859a1f Patch
    Changed Reference Type https://git.kernel.org/stable/c/2cea369a5c2e85ab14ae716da1d1cc6d25c85e11 No Types Assigned https://git.kernel.org/stable/c/2cea369a5c2e85ab14ae716da1d1cc6d25c85e11 Patch
    Changed Reference Type https://git.kernel.org/stable/c/4e9436375fcc9bd2a60ee96aba6ed53f7a377d10 No Types Assigned https://git.kernel.org/stable/c/4e9436375fcc9bd2a60ee96aba6ed53f7a377d10 Patch
    Changed Reference Type https://git.kernel.org/stable/c/4ed45fe99ec9e3c9478bd634624cd05a57d002f7 No Types Assigned https://git.kernel.org/stable/c/4ed45fe99ec9e3c9478bd634624cd05a57d002f7 Patch
    Changed Reference Type https://git.kernel.org/stable/c/6341c2856785dca7006820b127278058a180c075 No Types Assigned https://git.kernel.org/stable/c/6341c2856785dca7006820b127278058a180c075 Patch
    Changed Reference Type https://git.kernel.org/stable/c/8f0bd526921b6867c2f10a83cd4fd14139adcd92 No Types Assigned https://git.kernel.org/stable/c/8f0bd526921b6867c2f10a83cd4fd14139adcd92 Patch
    Added CWE NIST CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.11 up to (excluding) 4.19.321 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.283 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.225 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.166 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.108 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.49 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.8 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 13, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/0a2bab5ed161318f57134716accba0a30f3af191 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2cea369a5c2e85ab14ae716da1d1cc6d25c85e11 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4e9436375fcc9bd2a60ee96aba6ed53f7a377d10 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/6341c2856785dca7006820b127278058a180c075 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8f0bd526921b6867c2f10a83cd4fd14139adcd92 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4ed45fe99ec9e3c9478bd634624cd05a57d002f7 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/292151af6add3e5ab11b2e9916cffa5f52859a1f [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/1c38a62f15e595346a1106025722869e87ffe044 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact