KASAN: slab-use-after-free Read in rtnl_fill_ifinfo

Status: closed as invalid on 2026/10/06 20:31
Subsystems: net
Labels: prio:high
[Documentation on labels]
First crash: 68d, last: 43d
▶ ▼ ✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
2ba9c594 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ KASAN: slab-use-after-free Read in rtnl_fill_ifinfo 2026/08/04 00:23 2026/08/04 00:23 2026/08/04 01:22 cb1adeae
69b0fc63 assessment-security 💥 KASAN: slab-use-after-free Read in rtnl_fill_ifinfo 2026/08/02 00:52 2026/08/02 00:52 2026/08/02 01:41 e611ffe1
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 KASAN: slab-use-after-free Read in rtnl_fill_ifinfo 19 4 50d 66d 0/2 upstream: reported on 2026/08/02 13:05
linux-6.1 KASAN: use-after-free Read in rtnl_fill_ifinfo 19 3 50d 57d 0/3 upstream: reported on 2026/08/11 03:45
upstream general protection fault in rtnl_fill_ifinfo net 2 2 642d 657d 0/29 closed as invalid on 2025/02/03 10:48
▶ ▼ Last patch testing requests (3)
Created Duration User Patch Repo Result
2026/10/06 01:52 5h56m kuniyu@google.com git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report job log log
2026/09/11 15:24 24m edumazet@google.com git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report job log log
2026/09/10 06:01 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report job log log

Sample crash report:
bond0 (unregistering): Released all slaves
hsr_slave_0: left promiscuous mode
hsr_slave_1: left promiscuous mode
Unable to handle kernel paging request at virtual address dfff800000000002
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0
[dfff800000000002] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1]  SMP
Modules linked in:
CPU: 1 UID: 0 PID: 4013 Comm: kworker/u8:6 Not tainted syzkaller #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026
Workqueue: netns cleanup_net
pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
pc : strlen+0x28/0x84 lib/string.c:402
lr : __fortify_strlen include/linux/fortify-string.h:218 [inline]
lr : nla_put_string+0x2c/0x54 include/net/netlink.h:1657
sp : ffff80009a867080
x29: ffff80009a8670a0 x28: 1fffe0001e6f1c68 x27: 0000000000000000
x26: 0000000000000000 x25: ffff0000c928c018 x24: ffff80009a867140
x23: ffff0000c928c000 x22: dfff800000000000 x21: ffff0000c591f140
x20: 0000000000000006 x19: 0000000000000010 x18: 1fffe00034bbbe28
x17: 0000000000000003 x16: ffff800088b37000 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000000
x11: 0000000000000002 x10: dfff800000000000 x9 : 0000000000000000
x8 : 0000000000000010 x7 : 0000000000000000 x6 : 000000000000002e
x5 : ffff0000d5df6284 x4 : ffff80009a867064 x3 : ffff800084cd9ac0
x2 : 0000000000000010 x1 : ffff0000cfda9d40 x0 : 0000000000000010
Call trace:
 strlen+0x28/0x84 lib/string.c:402 (P)
 __fortify_strlen include/linux/fortify-string.h:218 [inline]
 nla_put_string+0x2c/0x54 include/net/netlink.h:1657
 rtnl_fill_ifinfo+0x1f44/0x2150 net/core/rtnetlink.c:2204
 rtmsg_ifinfo_build_skb+0x170/0x25c net/core/rtnetlink.c:4533
 rtmsg_ifinfo_event+0xb0/0x114 net/core/rtnetlink.c:4566
 rtmsg_ifinfo+0x60/0x7c net/core/rtnetlink.c:4575
 __dev_notify_flags+0xe8/0x27c net/core/dev.c:9799
 __dev_set_promiscuity+0x20c/0x5f8 net/core/dev.c:9642
 netif_set_promiscuity+0x60/0xf4 net/core/dev.c:9651
 dev_set_promiscuity+0x104/0x1fc net/core/dev_api.c:288
 hsr_del_port+0x1d4/0x3b4 net/hsr/hsr_slave.c:244
 hsr_del_ports+0x60/0xc8 net/hsr/hsr_device.c:475
 hsr_dellink+0x4c/0x80 net/hsr/hsr_netlink.c:147
 default_device_exit_batch+0x4ec/0x604 net/core/dev.c:13100
 ops_exit_list net/core/net_namespace.c:205 [inline]
 ops_undo_list+0x434/0x81c net/core/net_namespace.c:252
 cleanup_net+0x474/0x6c4 net/core/net_namespace.c:702
 process_one_work kernel/workqueue.c:3322 [inline]
 process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405
 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:838
Code: aa0003e8 f2fbffea d343fd0b 1200090c (38ea696b) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	aa0003e8 	mov	x8, x0
   4:	f2fbffea 	movk	x10, #0xdfff, lsl #48
   8:	d343fd0b 	lsr	x11, x8, #3
   c:	1200090c 	and	w12, w8, #0x7
* 10:	38ea696b 	ldrsb	w11, [x11, x10] <-- trapping instruction

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/25 16:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 68f892e99df9 614e416a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in rtnl_fill_ifinfo
2026/07/31 15:11 upstream 8ba098e6b6ff 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root KASAN: slab-use-after-free Read in rtnl_fill_ifinfo
2026/08/21 17:50 linux-next 903c1cf6dff9 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root KASAN: slab-use-after-free Read in rtnl_fill_ifinfo
2026/08/05 06:19 upstream 562bfb501c54 52aa2820 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in rtnl_fill_ifinfo
* Struck through repros no longer work on HEAD.