+20
−32
Loading
mainline inclusion from mainline-v6.9-rc4 commit 4f3951242ace5efc7131932e2e01e6ac6baed846 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9QRQE CVE: CVE-2024-35965 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4f3951242ace5efc7131932e2e01e6ac6baed846 -------------------------------- Check user input length before copying data. Fixes: 33575df7 ("Bluetooth: move l2cap_sock_setsockopt() to l2cap_sock.c") Fixes: 3ee7b7cd ("Bluetooth: Add BT_MODE socket option") Signed-off-by:Eric Dumazet <edumazet@google.com> Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by:
Zhao Mengmeng <zhaomengmeng@kylinos.cn>