Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-46685

MEDIUM 5.5EPSS 17%

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

Mitigation

  • Upgrade Linux to 1c38a62f15e595346a1106025722869e87ffe044 or later.

Who should check

  • Anyone running Linux >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 0a2bab5ed161318f57134716accba0a30f3af191; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 6341c2856785dca7006820b127278058a180c075; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 8f0bd526921b6867c2f10a83cd4fd14139adcd92; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4ed45fe99ec9e3c9478bd634624cd05a57d002f7; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 292151af6add3e5ab11b2e9916cffa5f52859a1f; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 1c38a62f15e595346a1106025722869e87ffe044
  • Anyone running Linux 4.11

Vulnerability facts

Affected
Linux >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 0a2bab5ed161318f57134716accba0a30f3af191; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 6341c2856785dca7006820b127278058a180c075; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 8f0bd526921b6867c2f10a83cd4fd14139adcd92; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4ed45fe99ec9e3c9478bd634624cd05a57d002f7; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 292151af6add3e5ab11b2e9916cffa5f52859a1f; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 1c38a62f15e595346a1106025722869e87ffe044; Linux 4.11
Fixed in
Linux 0a2bab5ed161318f57134716accba0a30f3af191, Linux 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11, Linux 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10, Linux 6341c2856785dca7006820b127278058a180c075, Linux 8f0bd526921b6867c2f10a83cd4fd14139adcd92, Linux 4ed45fe99ec9e3c9478bd634624cd05a57d002f7, Linux 292151af6add3e5ab11b2e9916cffa5f52859a1f, Linux 1c38a62f15e595346a1106025722869e87ffe044
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
CWE
CWE-476
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 0a2bab5ed161318f57134716accba0a30f3af191; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 6341c2856785dca7006820b127278058a180c075; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 8f0bd526921b6867c2f10a83cd4fd14139adcd92; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4ed45fe99ec9e3c9478bd634624cd05a57d002f7; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 292151af6add3e5ab11b2e9916cffa5f52859a1f; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 1c38a62f15e595346a1106025722869e87ffe044—cvelist
Linux4.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-46685. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46685.md
Affected: Linux >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 0a2bab5ed161318f57134716accba0a30f3af191; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10; >= 571aec4df5b72a80f80d1e5…
Fixed in: Linux 0a2bab5ed161318f57134716accba0a30f3af191, Linux 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11, Linux 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10, Linux 6341c2856785dca7006820b127278058a180c075, Linux 8f0bd526921b6867c2f10a83cd4fd14139adcd92, Linux 4ed45fe99ec9e3c9478bd634624cd05a57d002f7, Linux 29215…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-46685 being exploited?

There is no confirmed exploitation: CVE-2024-46685 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-46685?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-46685?

Linux >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 0a2bab5ed161318f57134716accba0a30f3af191; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 6341c2856785dca7006820b127278058a180c075; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 8f0bd526921b6867c2f10a83cd4fd14139adcd92; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 4ed45fe99ec9e3c9478bd634624cd05a57d002f7; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 292151af6add3e5ab11b2e9916cffa5f52859a1f; >= 571aec4df5b72a80f80d1e524da8fbd7ff525c98, < 1c38a62f15e595346a1106025722869e87ffe044; Linux 4.11.

Is there a fix for CVE-2024-46685?

Yes. Fixed in Linux 0a2bab5ed161318f57134716accba0a30f3af191, Linux 2cea369a5c2e85ab14ae716da1d1cc6d25c85e11, Linux 4e9436375fcc9bd2a60ee96aba6ed53f7a377d10, Linux 6341c2856785dca7006820b127278058a180c075, Linux 8f0bd526921b6867c2f10a83cd4fd14139adcd92, Linux 4ed45fe99ec9e3c9478bd634624cd05a57d002f7, Linux 292151af6add3e5ab11b2e9916cffa5f52859a1f, Linux 1c38a62f15e595346a1106025722869e87ffe044. Upgrade Linux to 1c38a62f15e595346a1106025722869e87ffe044 or later.

How do I check if I'm affected by CVE-2024-46685?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors