PT-2025-8143 · Linux+4 · Linux Kernel+4

·

CVE-2022-49215

·

Published

2022-01-01

·

Updated

2026-08-23

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.16.0+
Description A race condition in the xsk socket teardown code can lead to a NULL pointer dereference. The issue arises when the xsk unbind dev() function sets xs->state to XSK UNBOUND and xs->dev to NULL before waiting for NAPI processing to terminate, which can cause a crash if another process is still using the socket. The problem is solved by removing the NULL assignment to xs->dev and extending the RCU critical region to cover the entire xsk poll(), xsk sendmsg(), and xsk recvmsg() functions.
Recommendations For Linux kernel version 5.16.0+, update to a version that includes the fix for the xsk socket teardown code. For earlier versions, consider applying the patch that removes the NULL assignment to xs->dev and extends the RCU critical region to cover the entire xsk poll(), xsk sendmsg(), and xsk recvmsg() functions as a temporary workaround.

Exploit

Fix

DoS

NULL Pointer Dereference

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
CVE-2022-49215
RHSA-2022:8267
RHSA-2022_8267
SUSE-SU-2025:1176-1
SUSE-SU-2025:1241-1
SUSE-SU-2025_1241-1

Affected Products

Astra Linux
Debian
Linux Kernel
Red Hat
Suse