CVE-2022-49754
Linux Kernel vulnerability analysis and mitigation

Overview

A buffer overflow vulnerability was identified in the Linux kernel's Bluetooth subsystem, specifically in the mgmtmeshadd() function. The vulnerability was assigned CVE-2022-49754. The issue involves a size mismatch between a destination buffer (mesh_tx->param) of size 48 bytes and potential data of up to 50 bytes (NVD).

Technical details

The vulnerability exists in the net/bluetooth/mgmtutil.c file at line 375. The technical root cause is that meshtx->param is an array of size 48 (calculated as sizeof(struct mgmtcpmeshsend) + 29, which equals 19 + 29 = 48). However, in the meshsend caller, the length check only rejects when len > 50 (MGMTMESHSEND_SIZE + 31, which equals 19 + 31 = 50). This mismatch creates a potential buffer overflow condition of 2 bytes (NVD).

Impact

The buffer overflow vulnerability could allow an attacker to write beyond the intended buffer boundaries in the Linux kernel's Bluetooth subsystem. This could potentially lead to memory corruption and system instability (NVD).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through a patch that fixes the buffer overflow in mgmtmeshadd(). The fix addresses the size mismatch between the buffer and the potential data length (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management