# CVE-2022-49754: Bluetooth: Fix a buffer overflow in mgmt_mesh_add()

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-02)
- Published: 2025-03-27T16:43:02.049Z
- Modified: 2026-06-17T05:19:03.400Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: Fix a buffer overflow in mgmt_mesh_add()

Smatch Warning:
net/bluetooth/mgmt_util.c:375 mgmt_mesh_add() error: __memcpy()
'mesh_tx->param' too small (48 vs 50)

Analysis:

'mesh_tx->param' is array of size 48. This is the destination.
u8 param[sizeof(struct mgmt_cp_mesh_send) + 29]; // 19 + 29 = 48.

But in the caller 'mesh_send' we reject only when len > 50.
len > (MGMT_MESH_SEND_SIZE + 31) // 19 + 31 = 50.

(As written by CVE List.)

## Affected

- Linux Linux: from b338d91703fae6f6afd67f3f75caa3b8f36ddef3 before ed818fd8c531abf561b379995ee7cc4c68029464; from b338d91703fae6f6afd67f3f75caa3b8f36ddef3 before 2185e0fdbb2137f22a9dd9fcbf6481400d56299b; 6.1 (not affected: before 6.1; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 6.1 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ed818fd8c531abf561b379995ee7cc4c68029464> (patch)
- <https://git.kernel.org/stable/c/2185e0fdbb2137f22a9dd9fcbf6481400d56299b> (patch)

## Sources

- CVE List: [CVE-2022-49754](https://www.cve.org/CVERecord?id=CVE-2022-49754), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49754](https://nvd.nist.gov/vuln/detail/CVE-2022-49754), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49754 · Whole record: https://cve.day/CVE-2022-49754.json · Rebuilt by cve.day 2026-11-25T22:58:20.847Z
