CVE-2022-50498
JSON

5.5medium

eth: alx: take rtnl_lock on resume

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 7% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: eth: alx: take rtnl_lock on resume Zbynek reports that alx trips an rtnl assertion on resume: RTNL: assertion failed at net/core/dev.c (2891) RIP: 0010:netif_set_real_num_tx_queues+0x1ac/0x1c0 Call Trace: <TASK> __alx_open+0x230/0x570 [alx] alx_resume+0x54/0x80 [alx] ? pci_legacy_resume+0x80/0x80 dpm_run_callback+0x4a/0x150 device_resume+0x8b/0x190 async_resume+0x19/0x30 async_run_entry_fn+0x30/0x130 process_one_work+0x1e5/0x3b0 indeed the driver does not hold rtnl_lock during its internal close and re-open functions during suspend/resume. Note that this is not a huge bug as the driver implements its own locking, and does not implement changing the number of queues, but we need to silence the splat.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4a5fe57e775188be96359a1934501be45fe5f705 before 6f1991a940b90753b34570f093a21dba366e8cc0, from 4a5fe57e775188be96359a1934501be45fe5f705 before a845a0c4bdece2c0073ecea2fca7c4d5f0550f78, from 4a5fe57e775188be96359a1934501be45fe5f705 before c0323c0fd07804d5874699e93f935cda0d989c67, from 4a5fe57e775188be96359a1934501be45fe5f705 before 6ad1c94e1e7e374d88f0cfd77936dddb8339aaba, 5.14
Not affected: before 5.14, from 5.15.75 up to 5.15.*, from 5.19.17 up to 5.19.*, from 6.0.3 up to 6.0.*, from 6.1 up to *
CVE List
linux linux_kernelfrom 5.14 before 5.15.75, from 5.16 before 5.19.17, from 6.0 before 6.0.3NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50498 changed 2026-11-05CVE Terms of Use
NVDCVE-2022-50498 changed 2026-11-05Public domain