cbcvebase.
CVE-2024-42089
published 2024-07-29

CVE-2024-42089: In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl-asoc-card: set priv->pdev before using it priv->pdev pointer was set after being…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
14.3th percentile
In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl-asoc-card: set priv->pdev before using it priv->pdev pointer was set after being used in fsl_asoc_card_audmux_init(). Move this assignment at the start of the probe function, so sub-functions can correctly use pdev through priv. fsl_asoc_card_audmux_init() dereferences priv->pdev to get access to the dev struct, used with dev_err macros. As priv is zero-initialised, there would be a NULL pointer dereference. Note that if priv->dev is dereferenced before assignment but never used, for example if there is no error to be printed, the driver won't crash probably due to compiler optimisations.

Affected

28 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.98-1 (bookworm)linux 6.1.98-1 (bookworm)
debianlinux-6.1< linux 6.1.98-1 (bookworm)linux 6.1.98-1 (bookworm)
linuxlinux
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < ae81535ce2503aabc4adab3472f4338070cdeb6aae81535ce2503aabc4adab3472f4338070cdeb6a
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 8896e18b7c366f8faf9344abfd0971435f1c723a8896e18b7c366f8faf9344abfd0971435f1c723a
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 3662eb2170e59b58ad479982dc1084889ba757b93662eb2170e59b58ad479982dc1084889ba757b9
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 544ab46b7ece6d6bebbdee5d5659c0a0f804a99a544ab46b7ece6d6bebbdee5d5659c0a0f804a99a
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 8faf91e58425c2f6ce773250dfd995f1c2d461ac8faf91e58425c2f6ce773250dfd995f1c2d461ac
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 7c18b4d89ff9c810b6e562408afda5ce165c4ea67c18b4d89ff9c810b6e562408afda5ce165c4ea6
linuxlinux>= 708b4351f08c08ea93f773fb9197bdd3f3b08273 < 90f3feb24172185f1832636264943e8b5e28924590f3feb24172185f1832636264943e8b5e289245
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.221-15.10.221-1
linuxlinux_kernel>= 0 < 6.1.98-16.1.98-1
linuxlinux_kernel>= 0 < 6.9.8-16.9.8-1
linuxlinux_kernel>= 0 < 6.9.8-16.9.8-1
linuxlinux_kernel>= 0 < 5.4.0-195.2155.4.0-195.215
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-48.486.8.0-48.48
linuxlinux_kernel>= 0 < 4.4.0-260.2944.4.0-260.294
linuxlinux_kernel>= 0 < 4.15.0-230.2424.15.0-230.242
linuxlinux_kernel>= 3.18 < 4.19.3174.19.317
linuxlinux_kernel>= 4.20 < 5.4.2795.4.279
linuxlinux_kernel>= 5.11 < 5.15.1625.15.162
linuxlinux_kernel>= 5.16 < 6.1.976.1.97

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.