VDB

CVE-2024-40965

CVE-2024-40965 PUBLISHED

i2c: lpi2c: Avoid calling clk_get_rate during transfer

Reported by linux · Published July 12, 2024

In the Linux kernel, the following vulnerability has been resolved: i2c: lpi2c: Avoid calling clk_get_rate during transfer Instead of repeatedly calling clk_get_rate for each transfer, lock the clock rate and cache the value. A deadlock has been observed while adding tlv320aic32x4 audio codec to the system. When this clock provider adds its clock, the clk mutex is locked already, it needs to access i2c, which in return needs the mutex for clk_get_rate as well.

Affected products

VendorProductVersions
LinuxLinuxa55fa9d0e42e31b0292540e6324d481aad307644, a55fa9d0e42e31b0292540e6324d481aad307644, a55fa9d0e42e31b0292540e6324d481aad307644
LinuxLinux4.10, 0, 6.6.64
linuxlinux_kernel4.10, 4.10, 4.10
LinuxLinux*, *, 4.10

Timeline

  • Jul 12, 2024 CVE Published
  • Jul 13, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Jan 5, 2026 CVE Updated
  • Jan 7, 2026 Security Advisory (321 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (224 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-40965
vulnetix vdb fixes CVE-2024-40965

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40965/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›