PT-2024-10334

CVE-2021-46981

·

Published

2024-02-28

·

Updated

2026-10-21

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.11.0-rc5-00040-g76c057c84d28
Description The vulnerability is related to a NULL pointer dereference in the flush workqueue function when disconnecting from a network block device (/dev/nbdX). The issue occurs when the config refs is 1 and the pointers in nbd device are still null. This can lead to a kernel crash. The vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition.
To fix the issue, add a check for nbd->recv workq in the nbd disconnect and put function.
Recommendations For Linux kernel versions prior to 5.11.0-rc5-00040-g76c057c84d28, add if (nbd->recv workq) to nbd disconnect and put().
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
CLSA-2024-1716270851
OPENSUSE-SU-2024_1489-1
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
SUSE-SU-2024:1643-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1870-1
USN-6777-1
USN-6777-2
USN-6777-3
USN-6777-4
Found an issue in the description? Have something to add? Feel free to write us 👾