CVE-2022-49134
Last modified
CVE-2022-49134 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum: Guard against invalid local ports When processing events generated by the device's firmware, the driver protects itself from events reported for non-existent local ports, but not for the CPU port (local port 0), which exists, but does not have all the fields as any local port. This can result in a NULL pointer dereference when trying access 'struct mlxsw_sp_port' fields which are not initialized for CPU port. Commit 63b08b1f6834 ("mlxsw: spectrum: Protect driver from buggy firmware") already handled such issue by bailing early when processing a PUDE event reported for the CPU port. Generalize the approach by moving the check to a common function and making use of it in all relevant places.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum: Guard against invalid local ports When processing events generated by the device's firmware, the driver protects itself from events reported for non-existent local ports, but not for the CPU port (local port 0), which exists, but does not have all the fields as any local port. This can result in a NULL pointer dereference when trying access 'struct mlxsw_sp_port' fields which are not initialized for CPU port. Commit 63b08b1f6834 ("mlxsw: spectrum: Protect driver from buggy firmware") already handled such issue by bailing early when processing a PUDE event reported for the CPU port. Generalize the approach by moving the check to a common function and making use of it in all relevant places.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.17.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49134?
How severe is CVE-2022-49134?
How do I fix CVE-2022-49134?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49129In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-4913Inappropriate implementation in Extensions in Google Chrome …6.5
- CVE-2022-49130In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49131In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49132In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49133In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49135In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49136In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49137In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49138In the Linux kernel, the following vulnerability has been re…5.7
- CVE-2022-49139In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4914Heap buffer overflow in PrintPreview in Google Chrome prior …8.8
Are you affected by CVE-2022-49134?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
