CWE
476
Advisory Published
Updated

CVE-2024-56700: media: wl128x: Fix atomicity violation in fmc_send_cmd()

First published: Sat Dec 28 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: media: wl128x: Fix atomicity violation in fmc_send_cmd() Atomicity violation occurs when the fmc_send_cmd() function is executed simultaneously with the modification of the fmdev->resp_skb value. Consider a scenario where, after passing the validity check within the function, a non-null fmdev->resp_skb variable is assigned a null value. This results in an invalid fmdev->resp_skb variable passing the validity check. As seen in the later part of the function, skb = fmdev->resp_skb; when the invalid fmdev->resp_skb passes the check, a null pointer dereference error may occur at line 478, evt_hdr = (void *)skb->data; To address this issue, it is recommended to include the validity check of fmdev->resp_skb within the locked section of the function. This modification ensures that the value of fmdev->resp_skb does not change during the validation process, thereby maintaining its validity. This possible bug is found by an experimental static analysis tool developed by our team. This tool analyzes the locking APIs to extract function pairs that can be concurrently executed, and then analyzes the instructions in the paired functions to identify possible concurrency bugs including data races and atomicity violations.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
debian/linux<=5.10.223-1<=5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.15-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-56700?

    CVE-2024-56700 has been classified as a medium severity vulnerability in the Linux kernel.

  • How do I fix CVE-2024-56700?

    To fix CVE-2024-56700, upgrade to the patched versions of the Linux kernel: 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.

  • Which Linux kernel versions are affected by CVE-2024-56700?

    CVE-2024-56700 affects Linux kernel versions up to and including 5.10.226-1.

  • What components are impacted by CVE-2024-56700?

    CVE-2024-56700 impacts the wl128x component in the media subsystem of the Linux kernel.

  • Is CVE-2024-56700 an exploitation risk?

    Yes, CVE-2024-56700 poses a risk of exploitation due to the atomicity violation in fmc_send_cmd() that could lead to kernel instability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203