Race Condition Affecting kernel-debug package, versions <0:3.10.0-1160.59.1.el7
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-KERNELDEBUG-7978051
- published 14 Sep 2024
- disclosed 8 Jun 2021
How to fix?
Upgrade RHEL:7
kernel-debug
to version 0:3.10.0-1160.59.1.el7 or higher.
This issue was patched in RHSA-2022:0620
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream kernel-debug
package and not the kernel-debug
package as distributed by RHEL
.
See How to fix?
for RHEL:7
relevant fixed versions and status.
A use-after-free in function hci_sock_bound_ioctl() of the Linux kernel HCI subsystem was found in the way user calls ioct HCIUNBLOCKADDR or other way triggers race condition of the call hci_unregister_dev() together with one of the calls hci_sock_blacklist_add(), hci_sock_blacklist_del(), hci_get_conn_info(), hci_get_auth_info(). A privileged local user could use this flaw to crash the system or escalate their privileges on the system. This flaw affects the Linux kernel versions prior to 5.13-rc5.
References
- https://access.redhat.com/security/cve/CVE-2021-3573
- https://bugzilla.redhat.com/show_bug.cgi?id=1966578
- https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=e305509e678b3a4af2b3cfd410f409f7cdaabb52
- https://www.openwall.com/lists/oss-security/2021/06/08/2
- https://access.redhat.com/errata/RHSA-2022:0620
- http://www.openwall.com/lists/oss-security/2023/07/02/1