PT-2025-8223
CVE-2022-49295
·
Published
2022-05-27
·
Updated
2025-04-16
Description by
CVSS 3.1
7.0
HighMetricsAV:L/AC:H/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.14.0-rc4
Description
A race condition exists between module removal and the handling of netlink commands in the Linux kernel, which can lead to a kernel NULL pointer dereference. This issue is related to the
nbd module and can cause an oops error, as shown in the provided stack trace. The error occurs when genl unregister family() is not called before nbd cleanup(), allowing for a potential race condition.Recommendations
For Linux kernel versions prior to 5.14.0-rc4, consider updating to a newer version that includes the fix for this issue. As a temporary workaround, ensure that
genl unregister family() is called before nbd cleanup() to prevent the race condition.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾