PT-2025-25980 · Linux+4 · Linux Kernel+4
Published
2022-08-12
·
Updated
2025-07-15
·
CVE-2022-50054
CVSS v2.0
6.0
Medium
| Vector | AV:L/AC:H/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to the fixed version
Description
A NULL pointer dereference issue has been identified in the Linux kernel, specifically in the iavf get link ksettings function. This issue can occur when the adapter->vf res is freed, but the netdev is still registered, allowing ethtool ops to be called. As a result, calling iavf get link ksettings without vf res can lead to a kernel NULL pointer dereference. The issue is related to a regression introduced in a previous commit, where receiving IAVF ERR ADMIN QUEUE NO WORK from iavf get vf config would free adapter->vf res.
Recommendations
To resolve this issue, update the Linux kernel to a version that includes the fix for the NULL pointer dereference in iavf get link ksettings. As a temporary workaround, consider disabling the iavf get link ksettings function until a patch is available. Restrict access to the vulnerable module to minimize the risk of exploitation. Avoid using the affected API endpoint until the issue is resolved.
Exploit
Fix
Improper Resource Release
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Centos
Linux Kernel
Red Hat
Suse