Bug 1220435 (CVE-2021-46916)

Summary: VUL-0: CVE-2021-46916: kernel-source,kernel-source-azure,kernel-source-rt: ixgbe: NULL pointer dereference in ethtool loopback test
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: carlos.lopez
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/395260/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-46916:4.4:(AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-02-27 11:50:03 UTC
In the Linux kernel, the following vulnerability has been resolved:

ixgbe: Fix NULL pointer dereference in ethtool loopback test

The ixgbe driver currently generates a NULL pointer dereference when
performing the ethtool loopback test. This is due to the fact that there
isn't a q_vector associated with the test ring when it is setup as
interrupts are not normally added to the test rings.

To address this I have added code that will check for a q_vector before
returning a napi_id value. If a q_vector is not present it will return a
value of 0.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-46916
https://www.cve.org/CVERecord?id=CVE-2021-46916
https://git.kernel.org/stable/c/31166efb1cee348eb6314e9c0095d84cbeb66b9d
https://git.kernel.org/stable/c/758d19098df4b0bbca9f40d6ae6c82c9c18b9bba
Comment 1 Carlos López 2024-02-27 11:51:07 UTC
Already fixed everywhere relevant (cve/linux-5.14, SLE15-SP6, stable and master). Closing.