Article View: linux.kernel.netdev
Article #16075[syzbot] [net?] [usb?] memory leak in ndisc_send_rs (4)
From: syzbot
Date: Fri, 13 Nov 2026 17:51
Date: Fri, 13 Nov 2026 17:51
107 lines
13547 bytes
13547 bytes
Hello,
syzbot found the following issue on:
HEAD commit: 9d66f26fefac Merge tag 'vfs-7.4-rc3.fixes.2' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=136da9ea580000
kernel config: https://syzkaller.appspot.com/x/.config?x=4361b1bb937ae1c4
dashboard link: https://syzkaller.appspot.com/bug?extid=bf62ca9997f43d2fa521
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12e9ba09580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/292d4fa72c6e/disk-9d66f26f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/78e602f24eea/vmlinux-9d66f26f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/802a7b846686/bzImage-9d66f26f.xz
AI-generated root cause summary:
In drivers/net/usb/hso.c, hso_net_start_xmit() takes ownership of an outgoing
packet by stashing it in odev->skb_tx_buf when hso_get_activity() returns
-EAGAIN (e.g. when the USB device is suspended, disconnected, or not
configured). However, neither hso_net_close() nor hso_free_net_device() frees
odev->skb_tx_buf prior to unregistering and freeing the net_device. When a
packet (such as an IPv6 Router Solicitation generated during interface
configuration) is queued during device disconnect or suspend, the sk_buff and
its allocated head buffer are permanently leaked.
full analysis: https://syzkaller.appspot.com/x/ai_root_cause?x=bf62ca9997f43d2fa521
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+bf62ca9997f43d2fa521@syzkaller.appspotmail.com
BUG: memory leak
unreferenced object 0xffff888100e9f200 (size 240):
comm "kworker/u8:2", pid 5708, jiffies 4294993435
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 f2 e9 00 81 88 ff ff ................
00 20 bd 23 81 88 ff ff 80 31 48 02 81 88 ff ff . .#.....1H.....
backtrace (crc 28f53d77):
kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
slab_post_alloc_hook mm/slub.c:4733 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_node_noprof+0x368/0x400 mm/slub.c:5105
__alloc_skb+0xdc/0x4e0 net/core/skbuff.c:705
alloc_skb include/linux/skbuff.h:1390 [inline]
ndisc_alloc_skb+0x46/0xf0 net/ipv6/ndisc.c:421
ndisc_send_rs+0x49/0x2f0 net/ipv6/ndisc.c:708
addrconf_dad_completed+0x1f9/0x6c0 net/ipv6/addrconf.c:4422
addrconf_dad_begin net/ipv6/addrconf.c:4184 [inline]
addrconf_dad_work+0x5c8/0x910 net/ipv6/addrconf.c:4289
process_one_work+0x2b7/0x5c0 kernel/workqueue.c:3495
process_scheduled_works kernel/workqueue.c:3578 [inline]
worker_thread+0x255/0x4a0 kernel/workqueue.c:3659
kthread+0x150/0x1a0 kernel/kthread.c:436
ret_from_fork+0x219/0x490 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
BUG: memory leak
unreferenced object 0xffff888106538b00 (size 704):
comm "kworker/u8:2", pid 5708, jiffies 4294993435
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60 00 00 00 00 08 3a ff fe 80 00 00 00 00 00 00 `.....:.........
backtrace (crc 261f6968):
kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
slab_post_alloc_hook mm/slub.c:4733 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_node_noprof+0x368/0x400 mm/slub.c:5105
kmalloc_reserve+0xd2/0x1b0 net/core/skbuff.c:616
__alloc_skb+0x15d/0x4e0 net/core/skbuff.c:716
alloc_skb include/linux/skbuff.h:1390 [inline]
ndisc_alloc_skb+0x46/0xf0 net/ipv6/ndisc.c:421
ndisc_send_rs+0x49/0x2f0 net/ipv6/ndisc.c:708
addrconf_dad_completed+0x1f9/0x6c0 net/ipv6/addrconf.c:4422
addrconf_dad_begin net/ipv6/addrconf.c:4184 [inline]
addrconf_dad_work+0x5c8/0x910 net/ipv6/addrconf.c:4289
process_one_work+0x2b7/0x5c0 kernel/workqueue.c:3495
process_scheduled_works kernel/workqueue.c:3578 [inline]
worker_thread+0x255/0x4a0 kernel/workqueue.c:3659
kthread+0x150/0x1a0 kernel/kthread.c:436
ret_from_fork+0x219/0x490 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
Technical Details
Message-ID:
<6af74e31.fe96acdb.12252b.0009.GAE@google.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362828-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362828-linux-kernel-netdev=dewy.ru
From: syzbot+bf62ca9997f43d2fa521@syzkaller.appspotmail.com (syzbot)
Newsgroups: linux.kernel.netdev
Subject: [syzbot] [net?] [usb?] memory leak in ndisc_send_rs (4)
Date: Fri, 13 Nov 2026 09:51:45 -0800
Organization: Usenet Network
Message-ID: <6af74e31.fe96acdb.12252b.0009.GAE@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
logging-data="1473095"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dmRE6amDtFxCiOuLFN+ogo+/fps= sha256:tZjQ6imHLlbT8kFMr29UL60/3xAJXnwiwotPu4Kx+LQ=
sha1:sNqzo+zBtaZ6EO7NBrarM89qax0= sha256:3KKCpYknuE4Zw5GzSYj2asowYioKXkzFBRoxKUda4BY=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id DA3301146FD; Sat, 14 Nov 2026 03:11:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: 0.955
X-Spam-Status: No, score=0.955 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, FROM_LOCAL_HEX=0.331,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SORTED_RECIPS=2.474, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id MPS3KumQ74cW;
Sat, 14 Nov 2026 03:11:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-362828-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id DCDDF11468F; Sat, 14 Nov 2026 03:11:31 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 18AD4361C8D; Fri, 13 Nov 2026 17:59:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794592312;
b=hCOaTpu0qNgrPDKL4lgCjfTQz69zlrxKpK+sUxFMB6ekS67CBwwlQWLZcdv74At9+2fM
Jy2ftTaIXr4zV9S1RvvUsNzx5WVKGErs4EgCpHlMHls/ThdNMsZSvJew7Zmc5wo8XMc9p
cytvvkIpXo9Z0STxSV3yqHO1QFPOrb9ax/ABByW6ofST51AbMs7e4eeaNcOWWRX5FjGBF
vD0mjxHEx555790FFoC9FbehL5H8Qd5v5UA7aXcJCSvCDh4h1fKpnR+9/pwjo97+fR/NW
SvH8k7gnADRHjk3vCzxS4Ljdk5XM+vQ5kKO1wYiQQRgt1wjPJQC2DlZki/1IOrg8+6g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794592312;
h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:X-Received:Date:X-Google-Appengine-App-Id:
X-Google-Appengine-App-Id-Alias:Message-ID:Subject:From:To:
Content-Type;
bh=HDX9FP/gCkD0XZlrFX1/lXfJC5c3lZl1P1CF0qtfO9A=;
b=UVhQbkYU2j0vuv0K80m5d+nb2QcjTxlmPxIUFG/gjKtZ4bM3QC28Y9LTpLkP3myGCwuC
uyfxMaqwTsGz3cqXL9chK3yQDRy/F1SsHnU8d1bqB1gB7quAK+up5kiZIk3OFHjygffRH
JR6f4qdRSQnKOW/yy6H4QOcKKO0WjAYbf5CbulnUdRU1BaJql6NK4GMg6vGVAkFjmDvzF
8zuluXF4LEGKi9a8zbexUzRY2MJppJ63qvAJWV1ulOtmA1LHzf2DxRohqfV3QX0v6De4a
fux+/J75ZYuSj6gpTk9oDS6aiZ3ErT0hqtMlZvTmJaVJccpGDvaxFCWDYg/pA67PI4w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=fail header.from=syzkaller.appspotmail.com;
spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 39999606D4BE;
Fri, 13 Nov 2026 17:51:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.72
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794592306;
b=AJp9JHI8Px8ORYwJrd5pDuED/wp2+rpeF/JWyQJ0gRkFysVlmzsnmLLS3PkQ2QSbUQwQ
sk05GzNseYaOts87S4/O+PJVOedCRm7jUf7L077qlHMPqh5xacQ0YhvYvYpYJ/7+LU67U
V0+kT0ZKSgOQZVeg0JUBWF4Y6N0In9AIlrXDg1F+4FgQ3M86fWmrnqmKNWOmQvqpD+YLE
GQbrgF7esBUlSp8XvmeOP7QIj4O7BkAupbEfAUYNF4REz/Q6UwZaOu1vzIAaT8hNN94DJ
FLkgQ0/YGRmQIp95iTmNhqi2ofCXQked+Y1rJb6hLWty5hBlKNAFrIB6caJTO8gNsUg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794592306;
h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:MIME-Version:X-Received:Date:
X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID:
Subject:From:To:Content-Type;
bh=HDX9FP/gCkD0XZlrFX1/lXfJC5c3lZl1P1CF0qtfO9A=;
b=5IFFvtOESuldB+GUwtaeL+1qg6PSE5Su/R2nb5+lG9TPzCVIRwNb1T2aIujSyM11OOzx
1eedT+9yPm2Q064ZRB22GsBYIUxblqALiozqKmhm+7oe8GfAIJPoFyg5IJgpjpUK3ov7b
C7NHMx4RRUwOU6yFUl9FN7MLlMNpU2ilU0wWgZv4RMQWNaRq43PFVCUlC13Xtoon8+hZ4
kVo47cjbxRxP8kCKOJctCIASOiTE3CJr0xN1g6BtUQBsp0EZ3lE7HGvE5qW5tqF7a3sru
z4UAP5airH29PMbHylCTjKqBnfC9lTON9QEk5Di69MXMAmgTQCUEPcCdBX+bSZBZe3A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=fail header.from=syzkaller.appspotmail.com;
spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
arc=none smtp.remote-ip=209.85.210.72
X-Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AD05606D840
for <netdev@vger.kernel.org>; Fri, 13 Nov 2026 17:51:46 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3AD05606D840
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com
X-Received: by mail-ot1-f72.google.com with SMTP id 46e09a7af769-81b20bea169so736299a34.1
for <netdev@vger.kernel.org>; Fri, 13 Nov 2026 09:51:46 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794592305; x=1795197105;
h=content-type:to:from:subject:message-id:date:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=HDX9FP/gCkD0XZlrFX1/lXfJC5c3lZl1P1CF0qtfO9A=;
b=PWJmZfvRevGBU7FOjsInR9S+wEQB3UcYaw2mhamgyPbUJYQYJtoWuXkqTcmph2bL6Y
6ISjg9scJjT7xhTtUXHpGhyPRlHuCi1snSw3CVHOR7cTIjTAYE5hp/u2L3nMIu5obQrc
HeuxOL0AyBL1cijIHTQLdglznkIe2usPJudWF6WYdhzipegdoyFz+hCGtqsm50CHf1dD
Y28PuRnN5Wkj5Ekt/6I9k4hS80Fe0sfy4rQoGI/t4e8pXdbHGVH4jKKdAY12DJhAeDIO
B8jvBTa8dm512IaXBX3qz6+AuRoVjpOhYZUOPWefEt6mm1YWiqTeHAc2pab0gwDQjKcJ
3Hhg==
X-Forwarded-Encrypted: i=1; AL+hErEoFYIPA7o4gAjhCPk/7hK5rjON0pvid25s/AeI7jb87q0zq3wy/IPrZHC7zoNBWo19xtRbAtg=@vger.kernel.org
X-Gm-Message-State: APuU4Z8NfXoX3y4psIOuYjGQELZLdHtvwQhagHwzVFnxHQnU+3qM8f6Q
fQfAbQ5zVB019TkS9V5y18Xh1DLG87/9mIjdo71CFvitq9cud5okkxpdExuZpdRvuGgYpKO50JO
BA3NlgGWIGcCSGymlWPUkdjd7O8IeR3gWw4v2l7KDuv7uB5B3JXLs2TYYtDM=
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Received: by 2002:a05:6808:238a:b0:4f1:6ab6:8fc0 with SMTP id
5614622812f47-56e642d0ae8mr2617802b6e.15.1794592305279; Fri, 13 Nov 2026
09:51:45 -0800 (PST)
X-Google-Appengine-App-Id: s~syzkaller
X-Google-Appengine-App-Id-Alias: syzkaller