Race Condition Affecting kernel-abi-whitelists package, versions <0:3.10.0-1160.59.1.el7


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

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 IDSNYK-CENTOS7-KERNELABIWHITELISTS-2023810
  • published26 Jul 2021
  • disclosed8 Jun 2021

Introduced: 8 Jun 2021

CVE-2021-3573  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-416  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Centos:7 kernel-abi-whitelists to version 0:3.10.0-1160.59.1.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-abi-whitelists package and not the kernel-abi-whitelists package as distributed by Centos. See How to fix? for Centos: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.

CVSS Scores

version 3.1