{"id":"CVE-2025-68787","title":"netrom: Fix memory leak in nr_sendmsg()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetrom: Fix memory leak in nr_sendmsg()\n\nsyzbot reported a memory leak [1].\n\nWhen function sock_alloc_send_skb() return NULL in nr_output(), the\noriginal skb is not fre…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f77e538ac4e3adb1882d5bccb7bfdc111b5963d3","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 09efbf54eeaecebe882af603c9939a4b1bb9567e","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 73839497bbde5cd4fd02bbd9c8bc2640780ae65d","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 156a0f6341dce634a825db49ca20b48b1ae9bcc1","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8d1ccba4b171cd504ecfa47349cb9864fc9d687c","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 51f5fbc1681bdcffcc7d18bf3dfdb2b1278d3977","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 613d12dd794e078be8ff3cf6b62a6b9acf7f4619","Linux 2.6.12"],"published":"2026-01-13","updated":"2026-09-08","sourceUpdated":"2026-09-08T08:43:28.878Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-68787","references":[{"url":"https://git.kernel.org/stable/c/f77e538ac4e3adb1882d5bccb7bfdc111b5963d3"},{"url":"https://git.kernel.org/stable/c/09efbf54eeaecebe882af603c9939a4b1bb9567e"},{"url":"https://git.kernel.org/stable/c/73839497bbde5cd4fd02bbd9c8bc2640780ae65d"},{"url":"https://git.kernel.org/stable/c/156a0f6341dce634a825db49ca20b48b1ae9bcc1"},{"url":"https://git.kernel.org/stable/c/8d1ccba4b171cd504ecfa47349cb9864fc9d687c"},{"url":"https://git.kernel.org/stable/c/51f5fbc1681bdcffcc7d18bf3dfdb2b1278d3977"},{"url":"https://git.kernel.org/stable/c/613d12dd794e078be8ff3cf6b62a6b9acf7f4619"}],"tags":["cve.org"],"epss":0.00207,"epssPercentile":0.11099,"ingestedAt":"2026-09-08T15:33:26.995Z","slug":"CVE-2025-68787","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnetrom: Fix memory leak in nr_sendmsg()\n\nsyzbot reported a memory leak [1].\n\nWhen function sock_alloc_send_skb() return NULL in nr_output(), the\noriginal skb is not freed, which was allocated in nr_sendmsg(). Fix this\nby freeing it before return.\n\n[1]\nBUG: memory leak\nunreferenced object 0xffff888129f35500 (size 240):\n  comm \"syz.0.17\", pid 6119, jiffies 4294944652\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 10 52 28 81 88 ff ff  ..........R(....\n  backtrace (crc 1456a3e4):\n    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]\n    slab_post_alloc_hook mm/slub.c:4983 [inline]\n    slab_alloc_node mm/slub.c:5288 [inline]\n    kmem_cache_alloc_node_noprof+0x36f/0x5e0 mm/slub.c:5340\n    __alloc_skb+0x203/0x240 net/core/skbuff.c:660\n    alloc_skb include/linux/skbuff.h:1383 [inline]\n    alloc_skb_with_frags+0x69/0x3f0 net/core/skbuff.c:6671\n    sock_alloc_send_pskb+0x379/0x3e0 net/core/sock.c:2965\n    sock_alloc_send_skb include/net/sock.h:1859 [inline]\n    nr_sendmsg+0x287/0x450 net/netrom/af_netrom.c:1105\n    sock_sendmsg_nosec net/socket.c:727 [inline]\n    __sock_sendmsg net/socket.c:742 [inline]\n    sock_write_iter+0x293/0x2a0 net/socket.c:1195\n    new_sync_write fs/read_write.c:593 [inline]\n    vfs_write+0x45d/0x710 fs/read_write.c:686\n    ksys_write+0x143/0x170 fs/read_write.c:738\n    do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]\n    do_syscall_64+0xa4/0xfa0 arch/x86/entry/syscall_64.c:94\n    entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n## Affected\n\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f77e538ac4e3adb1882d5bccb7bfdc111b5963d3`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 09efbf54eeaecebe882af603c9939a4b1bb9567e`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 73839497bbde5cd4fd02bbd9c8bc2640780ae65d`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 156a0f6341dce634a825db49ca20b48b1ae9bcc1`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8d1ccba4b171cd504ecfa47349cb9864fc9d687c`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 51f5fbc1681bdcffcc7d18bf3dfdb2b1278d3977`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 613d12dd794e078be8ff3cf6b62a6b9acf7f4619`\n- `Linux 2.6.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}