Race Condition Affecting linux-4.19 package, versions <4.19.194-1~deb9u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (37th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN9-LINUX419-1312514
  • published18 Apr 2021
  • disclosed22 Apr 2021

Introduced: 18 Apr 2021

CVE-2021-23133  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Debian:9 linux-4.19 to version 4.19.194-1~deb9u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-4.19 package and not the linux-4.19 package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

A race condition in Linux kernel SCTP sockets (net/sctp/socket.c) before 5.12-rc8 can lead to kernel privilege escalation from the context of a network service or an unprivileged process. If sctp_destroy_sock is called without sock_net(sk)->sctp.addr_wq_lock then an element is removed from the auto_asconf_splist list without any proper locking. This can be exploited by an attacker with network service privileges to escalate to root or from the context of an unprivileged user directly if a BPF_CGROUP_INET_SOCK_CREATE is attached which denies creation of some SCTP socket.

CVSS Base Scores

version 3.1