{"id":"CVE-2022-49754","summary":"Bluetooth: Fix a buffer overflow in mgmt_mesh_add()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Fix a buffer overflow in mgmt_mesh_add()\n\nSmatch Warning:\nnet/bluetooth/mgmt_util.c:375 mgmt_mesh_add() error: __memcpy()\n'mesh_tx-\u003eparam' too small (48 vs 50)\n\nAnalysis:\n\n'mesh_tx-\u003eparam' is array of size 48. This is the destination.\nu8 param[sizeof(struct mgmt_cp_mesh_send) + 29]; // 19 + 29 = 48.\n\nBut in the caller 'mesh_send' we reject only when len \u003e 50.\nlen \u003e (MGMT_MESH_SEND_SIZE + 31) // 19 + 31 = 50.","modified":"2026-04-02T08:27:53.585934Z","published":"2025-03-27T16:43:02.049Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49754.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2185e0fdbb2137f22a9dd9fcbf6481400d56299b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed818fd8c531abf561b379995ee7cc4c68029464"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49754.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49754"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3"},{"fixed":"ed818fd8c531abf561b379995ee7cc4c68029464"},{"fixed":"2185e0fdbb2137f22a9dd9fcbf6481400d56299b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49754.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}