All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+e1d2b89a60c8bb9a7f33@syzkaller.appspotmail.com>
To: davem@davemloft.net, edumazet@google.com, horms@kernel.org,
	 kuba@kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org,  pabeni@redhat.com,
	syzkaller-bugs@googlegroups.com
Subject: [syzbot] [net?] KASAN: null-ptr-deref Write in send_to_lecd
Date: Mon, 09 Mar 2026 05:13:42 -0700	[thread overview]
Message-ID: <69aeb976.a70a0220.52840.0015.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    014441d1e4b2 Merge tag 'i2c-for-7.0-rc3' of git://git.kern..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11230d52580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=976ba5a93c4add9e
dashboard link: https://syzkaller.appspot.com/bug?extid=e1d2b89a60c8bb9a7f33
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c6996386f74c/disk-014441d1.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/50d7e742ec37/vmlinux-014441d1.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8b042e15289c/bzImage-014441d1.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e1d2b89a60c8bb9a7f33@syzkaller.appspotmail.com

==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:112 [inline]
BUG: KASAN: null-ptr-deref in atomic_add include/linux/atomic/atomic-instrumented.h:104 [inline]
BUG: KASAN: null-ptr-deref in atm_force_charge include/linux/atmdev.h:261 [inline]
BUG: KASAN: null-ptr-deref in send_to_lecd+0x2ef/0x5e0 net/atm/lec.c:535
Write of size 4 at addr 0000000000000140 by task dhcpcd/28797

CPU: 1 UID: 101 PID: 28797 Comm: dhcpcd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 check_region_inline mm/kasan/generic.c:186 [inline]
 kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
 instrument_atomic_read_write include/linux/instrumented.h:112 [inline]
 atomic_add include/linux/atomic/atomic-instrumented.h:104 [inline]
 atm_force_charge include/linux/atmdev.h:261 [inline]
 send_to_lecd+0x2ef/0x5e0 net/atm/lec.c:535
 lec_arp_resolve net/atm/lec.c:1791 [inline]
 lec_start_xmit+0x1252/0x2070 net/atm/lec.c:285
 __netdev_start_xmit include/linux/netdevice.h:5292 [inline]
 netdev_start_xmit include/linux/netdevice.h:5301 [inline]
 xmit_one net/core/dev.c:3871 [inline]
 dev_hard_start_xmit+0x121/0x7d0 net/core/dev.c:3887
 sch_direct_xmit+0x1b2/0xc60 net/sched/sch_generic.c:347
 qdisc_restart net/sched/sch_generic.c:412 [inline]
 __qdisc_run+0x52d/0x1b10 net/sched/sch_generic.c:420
 qdisc_run include/net/pkt_sched.h:120 [inline]
 qdisc_run include/net/pkt_sched.h:117 [inline]
 __dev_xmit_skb net/core/dev.c:4196 [inline]
 __dev_queue_xmit+0x196d/0x4800 net/core/dev.c:4802
 dev_queue_xmit include/linux/netdevice.h:3384 [inline]
 packet_xmit+0x243/0x310 net/packet/af_packet.c:275
 packet_snd net/packet/af_packet.c:3076 [inline]
 packet_sendmsg+0x32f4/0x53c0 net/packet/af_packet.c:3108
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg net/socket.c:742 [inline]
 sock_write_iter+0x524/0x5a0 net/socket.c:1195
 do_iter_readv_writev+0x6ee/0x920 fs/read_write.c:829
 vfs_writev+0x360/0xe10 fs/read_write.c:1059
 do_writev+0x28a/0x340 fs/read_write.c:1105
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f53f6e3c407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007fff9cf80170 EFLAGS: 00000202 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f53f6db2780 RCX: 00007f53f6e3c407
RDX: 0000000000000002 RSI: 00007fff9cf801d0 RDI: 0000000000000003
RBP: 0000000000000188 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff9cf80210
R13: 0000562512791790 R14: 00007fff9cf80260 R15: 00007fff9cf90430
 </TASK>
==================================================================


---
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

             reply	other threads:[~2026-03-09 12:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09 12:13 syzbot [this message]
     [not found] <aeT90iYRUqJgbOTO@JMW-Ubuntu>
2026-04-19 16:07 ` [syzbot] [net?] KASAN: null-ptr-deref Write in send_to_lecd syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69aeb976.a70a0220.52840.0015.GAE@google.com \
    --to=syzbot+e1d2b89a60c8bb9a7f33@syzkaller.appspotmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.