{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21787","id":"CVE-2025-21787","title":"team: better TEAM_OPTION_TYPE_STRING validation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nteam: better TEAM_OPTION_TYPE_STRING validation\n\nsyzbot reported following splat [1]\n\nMake sure user-provided data contains one nul byte.\n\n[1]\n BUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:633 [inline]\n BUG: KMSAN: uninit-value in string+0x3ec/0x5f0 lib/vsprintf.c:714\n  string_nocheck lib/vsprintf.c:633 [inline]\n  st","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nteam: better TEAM_OPTION_TYPE_STRING validation\n\nsyzbot reported following splat [1]\n\nMake sure user-provided data contains one nul byte.\n\n[1]\n BUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:633 [inline]\n BUG: KMSAN: uninit-value in string+0x3ec/0x5f0 lib/vsprintf.c:714\n  string_nocheck lib/vsprintf.c:633 [inline]\n  string+0x3ec/0x5f0 lib/vsprintf.c:714\n  vsnprintf+0xa5d/0x1960 lib/vsprintf.c:2843\n  __request_module+0x252/0x9f0 kernel/module/kmod.c:149\n  team_mode_get drivers/net/team/team_core.c:480 [inline]\n  team_change_mode drivers/net/team/team_core.c:607 [inline]\n  team_mode_option_set+0x437/0x970 drivers/net/team/team_core.c:1401\n  team_option_set drivers/net/team/team_core.c:375 [inline]\n  team_nl_options_set_doit+0x1339/0x1f90 drivers/net/team/team_core.c:2662\n  genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]\n  genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]\n  genl_rcv_msg+0x1214/0x12c0 net/netlink/genetlink.c:1210\n  netlink_rcv_skb+0x375/0x650 net/netlink/af_netlink.c:2543\n  genl_rcv+0x40/0x60 net/netlink/genetlink.c:1219\n  netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline]\n  netlink_unicast+0xf52/0x1260 net/netlink/af_netlink.c:1348\n  netlink_sendmsg+0x10da/0x11e0 net/netlink/af_netlink.c:1892\n  sock_sendmsg_nosec net/socket.c:718 [inline]\n  __sock_sendmsg+0x30f/0x380 net/socket.c:733\n  ____sys_sendmsg+0x877/0xb60 net/socket.c:2573\n  ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2627\n  __sys_sendmsg net/socket.c:2659 [inline]\n  __do_sys_sendmsg net/socket.c:2664 [inline]\n  __se_sys_sendmsg net/socket.c:2662 [inline]\n  __x64_sys_sendmsg+0x212/0x3c0 net/socket.c:2662\n  x64_sys_call+0x2ed6/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:47\n  do_syscall_x64 arch/x86/entry/common.c:52 [inline]\n  do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83\n entry_SYSCALL_64_after_hwframe+0x77/0x7f","published":"2025-02-27T02:18:26.875Z","updated":"2026-10-28T02:31:11.307704888Z","reserved":"2024-12-29T08:45:45.766Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"7c30483d0f6bdb2230e10e3e4be5167927eac7a0","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"7f5af50f3aa0af8cbef9fb76fffeed69e8143f59","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"f443687ad20c70320d1248f35f57bf46cac8df0a","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"4512482e4805dd30bc77dec511f2a2edba5cb868","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"d071a91fa614ecdf760c29f61f6a7bfb7df796d6","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"4236bf4716589558cc0f3c3612642b2c2141b04e","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"8401cade1918281177974b32c925afdce750d292","status":"affected","versionType":"git"},{"version":"3d249d4ca7d0ed6629a135ea1ea21c72286c0d80","lessThan":"5bef3ac184b5626ea62385d6b82a1992b89d7940","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.3","status":"affected"},{"version":"0","lessThan":"3.3","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.129","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.79","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.16","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.4","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7c30483d0f6bdb2230e10e3e4be5167927eac7a0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7f5af50f3aa0af8cbef9fb76fffeed69e8143f59","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f443687ad20c70320d1248f35f57bf46cac8df0a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4512482e4805dd30bc77dec511f2a2edba5cb868","tags":["Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d071a91fa614ecdf760c29f61f6a7bfb7df796d6","tags":["Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/4236bf4716589558cc0f3c3612642b2c2141b04e","tags":["Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8401cade1918281177974b32c925afdce750d292","tags":["Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5bef3ac184b5626ea62385d6b82a1992b89d7940","tags":["Mailing List","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21787.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21787","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00272,"epssPercentile":0.19905,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21787","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21787","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21787","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21787","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}