CVE-2025-68787
NoneCVSS
—
EPSS
0.2%
Published
Jan 13, 2026
CISA due date
—
Cloudanix analysis
A bug in Linux kernel networking code can slowly waste memory on systems using an older radio-style network protocol, which may eventually affect stability.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Failure to free an skb allocated in nr_sendmsg() when sock_alloc_send_skb() returns NULL inside nr_output(), causing a memory leak in the NET/ROM protocol implementation.
Why it matters to the business
Gradual memory exhaustion on Linux systems that use the NET/ROM amateur radio protocol stack, potentially leading to degraded performance or denial of service under sustained load; low urgency given minimal exploitability and low EPSS.
How an attack unfolds
An attacker triggers the error path in nr_sendmsg() by inducing memory pressure that causes sock_alloc_send_skb() to fail, leaving the previously allocated skb unfreed and accumulating leaked objects over repeated invocations.
How to fix it
Apply the upstream fix in commit f77e538ac4e3adb1882d5bccb7bfdc111b5963d3 or upgrade to a Linux kernel version containing this commit; disable NET/ROM (CONFIG_NETROM) if the protocol is unused.
How to confirm the fix worked
Verify the presence of commit f77e538ac4e3adb1882d5bccb7bfdc111b5963d3 in the kernel source; run kmemleak or memory usage monitoring under synthetic load that exercises nr_sendmsg() to confirm absence of leaks.
Typical attack path
- Establish a NET/ROM socket and begin sending messages
- Induce system memory pressure to force sock_alloc_send_skb() failure
- Repeat send operations to trigger repeated leaks without freeing the original skb
- Observe cumulative memory consumption until system impact occurs
How to detect it
Enable kernel kmemleak and search for unreferenced skb objects with backtraces containing nr_sendmsg and sock_alloc_send_skb; monitor overall memory usage trends correlated with NET/ROM socket activity.
What your security team should do
- Patch affected Linux kernels to the fixed commit at the earliest maintenance window
- Audit systems for NET/ROM usage and disable the module where unnecessary
- Monitor EPSS trend and re-evaluate if exploit maturity increases
The record
In the Linux kernel, the following vulnerability has been resolved: netrom: Fix memory leak in nr_sendmsg() syzbot reported a memory leak [1]. When function sock_alloc_send_skb() return NULL in nr_output(), the original skb is not freed, which was allocated in nr_sendmsg(). Fix this by freeing it before return. [1] BUG: memory leak unreferenced object 0xffff888129f35500 (size 240): comm "syz.0.17", pid 6119, jiffies 4294944652 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 10 52 28 81 88 ff ff ..........R(.... backtrace (crc 1456a3e4): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4983 [inline] slab_alloc_node mm/slub.c:5288 [inline] kmem_cache_alloc_node_noprof+0x36f/0x5e0 mm/slub.c:5340 __alloc_skb+0x203/0x240 net/core/skbuff.c:660 alloc_skb include/linux/skbuff.h:1383 [inline] alloc_skb_with_frags+0x69/0x3f0 net/core/skbuff.c:6671 sock_alloc_send_pskb+0x379/0x3e0 net/core/sock.c:2965 sock_alloc_send_skb include/net/sock.h:1859 [inline] nr_sendmsg+0x287/0x450 net/netrom/af_netrom.c:1105 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] sock_write_iter+0x293/0x2a0 net/socket.c:1195 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x45d/0x710 fs/read_write.c:686 ksys_write+0x143/0x170 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 2.6.12 | 5.10.248 |
| Mageia:9 | kernel | 0 | 6.6.120-1.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.6.120-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.1.14-14.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-88.mga9 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel