CWE
362 416
Advisory Published
CVE Published
CVE Published
Updated

CVE-2021-3640: Race Condition

First published: Fri Jul 09 2021(Updated: )

A flaw use-after-free in function sco_sock_sendmsg() of the Linux kernel HCI subsystem was found in the way user calls ioct UFFDIO_REGISTER or other way triggers race condition of the call sco_conn_del() together with the call sco_sock_sendmsg() with the expected controllable faulting memory page. A privileged local user could use this flaw to crash the system or escalate their privileges on the system.

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
redhat/kernel<0:5.14.0-162.6.1.el9_1
0:5.14.0-162.6.1.el9_1
redhat/kernel-rt<0:5.14.0-162.6.1.rt21.168.el9_1
0:5.14.0-162.6.1.rt21.168.el9_1
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
Linux Kernel<4.4.293
Linux Kernel>=4.5<4.9.291
Linux Kernel>=4.10<4.14.256
Linux Kernel>=4.15<4.19.218
Linux Kernel>=4.20<5.4.160
Linux Kernel>=5.5.0<5.10.80
Linux Kernel>=5.11<5.14.19
Linux Kernel>=5.15<5.15.3
Debian=9.0
Fedora=34
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=18.04
Ubuntu=20.04
Ubuntu=21.10
netapp h300s firmware
netapp h300s
netapp h700s firmware
netapp h700s
netapp h300e firmware
netapp h300e
netapp h500e firmware
netapp h500e
netapp h700e firmware
netapp h700e
netapp h410s firmware
netapp h410s
netapp h410c firmware
netapp h410c
NetApp H500S Firmware
netapp h500s
All of
netapp h300s firmware
netapp h300s
All of
netapp h700s firmware
netapp h700s
All of
netapp h300e firmware
netapp h300e
All of
netapp h500e firmware
netapp h500e
All of
netapp h700e firmware
netapp h700e
All of
netapp h410s firmware
netapp h410s
All of
netapp h410c firmware
netapp h410c
All of
NetApp H500S Firmware
netapp h500s

Remedy

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-3640?

    The severity of CVE-2021-3640 is rated as medium, posing a potential risk for denial of service or data corruption.

  • How do I fix CVE-2021-3640?

    To fix CVE-2021-3640, upgrade to the recommended versions of the Linux kernel, specifically 0:4.18.0-425.3.1.el8 or higher.

  • What systems are affected by CVE-2021-3640?

    CVE-2021-3640 affects multiple versions of the Linux kernel across various distributions including Red Hat, Ubuntu, and Debian.

  • Is CVE-2021-3640 a remote exploit?

    CVE-2021-3640 is not a remote exploit but rather requires local access to trigger the vulnerability.

  • What mitigations exist for CVE-2021-3640?

    Mitigations for CVE-2021-3640 involve applying the latest kernel updates that address the use-after-free flaw.

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