CVE-2024-43862

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/08/2024
Last modified:
03/09/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: wan: fsl_qmc_hdlc: Convert carrier_lock spinlock to a mutex<br /> <br /> The carrier_lock spinlock protects the carrier detection. While it is<br /> held, framer_get_status() is called which in turn takes a mutex.<br /> This is not correct and can lead to a deadlock.<br /> <br /> A run with PROVE_LOCKING enabled detected the issue:<br /> [ BUG: Invalid wait context ]<br /> ...<br /> c204ddbc (&amp;framer-&gt;mutex){+.+.}-{3:3}, at: framer_get_status+0x40/0x78<br /> other info that might help us debug this:<br /> context-{4:4}<br /> 2 locks held by ifconfig/146:<br /> #0: c0926a38 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x12c/0x664<br /> #1: c2006a40 (&amp;qmc_hdlc-&gt;carrier_lock){....}-{2:2}, at: qmc_hdlc_framer_set_carrier+0x30/0x98<br /> <br /> Avoid the spinlock usage and convert carrier_lock to a mutex.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.9 (including) 6.10.4 (excluding)
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*